[PATCH v1 0/2] cmd/fru: move FRU handling support to common region
Jae Hyun Yoo
quic_jaehyoo at quicinc.com
Fri Jul 29 23:54:55 CEST 2022
Hello,
The FRU handling was added as a Xilinx board dependent support but it
would be useful for other boards too, so this commit moves the FRU
handling support to the common region so that it can be enabled by
CONFIG_CMD_FRU.
To provide manufacturer specific custom board info field parsing,
it defines 'fru_parse_board_custom' as a weak function so that it can
be replaced with the board specific implementation. In the same way,
OEM Multirecord type (0xc0 - 0xff) parsing logic can be replaced with
a board specific 'fru_parse_multirec' implementation.
Also, this series adds 'Product Info' parsing support.
Please review!
Thanks,
Jae
Graeme Gregory (1):
cmd: fru: move FRU handling support to common region
Jae Hyun Yoo (1):
cmd: fru: add product info area parsing support
board/xilinx/Kconfig | 8 -
board/xilinx/common/Makefile | 3 -
board/xilinx/common/board.c | 108 +++++++-
cmd/Kconfig | 8 +
cmd/Makefile | 1 +
{board/xilinx/common => cmd}/fru.c | 5 +-
common/Makefile | 2 +
{board/xilinx/common => common}/fru_ops.c | 287 ++++++++++++++++++----
{board/xilinx/common => include}/fru.h | 47 ++--
9 files changed, 379 insertions(+), 90 deletions(-)
rename {board/xilinx/common => cmd}/fru.c (95%)
rename {board/xilinx/common => common}/fru_ops.c (60%)
rename {board/xilinx/common => include}/fru.h (70%)
--
2.25.1
More information about the U-Boot
mailing list