Message ID | 20190519121020.13866-3-matwey.kornilov@gmail.com |
---|---|
State | Changes Requested |
Delegated to: | Kever Yang |
Headers | show |
Series | Add initial support for Pine64 Rock64 board | expand |
On 05/19/2019 08:10 PM, Matwey V. Kornilov wrote: > From: Kever Yang <kever.yang@rock-chips.com> > > Add SPL support for rk3328, default with of-platdata enabled. > > Signed-off-by: Kever Yang <kever.yang@rock-chips.com> > [cherry picked from https://github.com/rockchip-linux/u-boot/commit/cb2b7a1bc75ebb116b1eb9b0ae0223e84d86fc4b with minor modifications] > Signed-off-by: Matwey V. Kornilov <matwey.kornilov@gmail.com> Reviewed-by: Kever Yang <kever.yang@rock-chips.com> Thanks, - Kever > --- > include/configs/rk3328_common.h | 4 ++++ > 1 file changed, 4 insertions(+) > > diff --git a/include/configs/rk3328_common.h b/include/configs/rk3328_common.h > index 71aad7029a..2a81c803b6 100644 > --- a/include/configs/rk3328_common.h > +++ b/include/configs/rk3328_common.h > @@ -16,6 +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 0x100000 > +#define CONFIG_SPL_BSS_START_ADDR 0x2000000 > +#define CONFIG_SPL_BSS_MAX_SIZE 0x2000 > > #define CONFIG_SYS_BOOTM_LEN (64 << 20) /* 64M */ >
diff --git a/include/configs/rk3328_common.h b/include/configs/rk3328_common.h index 71aad7029a..2a81c803b6 100644 --- a/include/configs/rk3328_common.h +++ b/include/configs/rk3328_common.h @@ -16,6 +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 0x100000 +#define CONFIG_SPL_BSS_START_ADDR 0x2000000 +#define CONFIG_SPL_BSS_MAX_SIZE 0x2000 #define CONFIG_SYS_BOOTM_LEN (64 << 20) /* 64M */