xref: /openbmc/u-boot/include/configs/arndale.h (revision a22bbfda)
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_OFFSET	(CONFIG_BL2_OFFSET + CONFIG_BL2_SIZE)
31 
32 #define CONFIG_IRAM_STACK	0x02050000
33 
34 #define CONFIG_SYS_INIT_SP_ADDR	CONFIG_IRAM_STACK
35 
36 /* PMIC */
37 #define CONFIG_POWER
38 #define CONFIG_POWER_I2C
39 
40 #define CONFIG_PREBOOT
41 
42 #define CONFIG_S5P_PA_SYSRAM	0x02020000
43 #define CONFIG_SMP_PEN_ADDR	CONFIG_S5P_PA_SYSRAM
44 
45 /* The PERIPHBASE in the CBAR register is wrong on the Arndale, so override it */
46 #define CONFIG_ARM_GIC_BASE_ADDRESS	0x10480000
47 
48 /* Power */
49 #define CONFIG_POWER
50 #define CONFIG_POWER_I2C
51 
52 #endif	/* __CONFIG_H */
53