xtensa:cache: fix typo error

use addr instead of add
This commit is contained in:
zhuyanlin
2021-09-08 11:19:02 +02:00
committed by Abdelatif Guettouche
parent 014d6d026c
commit 26b4bb3075
+1 -1
View File
@@ -463,7 +463,7 @@ void up_coherent_dcache(uintptr_t addr, size_t len)
if (len > 0)
{
up_clean_dcache(addr, addr + len);
up_invalidate_icache(addr, add + len);
up_invalidate_icache(addr, addr + len);
}
}
#endif