]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
mpc85xx/kmp204x: raise u-boot size to 768KB
authorValentin Longchamp <valentin.longchamp@keymile.com>
Fri, 24 Oct 2014 08:11:16 +0000 (10:11 +0200)
committerYork Sun <yorksun@freescale.com>
Fri, 14 Nov 2014 19:12:01 +0000 (11:12 -0800)
Until now this defined to be 512KB and the total binary size actually
was on the edge of this limit. Most of the powerpc boards have thus
moved to 768KB.

Since on the current kmp204x boards there is 1MB reserved for u-boot on
the SPI boot flash, there is no problem to set the limit to 768KB as
well to be on line with the other powerpc boards and to eventually
configure in some additional features (and binary size) to u-boot.

Signed-off-by: Valentin Longchamp <valentin.longchamp@keymile.com>
Reviewed-by: York Sun <yorksun@freescale.com>
include/configs/km/kmp204x-common.h

index a0f9d293caa733c44e9082d058a73ebb01edebc7..c5c9dfcd8ab0190282978efbc68bbae0b91f99d7 100644 (file)
@@ -11,7 +11,7 @@
 #define CONFIG_PHYS_64BIT
 #define CONFIG_PPC_P2041
 
-#define CONFIG_SYS_TEXT_BASE   0xfff80000
+#define CONFIG_SYS_TEXT_BASE   0xfff40000
 
 #define CONFIG_KM_DEF_NETDEV   "netdev=eth0\0"
 
@@ -235,7 +235,7 @@ unsigned long get_board_sys_clk(unsigned long dummy);
 #define CONFIG_SYS_INIT_SP_OFFSET      CONFIG_SYS_GBL_DATA_OFFSET
 
 #define CONFIG_SYS_MONITOR_BASE                CONFIG_SYS_TEXT_BASE
-#define CONFIG_SYS_MONITOR_LEN         (512 * 1024)
+#define CONFIG_SYS_MONITOR_LEN         (768 * 1024)
 #define CONFIG_SYS_MALLOC_LEN          (1024 * 1024)
 
 /* Serial Port - controlled on board with jumper J8