diff mbox

[U-Boot] ls102xa: Adjust some macros for SD boot on LS1021A QDS board

Message ID 1446216338-3589-1-git-send-email-b18965@freescale.com
State Accepted
Delegated to: York Sun
Headers show

Commit Message

Alison Wang Oct. 30, 2015, 2:45 p.m. UTC
As more features are added for SD boot on LS1021A QDS board,
the size of U-Boot is larger. CONFIG_SYS_U_BOOT_MAX_SIZE_SECTORS
needs to be adjusted to a suitable value.

Starting address of the malloc pool used in SPL needs to be
adjusted too, or it will occupy the address u-boot loads.

Signed-off-by: Alison Wang <alison.wang@freescale.com>
---
 include/configs/ls1021aqds.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Comments

York Sun Oct. 30, 2015, 4:22 p.m. UTC | #1
On 10/30/2015 07:45 AM, Alison Wang wrote:
> As more features are added for SD boot on LS1021A QDS board,
> the size of U-Boot is larger. CONFIG_SYS_U_BOOT_MAX_SIZE_SECTORS
> needs to be adjusted to a suitable value.
> 
> Starting address of the malloc pool used in SPL needs to be
> adjusted too, or it will occupy the address u-boot loads.
> 
> Signed-off-by: Alison Wang <alison.wang@freescale.com>
> ---


Applied to u-boot-fsl-qoriq. Awaiting upstream. Thanks.

York
diff mbox

Patch

diff --git a/include/configs/ls1021aqds.h b/include/configs/ls1021aqds.h
index d19b1e3..562e78f 100644
--- a/include/configs/ls1021aqds.h
+++ b/include/configs/ls1021aqds.h
@@ -69,7 +69,7 @@  unsigned long get_board_ddr_clk(void);
 #define CONFIG_SPL_DRIVERS_MISC_SUPPORT
 #define CONFIG_SPL_MMC_SUPPORT
 #define CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR		0xe8
-#define CONFIG_SYS_U_BOOT_MAX_SIZE_SECTORS		0x400
+#define CONFIG_SYS_U_BOOT_MAX_SIZE_SECTORS		0x600
 
 #define CONFIG_SPL_TEXT_BASE		0x10000000
 #define CONFIG_SPL_MAX_SIZE		0x1a000
@@ -82,7 +82,7 @@  unsigned long get_board_ddr_clk(void);
 #define CONFIG_SYS_SPL_MALLOC_SIZE	0x100000
 #define CONFIG_SPL_BSS_START_ADDR	0x80100000
 #define CONFIG_SPL_BSS_MAX_SIZE		0x80000
-#define CONFIG_SYS_MONITOR_LEN		0x80000
+#define CONFIG_SYS_MONITOR_LEN		0xc0000
 #endif
 
 #ifdef CONFIG_QSPI_BOOT