mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-12-21 02:33:07 +00:00
7d1a10659f
This adds initial support for the Toradex Verdin AM62 Quad 1GB WB IT V1.0A module and subsequent V1.1 launch configuration SKUs. They are strapped to boot from their on-module eMMC. U-Boot supports booting from the on-module eMMC only, DFU support is disabled for now due to missing AM62x USB support. The device trees were taken straight from Linux v6.5-rc1. Boot sequence is: SYSFW ---> R5 SPL (both in tiboot3.bin) ---> ATF (TF-A) ---> OP-TEE ---> A53 SPL (part of tispl.bin) ---> U-boot proper (u-boot.img) Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com> Reviewed-by: Nishanth Menon <nm@ti.com>
82 lines
1.2 KiB
Text
82 lines
1.2 KiB
Text
# 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 BINMAN
|
|
|
|
config TARGET_VERDIN_AM62_R5
|
|
bool "Toradex Verdin AM62 running on R5"
|
|
select CPU_V7R
|
|
select SYS_THUMB_BUILD
|
|
select K3_LOAD_SYSFW
|
|
select RAM
|
|
select SPL_RAM
|
|
select K3_DDRSS
|
|
select BINMAN
|
|
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 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
|