All of lore.kernel.org
 help / color / mirror / Atom feed
* [RFC PATCH 0/2] cmd/fru: move FRU handling support to common region
@ 2022-07-26 23:50 Jae Hyun Yoo
  2022-07-26 23:50 ` [RFC PATCH 1/2] cmd/fru: " Jae Hyun Yoo
  2022-07-26 23:50 ` [RFC PATCH 2/2] cmd/fru: add product info area parsing support Jae Hyun Yoo
  0 siblings, 2 replies; 10+ messages in thread
From: Jae Hyun Yoo @ 2022-07-26 23:50 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 to be enabled by CONFIG_CMD_FRU.
Since the Multirecord parsing logic should be implemented on each
board specifically, it defines 'fru_parse_multirec' as a weak function
so that the function can be replaced with the board specific
implementation.

Also, this series adds 'Product Info' of FRU parsing support.

Please review!

Thanks,
Jae

Graeme Gregory (1):
  cmd/fru: 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               |  63 ++++++--
 cmd/Kconfig                               |   8 +
 cmd/Makefile                              |   1 +
 {board/xilinx/common => cmd}/fru.c        |   3 +-
 common/Makefile                           |   2 +
 {board/xilinx/common => common}/fru_ops.c | 171 +++++++++++++++++++---
 {board/xilinx/common => include}/fru.h    |  37 +++--
 9 files changed, 237 insertions(+), 59 deletions(-)
 rename {board/xilinx/common => cmd}/fru.c (99%)
 rename {board/xilinx/common => common}/fru_ops.c (73%)
 rename {board/xilinx/common => include}/fru.h (76%)

-- 
2.25.1


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

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

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-07-26 23:50 [RFC PATCH 0/2] cmd/fru: move FRU handling support to common region Jae Hyun Yoo
2022-07-26 23:50 ` [RFC PATCH 1/2] cmd/fru: " Jae Hyun Yoo
2022-07-29 11:13   ` Michal Simek
2022-07-29 14:38     ` Jae Hyun Yoo
2022-07-29 15:00       ` Jae Hyun Yoo
2022-08-01  7:58         ` Michal Simek
2022-08-01  7:57       ` Michal Simek
2022-07-26 23:50 ` [RFC PATCH 2/2] cmd/fru: add product info area parsing support Jae Hyun Yoo
2022-07-29 11:11   ` Michal Simek
2022-07-29 14:15     ` Jae Hyun Yoo

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.