git.openpandora.org
/
pandora-u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3a09f38
)
Correct SPL use of CMD_FRU
author
Simon Glass
<sjg@chromium.org>
Sun, 5 Feb 2023 22:36:31 +0000
(15:36 -0700)
committer
Tom Rini
<trini@konsulko.com>
Thu, 9 Feb 2023 21:32:25 +0000
(16:32 -0500)
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>
board/xilinx/common/board.c
patch
|
blob
|
history
diff --git
a/board/xilinx/common/board.c
b/board/xilinx/common/board.c
index
e2c957f
..
3dea238
100644
(file)
--- 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))