mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-14 17:07:38 +00:00
fce062d91a
Move to using .env file for setting up environment variables for J721E and J7200. Signed-off-by: Neha Malcom Francis <n-francis@ti.com> Reviewed-by: Tom Rini <trini@konsulko.com>
63 lines
1.5 KiB
C
63 lines
1.5 KiB
C
/* SPDX-License-Identifier: GPL-2.0+ */
|
|
/*
|
|
* Configuration header file for K3 J721E EVM
|
|
*
|
|
* Copyright (C) 2018-2020 Texas Instruments Incorporated - https://www.ti.com/
|
|
* Lokesh Vutla <lokeshvutla@ti.com>
|
|
*/
|
|
|
|
#ifndef __CONFIG_J721E_EVM_H
|
|
#define __CONFIG_J721E_EVM_H
|
|
|
|
#include <linux/sizes.h>
|
|
|
|
/* DDR Configuration */
|
|
#define CFG_SYS_SDRAM_BASE1 0x880000000
|
|
/* FLASH Configuration */
|
|
#define CFG_SYS_FLASH_BASE 0x000000000
|
|
|
|
/* SPL Loader Configuration */
|
|
#if defined(CONFIG_TARGET_J721E_A72_EVM) || defined(CONFIG_TARGET_J7200_A72_EVM)
|
|
#define CFG_SYS_UBOOT_BASE 0x50280000
|
|
/* Image load address in RAM for DFU boot*/
|
|
#else
|
|
#define CFG_SYS_UBOOT_BASE 0x50080000
|
|
#endif
|
|
|
|
#if CONFIG_IS_ENABLED(CMD_PXE)
|
|
# define BOOT_TARGET_PXE(func) func(PXE, pxe, na)
|
|
#else
|
|
# define BOOT_TARGET_PXE(func)
|
|
#endif
|
|
|
|
#if CONFIG_IS_ENABLED(CMD_DHCP)
|
|
# define BOOT_TARGET_DHCP(func) func(DHCP, dhcp, na)
|
|
#else
|
|
# define BOOT_TARGET_DHCP(func)
|
|
#endif
|
|
|
|
#ifdef CONFIG_CMD_USB
|
|
# define BOOT_TARGET_USB(func) func(USB, usb, 0)
|
|
#else
|
|
# define BOOT_TARGET_USB(func)
|
|
#endif
|
|
|
|
#define BOOT_TARGET_DEVICES(func) \
|
|
BOOT_TARGET_USB(func) \
|
|
func(MMC, mmc, 1) \
|
|
func(MMC, mmc, 0) \
|
|
BOOT_TARGET_PXE(func) \
|
|
BOOT_TARGET_DHCP(func)
|
|
|
|
#include <config_distro_bootcmd.h>
|
|
|
|
/* Incorporate settings into the U-Boot environment */
|
|
#define CFG_EXTRA_ENV_SETTINGS \
|
|
BOOTENV
|
|
|
|
/* Now for the remaining common defines */
|
|
#include <configs/ti_armv7_common.h>
|
|
|
|
/* MMC ENV related defines */
|
|
|
|
#endif /* __CONFIG_J721E_EVM_H */
|