mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-10-01 00:50:43 +09:00
rockchip: firefly: Save the environment on SD card
Save the environment on the SD card for Firefly in the empty space between the SPL and the u-boot image. Signed-off-by: Sjoerd Simons <sjoerd.simons@collabora.co.uk> Acked-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
parent
9550e799e5
commit
abe919ec54
@ -9,6 +9,7 @@
|
|||||||
|
|
||||||
#include <configs/rk3288_common.h>
|
#include <configs/rk3288_common.h>
|
||||||
|
|
||||||
|
#define CONFIG_ENV_IS_NOWHERE
|
||||||
#define CONFIG_SPL_SPI_SUPPORT
|
#define CONFIG_SPL_SPI_SUPPORT
|
||||||
#define CONFIG_SPL_SPI_FLASH_SUPPORT
|
#define CONFIG_SPL_SPI_FLASH_SUPPORT
|
||||||
#define CONFIG_SPL_SPI_LOAD
|
#define CONFIG_SPL_SPI_LOAD
|
||||||
|
@ -11,4 +11,12 @@
|
|||||||
|
|
||||||
#define CONFIG_SPL_MMC_SUPPORT
|
#define CONFIG_SPL_MMC_SUPPORT
|
||||||
|
|
||||||
|
#define CONFIG_ENV_IS_IN_MMC
|
||||||
|
#define CONFIG_SYS_MMC_ENV_DEV 0
|
||||||
|
/* SPL @ 32k for ~36k
|
||||||
|
* ENV @ 96k
|
||||||
|
* u-boot @ 128K
|
||||||
|
*/
|
||||||
|
#define CONFIG_ENV_OFFSET (96 * 1024)
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
@ -11,7 +11,6 @@
|
|||||||
|
|
||||||
#define CONFIG_SYS_NO_FLASH
|
#define CONFIG_SYS_NO_FLASH
|
||||||
#define CONFIG_NR_DRAM_BANKS 1
|
#define CONFIG_NR_DRAM_BANKS 1
|
||||||
#define CONFIG_ENV_IS_NOWHERE
|
|
||||||
#define CONFIG_ENV_SIZE 0x2000
|
#define CONFIG_ENV_SIZE 0x2000
|
||||||
#define CONFIG_SYS_MAXARGS 16
|
#define CONFIG_SYS_MAXARGS 16
|
||||||
#define CONFIG_BAUDRATE 115200
|
#define CONFIG_BAUDRATE 115200
|
||||||
|
Loading…
Reference in New Issue
Block a user