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