rockchip: config: sync the ENV offset from rockchip legacy U-Boot
Using the ENV offset from rockchip legacy U-Boot for all SoCs, the offset is 4MB-32KB Signed-off-by: Kever Yang <kever.yang@rock-chips.com> Acked-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com> Reviewed-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
This commit is contained in:
parent
5d2f1d8271
commit
c742043f74
@ -61,19 +61,10 @@
|
||||
|
||||
#endif
|
||||
|
||||
#if CONFIG_IS_ENABLED(ROCKCHIP_BACK_TO_BROM)
|
||||
/* SPL @ 32k for 34k
|
||||
* u-boot directly after @ 68k for 400k or so
|
||||
* ENV @ 992k
|
||||
/*
|
||||
* Rockchip SoCs use fixed ENV 32KB@(4MB-32KB)
|
||||
*/
|
||||
#define CONFIG_ENV_OFFSET ((1024-32) * 1024)
|
||||
#else
|
||||
/* SPL @ 32k for ~36k
|
||||
* ENV @ 96k
|
||||
* u-boot @ 128K
|
||||
*/
|
||||
#define CONFIG_ENV_OFFSET (96 * 1024)
|
||||
#endif
|
||||
#define CONFIG_ENV_OFFSET (SZ_4M - SZ_32K)
|
||||
|
||||
#define CONFIG_DISPLAY_BOARDINFO_LATE
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user