u-boot/board/toradex/verdin-am62/Kconfig
Andrew Davis f3bfec72d1 arm: mach-k3: am62x: Move board selection to mach-k3
Currently each set of board targets from a vendor is selected inside
the board directory for that vendor. This has the problem of multiple
targets, one from each vendor, being selectable at the same time.
For instance you can select both TARGET_AM654_A53_EVM and
TARGET_IOT2050_A53 in the same build.

To fix this we need to move the target board choice to a common location
for each parent SoC selection. Do this in arch/arm/mach-k3.

Signed-off-by: Andrew Davis <afd@ti.com>
2023-11-22 09:37:23 -05:00

60 lines
876 B
Text

# SPDX-License-Identifier: GPL-2.0-or-later
#
# Copyright 2023 Toradex
#
if TARGET_VERDIN_AM62_A53
config SYS_BOARD
default "verdin-am62"
config SYS_CONFIG_NAME
default "verdin-am62"
config SYS_VENDOR
default "toradex"
config TDX_CFG_BLOCK
default y
config TDX_CFG_BLOCK_2ND_ETHADDR
default y
config TDX_CFG_BLOCK_DEV
default "0"
config TDX_CFG_BLOCK_EXTRA
default y
# Toradex config block in eMMC, at the end of 1st "boot sector"
config TDX_CFG_BLOCK_OFFSET
default "-512"
config TDX_CFG_BLOCK_PART
default "1"
config TDX_HAVE_EEPROM_EXTRA
default y
config TDX_HAVE_MMC
default y
source "board/toradex/common/Kconfig"
endif
if TARGET_VERDIN_AM62_R5
config SPL_LDSCRIPT
default "arch/arm/mach-omap2/u-boot-spl.lds"
config SYS_BOARD
default "verdin-am62"
config SYS_CONFIG_NAME
default "verdin-am62"
config SYS_VENDOR
default "toradex"
endif