mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-30 00:21:06 +00:00
a2777ecb9d
Add Toradex factory configuration block handling. The config block is a data structure which gets stored to flash during production testing. The structure holds such information as board resp. hardware revision, product ID and serial number which is used as the NIC part of the Ethernet MAC address as well. The config block will be read upon boot by the show_board_info() function, displayed as part of the board information and passed to Linux via device tree or ATAGs. Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com> Acked-by: Max Krummenacher <max.krummenacher@toradex.com>
11 lines
267 B
Makefile
11 lines
267 B
Makefile
# Copyright (c) 2016 Toradex, Inc.
|
|
# SPDX-License-Identifier: GPL-2.0+
|
|
|
|
# Common for all Toradex modules
|
|
ifeq ($(CONFIG_SPL_BUILD),y)
|
|
# Necessary to create built-in.o
|
|
obj- := __dummy__.o
|
|
else
|
|
obj-$(CONFIG_TDX_CFG_BLOCK) += tdx-cfg-block.o
|
|
obj-y += tdx-common.o
|
|
endif
|