summaryrefslogtreecommitdiff
path: root/board
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2023-02-06 01:36:31 +0300
committerTom Rini <trini@konsulko.com>2023-02-10 00:32:25 +0300
commitf8daba4486f5407417ade0c546e3030230d9a773 (patch)
tree2320a0396431b41f136d7d5b829ce9c748bc1629 /board
parent3a09f38d5e7cf690135ad2fa60eed9fc40b744c3 (diff)
downloadu-boot-f8daba4486f5407417ade0c546e3030230d9a773.tar.xz
Correct SPL use of CMD_FRU
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>
Diffstat (limited to 'board')
-rw-r--r--board/xilinx/common/board.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/xilinx/common/board.c b/board/xilinx/common/board.c
index e2c957fa16..3dea238466 100644
--- a/board/xilinx/common/board.c
+++ b/board/xilinx/common/board.c
@@ -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))