diff options
Diffstat (limited to 'cmd')
-rw-r--r-- | cmd/ddrscan.c | 1 | ||||
-rw-r--r-- | cmd/prbs.c | 3 |
2 files changed, 1 insertions, 3 deletions
diff --git a/cmd/ddrscan.c b/cmd/ddrscan.c index 0f2b78c6..c550e03d 100644 --- a/cmd/ddrscan.c +++ b/cmd/ddrscan.c @@ -73,7 +73,6 @@ extern ulong mem_test_quick(vu_long *buf, ulong start_addr, ulong end_addr, #endif extern void flush_dcache_range(unsigned long start, unsigned long end); extern void invalidate_dcache_range(unsigned long start, unsigned long end); -extern void invalid_dcache_range(unsigned long start, unsigned long end); #ifdef CONFIG_CMD_MEMTEST int test_stuck_address(ulv *bufa, ulong count); @@ -50,7 +50,6 @@ u64 t_end; extern void flush_dcache_range(unsigned long start, unsigned long end); extern void invalidate_dcache_range(unsigned long start, unsigned long end); -extern void invalid_dcache_range(unsigned long start, unsigned long end); extern unsigned long get_ddr_density(void); extern int riscv_get_time(u64 *time); @@ -305,7 +304,7 @@ int prbs_test(struct PRBS_ELE *prbs, unsigned int *buf, int pos, bool random_dq, // compare result // invalid cache before read mdelay(100); - invalid_dcache_range((ulong)buf, (ulong)buf+(bit_len*4*2*2)); + invalidate_dcache_range((ulong)buf, (ulong)buf+(bit_len*4*2*2)); p1 = buf; bit_cnt = 0; for (i = 0; i < bit_len; i++) { |