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