]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
Correct SPL uses of DTB_RESELECT
authorSimon Glass <sjg@chromium.org>
Sun, 5 Feb 2023 22:39:38 +0000 (15:39 -0700)
committerTom Rini <trini@konsulko.com>
Thu, 9 Feb 2023 21:32:26 +0000 (16:32 -0500)
This converts 2 usages of this option to the non-SPL form, since there is
no SPL_DTB_RESELECT defined in Kconfig

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

index 3dea238466d4a459f8c91980a6b353f0e06eca0d..35a2f310f4f7eb08755b18847652939eecb4ddbf 100644 (file)
@@ -208,7 +208,7 @@ static int xilinx_read_eeprom_fru(struct udevice *dev, char *name,
        }
 
        fru_capture((unsigned long)fru_content);
-       if (gd->flags & GD_FLG_RELOC || (_DEBUG && CONFIG_IS_ENABLED(DTB_RESELECT))) {
+       if (gd->flags & GD_FLG_RELOC || (_DEBUG && IS_ENABLED(CONFIG_DTB_RESELECT))) {
                printf("Xilinx I2C FRU format at %s:\n", name);
                ret = fru_display(0);
                if (ret) {
@@ -501,7 +501,7 @@ int __maybe_unused board_fit_config_name_match(const char *name)
        return -1;
 }
 
-#if CONFIG_IS_ENABLED(DTB_RESELECT)
+#if IS_ENABLED(CONFIG_DTB_RESELECT)
 #define MAX_NAME_LENGTH        50
 
 char * __maybe_unused __weak board_name_decode(void)