]> git.baikalelectronics.ru Git - uboot.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)
commitb11a4e19688e20f27242c020950b496e597c59cc
treedc3359215948a7c309d56c5ab16394bcee3e4e42
parent54e9b85b5b11223a308ead842523f7fd2fe542f1
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