From 6adc35463b5b9ca8d6ed5f6a471435853af40e50 Mon Sep 17 00:00:00 2001 From: Fabien Lehoussel Date: Mon, 24 Feb 2020 16:45:31 +0100 Subject: [PATCH] board: sama5d3_xplained: Fix uboot size when loaded from NAND by SPL Signed-off-by: Fabien Lehoussel --- include/configs/sama5d3_xplained.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/include/configs/sama5d3_xplained.h b/include/configs/sama5d3_xplained.h index 8a9a19d38e6..17a63afbc9f 100644 --- a/include/configs/sama5d3_xplained.h +++ b/include/configs/sama5d3_xplained.h @@ -9,6 +9,7 @@ #ifndef __CONFIG_H #define __CONFIG_H +#include #include "at91-sama5_common.h" /* @@ -65,7 +66,8 @@ #define CONFIG_SYS_SPL_MALLOC_START 0x20080000 #define CONFIG_SYS_SPL_MALLOC_SIZE 0x80000 -#define CONFIG_SYS_MONITOR_LEN (512 << 10) +/* size of u-boot.bin to load */ +#define CONFIG_SYS_MONITOR_LEN (2 * SZ_512K) #ifdef CONFIG_SD_BOOT #define CONFIG_SYS_MMCSD_FS_BOOT_PARTITION 1