mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-08-19 08:28:51 +09:00
![Marcel Ziswiler](/assets/img/avatar_default.png)
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>
12 lines
267 B
Makefile
12 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
|