blob: 2fa93b79614c9e1743b4f71778362beddd02b494 [file] [log] [blame]
David Huang61098202022-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 Huang61098202022-01-25 20:56:31 +053014
15/* DDR Configuration */
Tom Rinibb4dd962022-11-16 13:10:37 -050016#define CFG_SYS_SDRAM_BASE1 0x880000000
David Huang61098202022-01-25 20:56:31 +053017
18/* SPL Loader Configuration */
19#if defined(CONFIG_TARGET_J721S2_A72_EVM) || defined(CONFIG_TARGET_J7200_A72_EVM)
Tom Rini6a5dccc2022-11-16 13:10:41 -050020#define CFG_SYS_UBOOT_BASE 0x50280000
David Huang61098202022-01-25 20:56:31 +053021/* Image load address in RAM for DFU boot*/
22#else
Tom Rini6a5dccc2022-11-16 13:10:41 -050023#define CFG_SYS_UBOOT_BASE 0x50080000
David Huang61098202022-01-25 20:56:31 +053024#endif
25
David Huang61098202022-01-25 20:56:31 +053026/* Incorporate settings into the U-Boot environment */
Neha Malcom Francis409af1f2023-03-15 10:57:44 +053027#define CFG_EXTRA_ENV_SETTINGS
David Huang61098202022-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 */