Vignesh Raghavendra | bf9bca7 | 2022-05-25 13:38:49 +0530 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0+ */ |
| 2 | /* |
| 3 | * Configuration header file for K3 AM625 SoC family |
| 4 | * |
| 5 | * Copyright (C) 2020-2022 Texas Instruments Incorporated - https://www.ti.com/ |
| 6 | * Suman Anna <s-anna@ti.com> |
| 7 | */ |
| 8 | |
| 9 | #ifndef __CONFIG_AM625_EVM_H |
| 10 | #define __CONFIG_AM625_EVM_H |
| 11 | |
| 12 | #include <config_distro_bootcmd.h> |
| 13 | #include <environment/ti/mmc.h> |
| 14 | |
| 15 | /* DDR Configuration */ |
Tom Rini | bb4dd96 | 2022-11-16 13:10:37 -0500 | [diff] [blame] | 16 | #define CFG_SYS_SDRAM_BASE1 0x880000000 |
Vignesh Raghavendra | bf9bca7 | 2022-05-25 13:38:49 +0530 | [diff] [blame] | 17 | |
Martyn Welch | 70651cc | 2022-12-20 18:38:19 +0000 | [diff] [blame] | 18 | #ifdef CONFIG_CMD_MMC |
| 19 | #define DISTRO_BOOT_DEV_MMC(func) func(MMC, mmc, 0) func(MMC, mmc, 1) |
| 20 | #else |
| 21 | #define DISTRO_BOOT_DEV_MMC(func) |
| 22 | #endif |
| 23 | |
| 24 | #ifdef CONFIG_CMD_PXE |
| 25 | #define DISTRO_BOOT_DEV_PXE(func) func(PXE, pxe, na) |
| 26 | #else |
| 27 | #define DISTRO_BOOT_DEV_PXE(func) |
| 28 | #endif |
| 29 | |
| 30 | #ifdef CONFIG_CMD_DHCP |
| 31 | #define DISTRO_BOOT_DEV_DHCP(func) func(DHCP, dhcp, na) |
| 32 | #else |
| 33 | #define DISTRO_BOOT_DEV_DHCP(func) |
| 34 | #endif |
| 35 | |
| 36 | #define BOOT_TARGET_DEVICES(func) \ |
| 37 | DISTRO_BOOT_DEV_MMC(func) \ |
| 38 | DISTRO_BOOT_DEV_PXE(func) \ |
| 39 | DISTRO_BOOT_DEV_DHCP(func) |
| 40 | |
Vignesh Raghavendra | bf9bca7 | 2022-05-25 13:38:49 +0530 | [diff] [blame] | 41 | /* Incorporate settings into the U-Boot environment */ |
Tom Rini | c9edebe | 2022-12-04 10:03:50 -0500 | [diff] [blame] | 42 | #define CFG_EXTRA_ENV_SETTINGS \ |
Martyn Welch | 70651cc | 2022-12-20 18:38:19 +0000 | [diff] [blame] | 43 | BOOTENV |
Vignesh Raghavendra | bf9bca7 | 2022-05-25 13:38:49 +0530 | [diff] [blame] | 44 | |
| 45 | /* Now for the remaining common defines */ |
| 46 | #include <configs/ti_armv7_common.h> |
| 47 | |
| 48 | #endif /* __CONFIG_AM625_EVM_H */ |