mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-14 17:07:38 +00:00
f1b97b5f18
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>
10 lines
203 B
Makefile
10 lines
203 B
Makefile
# SPDX-License-Identifier: GPL-2.0
|
|
#
|
|
# (C) Copyright 2020 Xilinx, Inc.
|
|
# Michal Simek <michal.simek@xilinx.com>
|
|
#
|
|
|
|
obj-y += board.o
|
|
ifndef CONFIG_SPL_BUILD
|
|
obj-$(CONFIG_CMD_FRU) += fru.o fru_ops.o
|
|
endif
|