xref: /openbmc/u-boot/include/configs/arndale.h (revision ef64e782)
1 /* SPDX-License-Identifier: GPL-2.0+ */
2 /*
3  * Copyright (C) 2013 Samsung Electronics
4  *
5  * Configuration settings for the SAMSUNG Arndale board.
6  */
7 
8 #ifndef __CONFIG_ARNDALE_H
9 #define __CONFIG_ARNDALE_H
10 
11 #define EXYNOS_FDTFILE_SETTING \
12 	"fdtfile=exynos5250-arndale.dtb\0"
13 
14 #include "exynos5250-common.h"
15 #include <configs/exynos5-common.h>
16 
17 /* SD/MMC configuration */
18 #define CONFIG_SUPPORT_EMMC_BOOT
19 
20 /* allow to overwrite serial and ethaddr */
21 #define CONFIG_ENV_OVERWRITE
22 
23 /* MMC SPL */
24 #define CONFIG_EXYNOS_SPL
25 
26 /* Miscellaneous configurable options */
27 #define CONFIG_DEFAULT_CONSOLE		"console=ttySAC2,115200n8\0"
28 
29 #define CONFIG_ENV_OFFSET	(CONFIG_BL2_OFFSET + CONFIG_BL2_SIZE)
30 
31 #define CONFIG_IRAM_STACK	0x02050000
32 
33 #define CONFIG_SYS_INIT_SP_ADDR	CONFIG_IRAM_STACK
34 
35 /* PMIC */
36 #define CONFIG_POWER
37 #define CONFIG_POWER_I2C
38 
39 #define CONFIG_PREBOOT
40 
41 #define CONFIG_S5P_PA_SYSRAM	0x02020000
42 #define CONFIG_SMP_PEN_ADDR	CONFIG_S5P_PA_SYSRAM
43 
44 /* The PERIPHBASE in the CBAR register is wrong on the Arndale, so override it */
45 #define CONFIG_ARM_GIC_BASE_ADDRESS	0x10480000
46 
47 /* Power */
48 #define CONFIG_POWER
49 #define CONFIG_POWER_I2C
50 
51 #endif	/* __CONFIG_H */
52