]> git.dujemihanovic.xyz Git - u-boot.git/commit
xilinx: cmd: Add support for FRU commands
authorSiva Durga Prasad Paladugu <siva.durga.paladugu@xilinx.com>
Wed, 10 Apr 2019 07:08:10 +0000 (12:38 +0530)
committerMichal Simek <michal.simek@xilinx.com>
Tue, 27 Oct 2020 07:13:32 +0000 (08:13 +0100)
commitf1b97b5f18a8e03c534cb7dbde22cd23d5d753f7
treedc3359215948a7c309d56c5ab16394bcee3e4e42
parent3e315f31cc74e897aebb180aa43d572f5d289949
xilinx: cmd: Add support for FRU commands

This patch adds support for fru commands "fru capture" and "fru display".
The fru capture parses the FRU table present at an address and stores in a
structure for later use. The fru display prints the content of captured
structured in a readable format.

As of now, it supports only common header and board area of FRU. Also, it
supports only English language code and ASCII8/BINARY formats.

fru_data variable is placed to data section because fru parser can be
called very early before bss is initialized. And also information needs to
be shared that's why it is exported via header.

Signed-off-by: Siva Durga Prasad Paladugu <siva.durga.paladugu@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
board/xilinx/Kconfig
board/xilinx/common/Makefile
board/xilinx/common/fru.c [new file with mode: 0644]
board/xilinx/common/fru.h [new file with mode: 0644]
board/xilinx/common/fru_ops.c [new file with mode: 0644]
board/xilinx/zynqmp/MAINTAINERS