public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH] mpc85xx/kmp204x: raise u-boot size to 768KB
@ 2014-10-24  8:11 Valentin Longchamp
  2014-11-14 21:22 ` York Sun
  0 siblings, 1 reply; 2+ messages in thread
From: Valentin Longchamp @ 2014-10-24  8:11 UTC (permalink / raw)
  To: u-boot

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(-)

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
-- 
1.8.0.1

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [U-Boot] [PATCH] mpc85xx/kmp204x: raise u-boot size to 768KB
  2014-10-24  8:11 [U-Boot] [PATCH] mpc85xx/kmp204x: raise u-boot size to 768KB Valentin Longchamp
@ 2014-11-14 21:22 ` York Sun
  0 siblings, 0 replies; 2+ messages in thread
From: York Sun @ 2014-11-14 21:22 UTC (permalink / raw)
  To: u-boot

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-11-14 21:22 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-10-24  8:11 [U-Boot] [PATCH] mpc85xx/kmp204x: raise u-boot size to 768KB Valentin Longchamp
2014-11-14 21:22 ` York Sun

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox