u-boot/include/configs/j721s2_evm.h
Neha Malcom Francis 7e55dd25c3 include: configs: j721s2_evm: Change to using .env
Move to using .env file for setting up environment variables for J721S2.

Signed-off-by: Neha Malcom Francis <n-francis@ti.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
2023-03-29 13:30:29 -04:00

34 lines
876 B
C

/* SPDX-License-Identifier: GPL-2.0+ */
/*
* Configuration header file for K3 J721S2 EVM
*
* Copyright (C) 2021 Texas Instruments Incorporated - https://www.ti.com/
* David Huang <d-huang@ti.com>
*/
#ifndef __CONFIG_J721S2_EVM_H
#define __CONFIG_J721S2_EVM_H
#include <linux/sizes.h>
#include <config_distro_bootcmd.h>
/* DDR Configuration */
#define CFG_SYS_SDRAM_BASE1 0x880000000
/* SPL Loader Configuration */
#if defined(CONFIG_TARGET_J721S2_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
/* Incorporate settings into the U-Boot environment */
#define CFG_EXTRA_ENV_SETTINGS
/* Now for the remaining common defines */
#include <configs/ti_armv7_common.h>
/* MMC ENV related defines */
#endif /* __CONFIG_J721S2_EVM_H */