public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [PATCH v1 0/2] cmd/fru: move FRU handling support to common region
@ 2022-07-29 21:54 Jae Hyun Yoo
  2022-07-29 21:54 ` [PATCH v1 1/2] cmd: fru: " Jae Hyun Yoo
                   ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: Jae Hyun Yoo @ 2022-07-29 21:54 UTC (permalink / raw)
  To: Michal Simek, Ovidiu Panait, Simon Glass, Masahisa Kojima,
	Pali Rohár, Heinrich Schuchardt, Ashok Reddy Soma,
	Thomas Huth, Huang Jianan, Chris Morgan, Roland Gaudig,
	Patrick Delaunay, Alexandru Gagniuc
  Cc: Jamie Iles, Graeme Gregory, Cédric Le Goater, Jae Hyun Yoo,
	u-boot

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


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2022-08-01 15:10 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-07-29 21:54 [PATCH v1 0/2] cmd/fru: move FRU handling support to common region Jae Hyun Yoo
2022-07-29 21:54 ` [PATCH v1 1/2] cmd: fru: " Jae Hyun Yoo
2022-08-01 12:34   ` Heinrich Schuchardt
2022-08-01 15:08     ` Jae Hyun Yoo
2022-07-29 21:54 ` [PATCH v1 2/2] cmd: fru: add product info area parsing support Jae Hyun Yoo
2022-08-01 12:37   ` Heinrich Schuchardt
2022-08-01 15:10     ` Jae Hyun Yoo
2022-08-01 10:29 ` [PATCH v1 0/2] cmd/fru: move FRU handling support to common region Michal Simek
2022-08-01 14:56   ` Jae Hyun Yoo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox