aboutsummaryrefslogtreecommitdiff
path: root/cmd/prbs.c
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/prbs.c')
-rw-r--r--cmd/prbs.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/cmd/prbs.c b/cmd/prbs.c
index 2bbb68cf..59471169 100644
--- a/cmd/prbs.c
+++ b/cmd/prbs.c
@@ -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++) {