blob: 692c6bb5e42bd17aa1949faf6cb2e99a4c4cf1de [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/* Now for the remaining common defines */
27#include <configs/ti_armv7_common.h>
28
David Huang681023a2022-01-25 20:56:31 +053029#endif /* __CONFIG_J721S2_EVM_H */