diff mbox

[U-Boot] hawkboard: Update config file to work with common spl framework

Message ID 1346095417-10897-1-git-send-email-urwithsughosh@gmail.com
State Accepted
Delegated to: Tom Rini
Headers show

Commit Message

Sughosh Ganu Aug. 27, 2012, 7:23 p.m. UTC
The common spl framework expects the u-boot payload size through
CONFIG_SYS_MONITOR_LEN. Define the macro with the u-boot's size. With
this change, CONFIG_SYS_NAND_U_BOOT_SIZE is no longer required. Delete
the same.

Signed-off-by: Sughosh Ganu <urwithsughosh@gmail.com>
---
To be applied on top of the common spl framework series from Tom Rini.

 include/configs/hawkboard.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

Comments

Tom Rini Aug. 28, 2012, 1:04 a.m. UTC | #1
On Tue, Aug 28, 2012 at 12:53:37AM +0530, Sughosh Ganu wrote:

> The common spl framework expects the u-boot payload size through
> CONFIG_SYS_MONITOR_LEN. Define the macro with the u-boot's size. With
> this change, CONFIG_SYS_NAND_U_BOOT_SIZE is no longer required. Delete
> the same.
> 
> Signed-off-by: Sughosh Ganu <urwithsughosh@gmail.com>

I forgot this for v5 sorry, I'll pick this up in v6 (already git am'd).
Thanks!
diff mbox

Patch

diff --git a/include/configs/hawkboard.h b/include/configs/hawkboard.h
index 5f2aa62..50068e5 100644
--- a/include/configs/hawkboard.h
+++ b/include/configs/hawkboard.h
@@ -79,6 +79,7 @@ 
 #define CONFIG_MAX_RAM_BANK_SIZE	(512 << 20)
 #define CONFIG_SYS_INIT_SP_ADDR		(CONFIG_SYS_SDRAM_BASE + 0x1000 -\
 					GENERATED_GBL_DATA_SIZE)
+#define CONFIG_SYS_MONITOR_LEN		0x40000
 
 /* memtest start addr */
 #define CONFIG_SYS_MEMTEST_START	(PHYS_SDRAM_1)
@@ -137,7 +138,6 @@ 
 #define CONFIG_SYS_NAND_PAGE_SIZE	(2 << 10)
 #define CONFIG_SYS_NAND_BLOCK_SIZE	(128 << 10)
 #define CONFIG_SYS_NAND_U_BOOT_OFFS	0xe0000
-#define CONFIG_SYS_NAND_U_BOOT_SIZE	0x40000
 #define CONFIG_SYS_NAND_U_BOOT_DST	0xc1180000
 #define CONFIG_SYS_NAND_U_BOOT_START	CONFIG_SYS_NAND_U_BOOT_DST
 #define CONFIG_SYS_NAND_U_BOOT_RELOC_SP	(CONFIG_SYS_NAND_U_BOOT_DST - \