mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-11 23:47:24 +00:00
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>
This commit is contained in:
parent
f27a545b8f
commit
866ec874f5
1 changed files with 2 additions and 2 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue