blob: 1e0da9f96c5e6cfd35f8b452d714f64e97feadb3 [file] [log] [blame]
David Huang681023a2022-01-25 20:56:31 +05301/* SPDX-License-Identifier: GPL-2.0+ */
2/*
3 * Configuration header file for K3 J721S2 EVM
4 *
5 * Copyright (C) 2021 Texas Instruments Incorporated - https://www.ti.com/
6 * David Huang <d-huang@ti.com>
7 */
8
9#ifndef __CONFIG_J721S2_EVM_H
10#define __CONFIG_J721S2_EVM_H
11
12#include <linux/sizes.h>
13#include <config_distro_bootcmd.h>
David Huang681023a2022-01-25 20:56:31 +053014
15/* DDR Configuration */
Tom Riniaa6e94d2022-11-16 13:10:37 -050016#define CFG_SYS_SDRAM_BASE1 0x880000000
David Huang681023a2022-01-25 20:56:31 +053017
18/* SPL Loader Configuration */
Andrew Davisb4d10f02023-04-06 11:38:14 -050019#if defined(CONFIG_TARGET_J721S2_A72_EVM)
Tom Rini65cc0e22022-11-16 13:10:41 -050020#define CFG_SYS_UBOOT_BASE 0x50280000
David Huang681023a2022-01-25 20:56:31 +053021/* Image load address in RAM for DFU boot*/
22#else
Tom Rini65cc0e22022-11-16 13:10:41 -050023#define CFG_SYS_UBOOT_BASE 0x50080000
David Huang681023a2022-01-25 20:56:31 +053024#endif
25
David Huang681023a2022-01-25 20:56:31 +053026/* Incorporate settings into the U-Boot environment */
Neha Malcom Francis7e55dd22023-03-15 10:57:44 +053027#define CFG_EXTRA_ENV_SETTINGS
David Huang681023a2022-01-25 20:56:31 +053028
29/* Now for the remaining common defines */
30#include <configs/ti_armv7_common.h>
31
32/* MMC ENV related defines */
33
34#endif /* __CONFIG_J721S2_EVM_H */