2022-01-25 15:26:31 +00:00
|
|
|
/* 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 */
|
2022-11-16 18:10:37 +00:00
|
|
|
#define CFG_SYS_SDRAM_BASE1 0x880000000
|
2022-01-25 15:26:31 +00:00
|
|
|
|
|
|
|
/* SPL Loader Configuration */
|
|
|
|
#if defined(CONFIG_TARGET_J721S2_A72_EVM) || defined(CONFIG_TARGET_J7200_A72_EVM)
|
2022-11-16 18:10:41 +00:00
|
|
|
#define CFG_SYS_UBOOT_BASE 0x50280000
|
2022-01-25 15:26:31 +00:00
|
|
|
/* Image load address in RAM for DFU boot*/
|
|
|
|
#else
|
2022-11-16 18:10:41 +00:00
|
|
|
#define CFG_SYS_UBOOT_BASE 0x50080000
|
2022-01-25 15:26:31 +00:00
|
|
|
#endif
|
|
|
|
|
|
|
|
/* Incorporate settings into the U-Boot environment */
|
2023-03-15 05:27:44 +00:00
|
|
|
#define CFG_EXTRA_ENV_SETTINGS
|
2022-01-25 15:26:31 +00:00
|
|
|
|
|
|
|
/* Now for the remaining common defines */
|
|
|
|
#include <configs/ti_armv7_common.h>
|
|
|
|
|
|
|
|
/* MMC ENV related defines */
|
|
|
|
|
|
|
|
#endif /* __CONFIG_J721S2_EVM_H */
|