diff options
Diffstat (limited to 'board/toradex/verdin-am62/Kconfig')
-rw-r--r-- | board/toradex/verdin-am62/Kconfig | 84 |
1 files changed, 84 insertions, 0 deletions
diff --git a/board/toradex/verdin-am62/Kconfig b/board/toradex/verdin-am62/Kconfig new file mode 100644 index 0000000000..bd22b6fe4c --- /dev/null +++ b/board/toradex/verdin-am62/Kconfig @@ -0,0 +1,84 @@ +# SPDX-License-Identifier: GPL-2.0-or-later +# +# Copyright 2023 Toradex +# + +choice + prompt "Toradex Verdin AM62 based boards" + optional + +config TARGET_VERDIN_AM62_A53 + bool "Toradex Verdin AM62 running on A53" + select ARM64 + select SOC_K3_AM625 + imply BOARD + imply SPL_BOARD + +config TARGET_VERDIN_AM62_R5 + bool "Toradex Verdin AM62 running on R5" + select CPU_V7R + select SYS_THUMB_BUILD + select K3_LOAD_SYSFW + select SOC_K3_AM625 + select RAM + select SPL_RAM + select K3_DDRSS + imply SYS_K3_SPL_ATF + +endchoice + +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 SYS_BOARD + default "verdin-am62" + +config SYS_CONFIG_NAME + default "verdin-am62" + +config SYS_VENDOR + default "toradex" + +config SPL_LDSCRIPT + default "arch/arm/mach-omap2/u-boot-spl.lds" + +endif |