summaryrefslogtreecommitdiff
path: root/configs/ls1012afrwy_tfa_defconfig
diff options
context:
space:
mode:
authorKuldeep Singh <kuldeep.singh@nxp.com>2020-07-30 15:38:07 +0530
committerPriyanka Jain <priyanka.jain@nxp.com>2020-09-23 19:33:44 +0530
commit7679afbfe39143c17079e3ee90413e6c391fa09c (patch)
tree0722e6fc1f4dbfdf218525e67f68b60b3393163f /configs/ls1012afrwy_tfa_defconfig
parent120e92d9693b445c8397c159d26f60e4dbeadc4d (diff)
downloadu-boot-7679afbfe39143c17079e3ee90413e6c391fa09c.tar.gz
u-boot-7679afbfe39143c17079e3ee90413e6c391fa09c.tar.bz2
u-boot-7679afbfe39143c17079e3ee90413e6c391fa09c.zip
configs: ls1012a/ls1046a: Add CONFIG_ENV_OVERWRITE in defconfig
CONFIG_ENV_OVERWRITE disables write protection on various environment variables like "ethaddr" and "serial". Enable this config in LS1046A and LS1012A defconfigs. This resolves an error while setting multiple values of "ethaddr" variable. Before the change: => setenv ethaddr 00:E0:0C:00:06:0 => setenv ethaddr 00:E0:0C:00:06:1 Error: Can't overwrite "ethaddr" Error inserting "ethaddr" variable, errno=1 After the change: => setenv ethaddr 00:E0:0C:00:06:0 => setenv ethaddr 00:E0:0C:00:06:1 Signed-off-by: Kuldeep Singh <kuldeep.singh@nxp.com> Reviewed-by: Priyanka Jain <priyanka.jain@nxp.com>
Diffstat (limited to 'configs/ls1012afrwy_tfa_defconfig')
-rw-r--r--configs/ls1012afrwy_tfa_defconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/configs/ls1012afrwy_tfa_defconfig b/configs/ls1012afrwy_tfa_defconfig
index d08d31d83f..7a15c8f0ad 100644
--- a/configs/ls1012afrwy_tfa_defconfig
+++ b/configs/ls1012afrwy_tfa_defconfig
@@ -34,6 +34,7 @@ CONFIG_CMD_USB=y
# CONFIG_CMD_SETEXPR is not set
CONFIG_CMD_CACHE=y
CONFIG_OF_CONTROL=y
+CONFIG_ENV_OVERWRITE=y
CONFIG_ENV_IS_IN_SPI_FLASH=y
CONFIG_SYS_RELOC_GD_ENV_ADDR=y
CONFIG_NET_RANDOM_ETHADDR=y