Dave Gerlach | 33b7258 | 2021-04-23 11:27:42 -0500 | [diff] [blame] | 1 | # SPDX-License-Identifier: GPL-2.0+ |
| 2 | # |
| 3 | # Copyright (C) 2020-2021 Texas Instruments Incorporated - https://www.ti.com/ |
| 4 | |
| 5 | choice |
| 6 | prompt "K3 AM64 based boards" |
| 7 | optional |
| 8 | |
| 9 | config TARGET_AM642_A53_EVM |
| 10 | bool "TI K3 based AM642 EVM running on A53" |
| 11 | select ARM64 |
| 12 | select SOC_K3_AM642 |
| 13 | imply BOARD |
| 14 | imply SPL_BOARD |
| 15 | |
| 16 | config TARGET_AM642_R5_EVM |
| 17 | bool "TI K3 based AM642 EVM running on R5" |
| 18 | select CPU_V7R |
| 19 | select SYS_THUMB_BUILD |
| 20 | select K3_LOAD_SYSFW |
| 21 | select SOC_K3_AM642 |
Dave Gerlach | d411f09 | 2021-05-04 18:00:53 -0500 | [diff] [blame^] | 22 | select RAM |
| 23 | select SPL_RAM |
| 24 | select K3_DDRSS |
Dave Gerlach | 33b7258 | 2021-04-23 11:27:42 -0500 | [diff] [blame] | 25 | imply SYS_K3_SPL_ATF |
| 26 | |
| 27 | endchoice |
| 28 | |
| 29 | if TARGET_AM642_A53_EVM |
| 30 | |
| 31 | config SYS_BOARD |
| 32 | default "am64x" |
| 33 | |
| 34 | config SYS_VENDOR |
| 35 | default "ti" |
| 36 | |
| 37 | config SYS_CONFIG_NAME |
| 38 | default "am64x_evm" |
| 39 | |
| 40 | endif |
| 41 | |
| 42 | if TARGET_AM642_R5_EVM |
| 43 | |
| 44 | config SYS_BOARD |
| 45 | default "am64x" |
| 46 | |
| 47 | config SYS_VENDOR |
| 48 | default "ti" |
| 49 | |
| 50 | config SYS_CONFIG_NAME |
| 51 | default "am64x_evm" |
| 52 | |
| 53 | config SPL_LDSCRIPT |
| 54 | default "arch/arm/mach-omap2/u-boot-spl.lds" |
| 55 | |
| 56 | endif |