diff options
author | Simon Glass <sjg@chromium.org> | 2023-02-06 01:39:38 +0300 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2023-02-10 00:32:26 +0300 |
commit | 866ec874f52596229e072575b13ddabd3c73fb83 (patch) | |
tree | 91b7ea29a4f38a875085cde672ab23cdb8c9dbb0 /board/xilinx/common/board.c | |
parent | f27a545b8f63e8b85ac7cb1dd547bb274c30afea (diff) | |
download | u-boot-866ec874f52596229e072575b13ddabd3c73fb83.tar.xz |
Correct SPL uses of DTB_RESELECT
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>
Diffstat (limited to 'board/xilinx/common/board.c')
-rw-r--r-- | board/xilinx/common/board.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/board/xilinx/common/board.c b/board/xilinx/common/board.c index 3dea238466..35a2f310f4 100644 --- a/board/xilinx/common/board.c +++ b/board/xilinx/common/board.c @@ -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) |