Merge branch 'pmic' of git://git.denx.de/u-boot-mmc
[platform/kernel/u-boot.git] / include / configs / arndale.h
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_PMIC
40 #define CONFIG_POWER_I2C
41
42 #define CONFIG_PREBOOT
43
44 #define CONFIG_S5P_PA_SYSRAM    0x02020000
45 #define CONFIG_SMP_PEN_ADDR     CONFIG_S5P_PA_SYSRAM
46
47 /* The PERIPHBASE in the CBAR register is wrong on the Arndale, so override it */
48 #define CONFIG_ARM_GIC_BASE_ADDRESS     0x10480000
49
50 /* Power */
51 #define CONFIG_POWER
52 #define CONFIG_POWER_I2C
53
54 #endif  /* __CONFIG_H */