vexpress_aemv8a.h: Clean up the config
authorTom Rini <trini@ti.com>
Thu, 14 Aug 2014 10:42:37 +0000 (06:42 -0400)
committerTom Rini <trini@ti.com>
Sat, 30 Aug 2014 11:46:41 +0000 (07:46 -0400)
- Drop DEBUG
- Drop defines we can use the default of.
- Provide a larger malloc pool.
- Correct default locations for kernel / initrd / device tree

Signed-off-by: Tom Rini <trini@ti.com>
include/configs/vexpress_aemv8a.h

index 1905d133e23550a1dcf404a5d1c27a1b6c59535b..6f31fcf919fb976c3a95396df602989e877b34bb 100644 (file)
@@ -8,8 +8,6 @@
 #ifndef __VEXPRESS_AEMV8A_H
 #define __VEXPRESS_AEMV8A_H
 
-#define DEBUG
-
 #ifdef CONFIG_BASE_FVP
 #ifndef CONFIG_SEMIHOSTING
 #error CONFIG_BASE_FVP requires CONFIG_SEMIHOSTING
 #define CONFIG_SYS_MEMTEST_END         (V2M_BASE + 0x80000000)
 
 /* Size of malloc() pool */
-#define CONFIG_SYS_MALLOC_LEN          (CONFIG_ENV_SIZE + 128 * 1024)
+#define CONFIG_SYS_MALLOC_LEN          (CONFIG_ENV_SIZE + (8 << 20))
 
 /* SMSC91C111 Ethernet Configuration */
 #define CONFIG_SMC91111                        1
 #else
 
 #define CONFIG_EXTRA_ENV_SETTINGS      \
-                                       "kernel_addr_r=0x200000\0"      \
-                                       "initrd_addr_r=0xa00000\0"      \
-                                       "initrd_size=0x2000000\0"       \
-                                       "fdt_addr_r=0x100000\0"         \
+                                       "kernel_addr_r=0x80000000\0"    \
+                                       "initrd_addr_r=0x88000000\0"    \
+                                       "fdt_addr_r=0x83000000\0"               \
                                        "fdt_high=0xa0000000\0"
 
 #define CONFIG_BOOTARGS                        "console=ttyAMA0 root=/dev/ram0"
 #define CONFIG_SYS_HUSH_PARSER
 #define CONFIG_SYS_BARGSIZE            CONFIG_SYS_CBSIZE
 #define CONFIG_SYS_LONGHELP
-#define CONFIG_CMDLINE_EDITING         1
+#define CONFIG_CMDLINE_EDITING
 #define CONFIG_SYS_MAXARGS             64      /* max command args */
 
 #endif /* __VEXPRESS_AEMV8A_H */