David Huang | 681023a | 2022-01-25 20:56:31 +0530 | [diff] [blame] | 1 | /* 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 Huang | 681023a | 2022-01-25 20:56:31 +0530 | [diff] [blame] | 14 | |
| 15 | /* DDR Configuration */ |
Tom Rini | aa6e94d | 2022-11-16 13:10:37 -0500 | [diff] [blame] | 16 | #define CFG_SYS_SDRAM_BASE1 0x880000000 |
David Huang | 681023a | 2022-01-25 20:56:31 +0530 | [diff] [blame] | 17 | |
| 18 | /* SPL Loader Configuration */ |
Andrew Davis | b4d10f0 | 2023-04-06 11:38:14 -0500 | [diff] [blame^] | 19 | #if defined(CONFIG_TARGET_J721S2_A72_EVM) |
Tom Rini | 65cc0e2 | 2022-11-16 13:10:41 -0500 | [diff] [blame] | 20 | #define CFG_SYS_UBOOT_BASE 0x50280000 |
David Huang | 681023a | 2022-01-25 20:56:31 +0530 | [diff] [blame] | 21 | /* Image load address in RAM for DFU boot*/ |
| 22 | #else |
Tom Rini | 65cc0e2 | 2022-11-16 13:10:41 -0500 | [diff] [blame] | 23 | #define CFG_SYS_UBOOT_BASE 0x50080000 |
David Huang | 681023a | 2022-01-25 20:56:31 +0530 | [diff] [blame] | 24 | #endif |
| 25 | |
David Huang | 681023a | 2022-01-25 20:56:31 +0530 | [diff] [blame] | 26 | /* Incorporate settings into the U-Boot environment */ |
Neha Malcom Francis | 7e55dd2 | 2023-03-15 10:57:44 +0530 | [diff] [blame] | 27 | #define CFG_EXTRA_ENV_SETTINGS |
David Huang | 681023a | 2022-01-25 20:56:31 +0530 | [diff] [blame] | 28 | |
| 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 */ |