]> git.ipfire.org Git - people/ms/u-boot.git/commitdiff
powerpc: mpc8568mds: Update board config
authorYork Sun <york.sun@nxp.com>
Fri, 9 Jun 2017 19:50:26 +0000 (12:50 -0700)
committerYork Sun <york.sun@nxp.com>
Mon, 12 Jun 2017 19:18:37 +0000 (12:18 -0700)
Enable DHCP command by default. Move environmental variable location
to before U-Boot image. Enlarge reserved mem for malloc. Update
maintainer.

Signed-off-by: York Sun <york.sun@nxp.com>
board/freescale/mpc8568mds/MAINTAINERS
configs/MPC8568MDS_defconfig
include/configs/MPC8568MDS.h

index 379d8cc1d5f3cae28d8507105689caeb926c0379..56c5373c0734620cbdbc983dabf74903d1cc7cb7 100644 (file)
@@ -1,5 +1,5 @@
 MPC8568MDS BOARD
-#M:    -
+M:     York Sun <york.sun@nxp.com>
 S:     Maintained
 F:     board/freescale/mpc8568mds/
 F:     include/configs/MPC8568MDS.h
index c41712f490adb5a5f952e8552d68d88393e1cdb3..904568df849c9aa22b946438f825ec487e1c86e8 100644 (file)
@@ -7,6 +7,7 @@ CONFIG_OF_STDOUT_VIA_ALIAS=y
 CONFIG_BOOTDELAY=10
 CONFIG_BOARD_EARLY_INIT_F=y
 CONFIG_HUSH_PARSER=y
+CONFIG_CMD_DHCP=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_MII=y
 CONFIG_CMD_PING=y
index 618d5377fcd3da41ff1b1b23f0766ef3d454954a..3734055bd3cc4c3099aa3750cb039f72367e286a 100644 (file)
@@ -206,7 +206,7 @@ extern unsigned long get_clock_freq(void);
 #define CONFIG_SYS_INIT_SP_OFFSET      CONFIG_SYS_GBL_DATA_OFFSET
 
 #define CONFIG_SYS_MONITOR_LEN         (256 * 1024) /* Reserve 256 kB for Mon */
-#define CONFIG_SYS_MALLOC_LEN          (128 * 1024)    /* Reserved for malloc */
+#define CONFIG_SYS_MALLOC_LEN          (512 * 1024)    /* Reserved for malloc */
 
 /* Serial Port */
 #define CONFIG_CONS_INDEX              1
@@ -337,9 +337,9 @@ extern unsigned long get_clock_freq(void);
  * Environment
  */
 #define CONFIG_ENV_IS_IN_FLASH 1
-#define CONFIG_ENV_ADDR                (CONFIG_SYS_MONITOR_BASE + 0x40000)
-#define CONFIG_ENV_SECT_SIZE   0x40000 /* 256K(one sector) for env */
+#define CONFIG_ENV_SECT_SIZE   0x20000 /* 128K(one sector) for env */
 #define CONFIG_ENV_SIZE                0x2000
+#define CONFIG_ENV_ADDR                (CONFIG_SYS_MONITOR_BASE - CONFIG_ENV_SECT_SIZE)
 
 #define CONFIG_LOADS_ECHO      1       /* echo on for serial download */
 #define CONFIG_SYS_LOADS_BAUD_CHANGE   1       /* allow baudrate change */