Due to a bug addresses above 4Gb limit can be used for 32bit DMA.
Add missed definition of CFG_MAX_MEM_MAPPED to fix an issue.

Signed-off-by: Mikhail Kshevetskiy <[email protected]>
---
 include/configs/an7583.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/include/configs/an7583.h b/include/configs/an7583.h
index c865afea1a2..d610d3235b5 100644
--- a/include/configs/an7583.h
+++ b/include/configs/an7583.h
@@ -15,5 +15,6 @@
 
 /* DRAM */
 #define CFG_SYS_SDRAM_BASE             0x80000000
+#define CFG_MAX_MEM_MAPPED             SZ_2G
 
 #endif
-- 
2.53.0

Reply via email to