]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
km/ls102xa: fix device disable configuration
authorAleksandar Gerasimovski <aleksandar.gerasimovski@hitachienergy.com>
Tue, 16 Nov 2021 13:06:31 +0000 (13:06 +0000)
committerPriyanka Jain <priyanka.jain@nxp.com>
Tue, 1 Feb 2022 09:38:07 +0000 (15:08 +0530)
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>
board/keymile/pg-wcom-ls102xa/pg-wcom-ls102xa.c

index 3dae423e3e0a97c1e94ce1530c8cc8e6b237fcb5..a37d11160e886982fc05ffec82d8d1bd41dea32b 100644 (file)
@@ -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);