aboutsummaryrefslogtreecommitdiff
path: root/board/xilinx/common
diff options
context:
space:
mode:
authorSimon Glass2023-02-05 15:36:31 -0700
committerTom Rini2023-02-09 16:32:25 -0500
commitf8daba4486f5407417ade0c546e3030230d9a773 (patch)
tree2320a0396431b41f136d7d5b829ce9c748bc1629 /board/xilinx/common
parent3a09f38d5e7cf690135ad2fa60eed9fc40b744c3 (diff)
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/xilinx/common')
-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 e2c957fa163..3dea238466d 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))