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