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