Hi Michal, On Mon, 14 Oct 2019 at 07:29, Michal Simek <michal.si...@xilinx.com> wrote: > > From: Siva Durga Prasad Paladugu <siva.durga.palad...@xilinx.com> > > 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 format. > > 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.palad...@xilinx.com> > Signed-off-by: Michal Simek <michal.si...@xilinx.com> > --- > > MAINTAINERS | 3 + > cmd/Kconfig | 8 ++ > cmd/Makefile | 1 + > cmd/fru.c | 68 +++++++++++++ > common/Makefile | 1 + > common/fru_ops.c | 247 +++++++++++++++++++++++++++++++++++++++++++++++
Can we get some tests for this file? > include/fru.h | 64 ++++++++++++ > 7 files changed, 392 insertions(+) > create mode 100644 cmd/fru.c > create mode 100644 common/fru_ops.c > create mode 100644 include/fru.h > Regards, Simon _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot