Skip to content

Commit

Permalink
libretech-cc_defconfig: Add env config to be in SD
Browse files Browse the repository at this point in the history
Previous libretech-cc_defconfig would not manage u-boot environment.
Enable the options to load and save the uboot.env from a FAT partition.

This works with an SD card using MSDOS partition table and a FAT
partition.

Signed-off-by: Loys Ollivier <[email protected]>
  • Loading branch information
loysollivier authored and superna9999 committed Dec 22, 2017
1 parent 02c7ebe commit 9b5924a
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion configs/libretech-cc_defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,12 @@ CONFIG_TARGET_LIBRETECH_CC=y
CONFIG_IDENT_STRING=" libretech-cc"
CONFIG_DEFAULT_DEVICE_TREE="meson-gxl-s905x-libretech-cc"
CONFIG_DEBUG_UART=y
CONFIG_ENV_IS_NOWHERE=y
# CONFIG_ENV_IS_NOWHERE is not set
CONFIG_ENV_IS_IN_FAT=y
CONFIG_ENV_FAT_INTERFACE="mmc"
CONFIG_ENV_FAT_DEVICE_AND_PART="0:auto"
CONFIG_ENV_FAT_FILE="uboot.env"
CONFIG_FAT_WRITE=y
# CONFIG_DISPLAY_CPUINFO is not set
# CONFIG_DISPLAY_BOARDINFO is not set
# CONFIG_CMD_BDI is not set
Expand Down

0 comments on commit 9b5924a

Please sign in to comment.