diff options
author | Adam Ford <aford173@gmail.com> | 2019-04-11 13:44:59 -0500 |
---|---|---|
committer | Stefano Babic <sbabic@denx.de> | 2019-04-25 17:03:25 +0200 |
commit | 5449e396eb8c19da750b0dc3b396aaf2d572b788 (patch) | |
tree | 88eda547cee871a95e8665daf3996f1179ef59ab /configs/imx6q_logic_defconfig | |
parent | fd1a2d7e778f0ca671dacecafc569cded1b32ec6 (diff) |
ARM: imx6q_logic: Allow storing environment in FAT on eMMC
Some variations of the imx6q_logic board have eMMC instead of
NAND. Rather than creating a separate defconfig, this patch
adds the ability to read/write to eMMC (mmc 0:1) when NAND
doesn't exist.
Signed-off-by: Adam Ford <aford173@gmail.com>
Diffstat (limited to 'configs/imx6q_logic_defconfig')
-rw-r--r-- | configs/imx6q_logic_defconfig | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/configs/imx6q_logic_defconfig b/configs/imx6q_logic_defconfig index 385efcec4e1..a006d33311c 100644 --- a/configs/imx6q_logic_defconfig +++ b/configs/imx6q_logic_defconfig @@ -54,7 +54,10 @@ CONFIG_MTDIDS_DEFAULT="nand0=gpmi-nand" CONFIG_MTDPARTS_DEFAULT="mtdparts=gpmi-nand:2m(spl),2m(uboot),1m(env),16m(kernel),1m(dtb),-(fs)" CONFIG_CMD_UBI=y CONFIG_DEFAULT_DEVICE_TREE="imx6q-logicpd" +CONFIG_ENV_IS_IN_FAT=y CONFIG_ENV_IS_IN_NAND=y +CONFIG_ENV_FAT_INTERFACE="mmc" +CONFIG_ENV_FAT_DEVICE_AND_PART="0:1" CONFIG_ENV_VARS_UBOOT_RUNTIME_CONFIG=y CONFIG_PCF8575_GPIO=y CONFIG_LED=y @@ -84,4 +87,3 @@ CONFIG_USB_GADGET_VENDOR_NUM=0x0525 CONFIG_USB_GADGET_PRODUCT_NUM=0xa4a5 CONFIG_CI_UDC=y CONFIG_USB_GADGET_DOWNLOAD=y -CONFIG_FAT_WRITE=y |