summaryrefslogtreecommitdiff
path: root/board/keymile
diff options
context:
space:
mode:
authorAleksandar Gerasimovski <aleksandar.gerasimovski@hitachienergy.com>2021-11-16 13:06:31 +0000
committerPriyanka Jain <priyanka.jain@nxp.com>2022-02-01 15:08:07 +0530
commitd1af7ca8f804fded07cbb39b1945ba3ade1a36ef (patch)
tree4d7cda80559415fc9f1e196f1581b8eae4e2d0e9 /board/keymile
parentf34aa3c3f245fa9a1d1c22be9873472c35ff89f7 (diff)
downloadu-boot-d1af7ca8f804fded07cbb39b1945ba3ade1a36ef.tar.gz
u-boot-d1af7ca8f804fded07cbb39b1945ba3ade1a36ef.tar.bz2
u-boot-d1af7ca8f804fded07cbb39b1945ba3ade1a36ef.zip
km/ls102xa: fix device disable configuration
This was probably broken when mainlining, CONFIG_FSL_DEVICE_DISABLE is not Kconfig but whitelisted. It's fine to be without flag as this is always enabled for abec1020 (pg-wcom-ls102xa.h) Signed-off-by: Aleksandar Gerasimovski <aleksandar.gerasimovski@hitachienergy.com> Reviewed-by: Priyanka Jain <priyanka.jain@nxp.com>
Diffstat (limited to 'board/keymile')
-rw-r--r--board/keymile/pg-wcom-ls102xa/pg-wcom-ls102xa.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/board/keymile/pg-wcom-ls102xa/pg-wcom-ls102xa.c b/board/keymile/pg-wcom-ls102xa/pg-wcom-ls102xa.c
index 3dae423e3e..a37d11160e 100644
--- a/board/keymile/pg-wcom-ls102xa/pg-wcom-ls102xa.c
+++ b/board/keymile/pg-wcom-ls102xa/pg-wcom-ls102xa.c
@@ -137,8 +137,7 @@ int board_late_init(void)
int misc_init_r(void)
{
- if (IS_ENABLED(CONFIG_FSL_DEVICE_DISABLE))
- device_disable(devdis_tbl, ARRAY_SIZE(devdis_tbl));
+ device_disable(devdis_tbl, ARRAY_SIZE(devdis_tbl));
ivm_read_eeprom(ivm_content, CONFIG_SYS_IVM_EEPROM_MAX_LEN,
CONFIG_PIGGY_MAC_ADDRESS_OFFSET);