diff mbox

[U-Boot] mpc85xx/kmp204x: raise u-boot size to 768KB

Message ID 1414138276-5418-1-git-send-email-valentin.longchamp@keymile.com
State Accepted
Delegated to: York Sun
Headers show

Commit Message

Valentin Longchamp Oct. 24, 2014, 8:11 a.m. UTC
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>
---

 include/configs/km/kmp204x-common.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Comments

York Sun Nov. 14, 2014, 9:22 p.m. UTC | #1
On 10/24/2014 01:11 AM, Valentin Longchamp wrote:
> 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>
> ---

Applied to u-boot-mpc85xx master. Thanks.

York
diff mbox

Patch

diff --git a/include/configs/km/kmp204x-common.h b/include/configs/km/kmp204x-common.h
index a0f9d29..c5c9dfc 100644
--- a/include/configs/km/kmp204x-common.h
+++ b/include/configs/km/kmp204x-common.h
@@ -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