board: ti: am654: a53: Add initial support for am654
[oweals/u-boot.git] / include / configs / am65x_evm.h
1 /* SPDX-License-Identifier: GPL-2.0+ */
2 /*
3  * Configuration header file for K3 AM654 EVM
4  *
5  * Copyright (C) 2017-2018 Texas Instruments Incorporated - http://www.ti.com/
6  *      Lokesh Vutla <lokeshvutla@ti.com>
7  */
8
9 #ifndef __CONFIG_AM654_EVM_H
10 #define __CONFIG_AM654_EVM_H
11
12 #include <linux/sizes.h>
13 #include <config_distro_bootcmd.h>
14
15 #define CONFIG_ENV_SIZE                 (128 << 10)
16
17 /* DDR Configuration */
18 #define CONFIG_SYS_SDRAM_BASE1          0x880000000
19
20 /* SPL Loader Configuration */
21 #ifdef CONFIG_TARGET_AM654_A53_EVM
22 #define CONFIG_SPL_TEXT_BASE            0x80080000
23 #endif
24
25 #define CONFIG_SKIP_LOWLEVEL_INIT
26
27 #define CONFIG_SPL_MAX_SIZE             CONFIG_SYS_K3_MAX_DOWNLODABLE_IMAGE_SIZE
28 #define CONFIG_SYS_INIT_SP_ADDR         (CONFIG_SPL_TEXT_BASE + \
29                                         CONFIG_SYS_K3_NON_SECURE_MSRAM_SIZE - 4)
30
31 /* Now for the remaining common defines */
32 #include <configs/ti_armv7_common.h>
33
34 #endif /* __CONFIG_AM654_EVM_H */