From mboxrd@z Thu Jan 1 00:00:00 1970 From: Matwey V. Kornilov Date: Wed, 8 May 2019 09:34:32 +0300 Subject: [U-Boot] [PATCH 2/5] rockchip: rk3328: add config option for SPL In-Reply-To: <20190508063435.3796-1-matwey.kornilov@gmail.com> References: <20190508063435.3796-1-matwey.kornilov@gmail.com> Message-ID: <20190508063435.3796-3-matwey.kornilov@gmail.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de From: Kever Yang Enable SPL_FRAMEWORK and SPL related base addr and size. Signed-off-by: Kever Yang [cherry picked from https://github.com/rockchip-linux/u-boot/commit/cb2b7a1bc75ebb116b1eb9b0ae0223e84d86fc4b with minor modifications] Signed-off-by: Matwey V. Kornilov --- include/configs/rk3328_common.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/include/configs/rk3328_common.h b/include/configs/rk3328_common.h index 71aad7029a..03d2a70154 100644 --- a/include/configs/rk3328_common.h +++ b/include/configs/rk3328_common.h @@ -16,7 +16,10 @@ #define CONFIG_SYS_INIT_SP_ADDR 0x00300000 #define CONFIG_SYS_LOAD_ADDR 0x00800800 - +#define CONFIG_SPL_STACK 0x00400000 +#define CONFIG_SPL_MAX_SIZE 0x10000 +#define CONFIG_SPL_BSS_START_ADDR 0x2000000 +#define CONFIG_SPL_BSS_MAX_SIZE 0x2000 #define CONFIG_SYS_BOOTM_LEN (64 << 20) /* 64M */ #define CONFIG_SYS_SPI_U_BOOT_OFFS (128 << 10) -- 2.16.4