Lines Matching +full:data +full:- +full:lines
5 * SPDX-License-Identifier: GPL-2.0+
13 * o The recommended test sequence is to test the data lines: if they are
15 * lines. Finally, test the cells in the memory now that the test
16 * program knows that the address and data lines work properly.
21 * walk through a field of zeros on the address lines and the highest
27 * write will charge the residual capacitance on the data bus so the
44 * Data line test:
45 * ---------------
46 * This tests data lines for shorts and opens by forcing adjacent data
47 * to opposite states. Because the data lines could be routed in an
71 * written to a different address in case the data lines are floating.
78 * ------------------
79 * This function performs a test to verify that all the address lines
86 * To test all address lines, we start with the given base address and
96 * 0000 <- base
97 * 0001 <- test 1
98 * 0010 <- test 2
99 * 0100 <- test 3
100 * 1000 <- test 4
102 * 0010 <- base
103 * 0011 <- test 1
104 * 0000 <- (below the base address, skipped)
105 * 0110 <- test 2
106 * 1010 <- test 3
113 * Memory tests 1-4:
114 * -----------------
125 * 2) bit-flip pattern ((1 << (offset % 32))
131 * RAM the following areas are verified: 0x00000000-0x00000800,
132 * 0x000ff800-0x00100800, 0x001ff800-0x00200800, ..., 0x03fff800-
133 * 0x04000000. If the test is run in slow-test mode, it verifies
152 #warning "Injecting data line errors for testing purposes"
161 * This function performs a double word move from the data at
164 * wide data bus.
181 * The "otherpattern" is written to drive the data bus to values other
182 * than the test pattern. This is for detecting floating bus lines.
213 * Put a different pattern on the data lines: otherwise they in memory_post_dataline()
216 move64(&otherpattern, pmem--); in memory_post_dataline()
230 post_log("Memory (data line) error at %08x, " in memory_post_dataline()
233 ret = -1; in memory_post_dataline()
261 post_log("Memory (address line) error at %08x<->%08x, " in memory_post_addrline()
264 ret = -1; in memory_post_addrline()
293 ret = -1; in memory_post_test1()
323 ret = -1; in memory_post_test2()
353 ret = -1; in memory_post_test3()
383 ret = -1; in memory_post_test4()
404 ret = memory_post_addrline((ulong *)(start+size-8), in memory_post_test_lines()
473 bd_t *bd = gd->bd; in arch_memory_test_prepare()
476 *size = (gd->ram_size >= 256 << 20 ? in arch_memory_test_prepare()
477 256 << 20 : gd->ram_size) - (1 << 20); in arch_memory_test_prepare()
481 *size = (ulong)bd - *vstart; in arch_memory_test_prepare()