]> git.ipfire.org Git - thirdparty/u-boot.git/commit
cmd: fru: 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>
Thu, 6 Jun 2019 11:46:52 +0000 (13:46 +0200)
commitdf532608ed95d468af02ee712fe8b1fe792e551f
tree13379ded4a0e986b205e40541bf671adc0b603fc
parentf607c476e7ace14cbbc33c41fe2e6782c0953635
cmd: fru: 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, its supports only English language code and ASCII8 format.

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