Signed-off-by: Hans de Goede <[email protected]>
---
 include/configs/sunxi-common.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/configs/sunxi-common.h b/include/configs/sunxi-common.h
index 212b621..09edc71 100644
--- a/include/configs/sunxi-common.h
+++ b/include/configs/sunxi-common.h
@@ -57,7 +57,7 @@
 /* A10 has 1 banks of DRAM, we use only bank 1 in U-Boot */
 #define CONFIG_NR_DRAM_BANKS           1
 #define PHYS_SDRAM_0                   CONFIG_SYS_SDRAM_BASE
-#ifdef CONFIG_SUN7I
+#if defined(CONFIG_SUN6I) || defined(CONFIG_SUN7I)
 #define PHYS_SDRAM_0_SIZE              0x80000000 /* 2 GiB */
 #else
 #define PHYS_SDRAM_0_SIZE              0x40000000 /* 1 GiB */
-- 
1.9.0

-- 
You received this message because you are subscribed to the Google Groups 
"linux-sunxi" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to