1 /* SPDX-License-Identifier: GPL-2.0+ */
3 * Configuration header file for K3 J721E EVM
5 * Copyright (C) 2018-2020 Texas Instruments Incorporated - https://www.ti.com/
6 * Lokesh Vutla <lokeshvutla@ti.com>
9 #ifndef __CONFIG_J721E_EVM_H
10 #define __CONFIG_J721E_EVM_H
12 #include <linux/sizes.h>
14 /* DDR Configuration */
15 #define CFG_SYS_SDRAM_BASE1 0x880000000
16 /* FLASH Configuration */
17 #define CFG_SYS_FLASH_BASE 0x000000000
19 /* SPL Loader Configuration */
20 #if defined(CONFIG_TARGET_J721E_A72_EVM) || defined(CONFIG_TARGET_J7200_A72_EVM)
21 #define CFG_SYS_UBOOT_BASE 0x50280000
22 /* Image load address in RAM for DFU boot*/
24 #define CFG_SYS_UBOOT_BASE 0x50080000
27 #if CONFIG_IS_ENABLED(CMD_PXE)
28 # define BOOT_TARGET_PXE(func) func(PXE, pxe, na)
30 # define BOOT_TARGET_PXE(func)
33 #if CONFIG_IS_ENABLED(CMD_DHCP)
34 # define BOOT_TARGET_DHCP(func) func(DHCP, dhcp, na)
36 # define BOOT_TARGET_DHCP(func)
40 # define BOOT_TARGET_USB(func) func(USB, usb, 0)
42 # define BOOT_TARGET_USB(func)
45 #define BOOT_TARGET_DEVICES(func) \
46 BOOT_TARGET_USB(func) \
49 BOOT_TARGET_PXE(func) \
50 BOOT_TARGET_DHCP(func)
52 #include <config_distro_bootcmd.h>
54 /* Incorporate settings into the U-Boot environment */
55 #define CFG_EXTRA_ENV_SETTINGS \
58 /* Now for the remaining common defines */
59 #include <configs/ti_armv7_common.h>
61 /* MMC ENV related defines */
63 #endif /* __CONFIG_J721E_EVM_H */