Lokesh Vutla | 029f921 | 2018-08-27 15:59:06 +0530 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0+ */ |
| 2 | /* |
| 3 | * Configuration header file for K3 AM654 EVM |
| 4 | * |
| 5 | * Copyright (C) 2017-2018 Texas Instruments Incorporated - http://www.ti.com/ |
| 6 | * Lokesh Vutla <lokeshvutla@ti.com> |
| 7 | */ |
| 8 | |
| 9 | #ifndef __CONFIG_AM654_EVM_H |
| 10 | #define __CONFIG_AM654_EVM_H |
| 11 | |
| 12 | #include <linux/sizes.h> |
Andreas Dannenberg | c4fc2cc | 2018-08-27 15:59:07 +0530 | [diff] [blame] | 13 | #include <environment/ti/mmc.h> |
Suman Anna | 96b3d76 | 2019-09-04 16:01:44 +0530 | [diff] [blame] | 14 | #include <environment/ti/k3_rproc.h> |
Vignesh Raghavendra | fa28601 | 2019-12-09 10:37:34 +0530 | [diff] [blame] | 15 | #include <environment/ti/k3_dfu.h> |
Lokesh Vutla | 029f921 | 2018-08-27 15:59:06 +0530 | [diff] [blame] | 16 | |
Lokesh Vutla | 029f921 | 2018-08-27 15:59:06 +0530 | [diff] [blame] | 17 | /* DDR Configuration */ |
Tom Rini | bb4dd96 | 2022-11-16 13:10:37 -0500 | [diff] [blame] | 18 | #define CFG_SYS_SDRAM_BASE1 0x880000000 |
Lokesh Vutla | 029f921 | 2018-08-27 15:59:06 +0530 | [diff] [blame] | 19 | |
Tom Rini | 6e410d3 | 2021-07-13 10:11:39 -0400 | [diff] [blame] | 20 | #ifdef CONFIG_TARGET_AM654_A53_EVM |
| 21 | #define BOOT_TARGET_DEVICES(func) \ |
| 22 | func(MMC, mmc, 1) \ |
| 23 | func(MMC, mmc, 0) |
| 24 | |
| 25 | #include <config_distro_bootcmd.h> |
| 26 | #else |
| 27 | #define BOOTENV |
| 28 | #endif |
| 29 | |
Andreas Dannenberg | c4fc2cc | 2018-08-27 15:59:07 +0530 | [diff] [blame] | 30 | /* Incorporate settings into the U-Boot environment */ |
Tom Rini | c9edebe | 2022-12-04 10:03:50 -0500 | [diff] [blame] | 31 | #define CFG_EXTRA_ENV_SETTINGS \ |
Tom Rini | 6e410d3 | 2021-07-13 10:11:39 -0400 | [diff] [blame] | 32 | BOOTENV |
Andreas Dannenberg | c4fc2cc | 2018-08-27 15:59:07 +0530 | [diff] [blame] | 33 | |
Lokesh Vutla | 029f921 | 2018-08-27 15:59:06 +0530 | [diff] [blame] | 34 | /* Now for the remaining common defines */ |
| 35 | #include <configs/ti_armv7_common.h> |
| 36 | |
| 37 | #endif /* __CONFIG_AM654_EVM_H */ |