blob: 74fd9c422730e8d83d99e0c949b144e5475a4620 [file] [log] [blame]
Chander Kashyapa2ac68f2013-08-21 10:38:56 +05301/*
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
Ian Campbelle6825e02014-11-09 10:44:32 +000012#define EXYNOS_FDTFILE_SETTING \
13 "fdtfile=exynos5250-arndale.dtb\0"
14
Simon Glassf94de732014-10-07 22:01:48 -060015#include "exynos5250-common.h"
Simon Glassbf637ea2015-08-03 08:19:29 -060016#include <configs/exynos5-common.h>
Chander Kashyapa2ac68f2013-08-21 10:38:56 +053017
18/* SD/MMC configuration */
Chander Kashyapa2ac68f2013-08-21 10:38:56 +053019#define CONFIG_SUPPORT_EMMC_BOOT
Chander Kashyapa2ac68f2013-08-21 10:38:56 +053020
21/* allow to overwrite serial and ethaddr */
22#define CONFIG_ENV_OVERWRITE
23
Chander Kashyapa2ac68f2013-08-21 10:38:56 +053024/* MMC SPL */
Rajeshwari Birjee106bd92013-12-26 09:44:24 +053025#define CONFIG_EXYNOS_SPL
Chander Kashyapa2ac68f2013-08-21 10:38:56 +053026
27/* Miscellaneous configurable options */
Chander Kashyapa2ac68f2013-08-21 10:38:56 +053028#define CONFIG_DEFAULT_CONSOLE "console=ttySAC2,115200n8\0"
Chander Kashyapa2ac68f2013-08-21 10:38:56 +053029
Chander Kashyapa2ac68f2013-08-21 10:38:56 +053030#define CONFIG_ENV_IS_IN_MMC
Chander Kashyapa2ac68f2013-08-21 10:38:56 +053031#define CONFIG_ENV_OFFSET (CONFIG_BL2_OFFSET + CONFIG_BL2_SIZE)
32
Chander Kashyapa2ac68f2013-08-21 10:38:56 +053033#define CONFIG_IRAM_STACK 0x02050000
34
35#define CONFIG_SYS_INIT_SP_ADDR CONFIG_IRAM_STACK
36
Chander Kashyapa2ac68f2013-08-21 10:38:56 +053037/* PMIC */
Simon Glassbf637ea2015-08-03 08:19:29 -060038#define CONFIG_POWER
Chander Kashyapa2ac68f2013-08-21 10:38:56 +053039#define CONFIG_PMIC
Simon Glass913702c2014-05-20 06:01:34 -060040#define CONFIG_POWER_I2C
Chander Kashyapa2ac68f2013-08-21 10:38:56 +053041
Tushar Beheraf8caed32014-06-10 14:54:18 +053042#define CONFIG_PREBOOT
43
Andre Przywarafafbc6c2014-08-01 13:35:44 +020044#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
Ian Campbelle392b922015-09-29 10:27:09 +010050/* CPU Errata */
51#define CONFIG_ARM_ERRATA_773022
52#define CONFIG_ARM_ERRATA_774769
53
Simon Glassd4061aa2015-08-03 08:19:28 -060054/* Power */
55#define CONFIG_POWER
56#define CONFIG_POWER_I2C
57
Chander Kashyapa2ac68f2013-08-21 10:38:56 +053058#endif /* __CONFIG_H */