]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
Correct SPL use of CMD_FRU
authorSimon Glass <sjg@chromium.org>
Sun, 5 Feb 2023 22:36:31 +0000 (15:36 -0700)
committerTom Rini <trini@konsulko.com>
Thu, 9 Feb 2023 21:32:25 +0000 (16:32 -0500)
This converts 1 usage of this option to the non-SPL form, since there is
no SPL_CMD_FRU defined in Kconfig

Signed-off-by: Simon Glass <sjg@chromium.org>
board/xilinx/common/board.c

index e2c957fa1638f125fc06ebff2d984ac6861c4491..3dea238466d4a459f8c91980a6b353f0e06eca0d 100644 (file)
@@ -306,7 +306,7 @@ static int xilinx_read_eeprom_single(char *name,
 
        debug("%s: i2c memory detected: %s\n", __func__, name);
 
-       if (CONFIG_IS_ENABLED(CMD_FRU) && xilinx_detect_fru(buffer))
+       if (IS_ENABLED(CONFIG_CMD_FRU) && xilinx_detect_fru(buffer))
                return xilinx_read_eeprom_fru(dev, name, desc);
 
        if (xilinx_detect_legacy(buffer))