blob: b08f341227543efd4acb5dca78282fd9c8b1661b [file] [log] [blame]
Chander Kashyap0d2f2772013-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 Campbell3ecaa402014-11-09 10:44:32 +000012#define EXYNOS_FDTFILE_SETTING \
13 "fdtfile=exynos5250-arndale.dtb\0"
14
Simon Glass50dfd2c2014-10-07 22:01:48 -060015#include "exynos5250-common.h"
Simon Glass0b18b802015-08-03 08:19:29 -060016#include <configs/exynos5-common.h>
Chander Kashyap0d2f2772013-08-21 10:38:56 +053017
18/* SD/MMC configuration */
Chander Kashyap0d2f2772013-08-21 10:38:56 +053019#define CONFIG_SUPPORT_EMMC_BOOT
Chander Kashyap0d2f2772013-08-21 10:38:56 +053020
21/* allow to overwrite serial and ethaddr */
22#define CONFIG_ENV_OVERWRITE
23
Chander Kashyap0d2f2772013-08-21 10:38:56 +053024/* MMC SPL */
Rajeshwari Birje5b475ae2013-12-26 09:44:24 +053025#define CONFIG_EXYNOS_SPL
Chander Kashyap0d2f2772013-08-21 10:38:56 +053026
27/* Miscellaneous configurable options */
Chander Kashyap0d2f2772013-08-21 10:38:56 +053028#define CONFIG_DEFAULT_CONSOLE "console=ttySAC2,115200n8\0"
Chander Kashyap0d2f2772013-08-21 10:38:56 +053029
Chander Kashyap0d2f2772013-08-21 10:38:56 +053030#define CONFIG_IDENT_STRING " for ARNDALE"
31
Chander Kashyap0d2f2772013-08-21 10:38:56 +053032#define CONFIG_ENV_IS_IN_MMC
Chander Kashyap0d2f2772013-08-21 10:38:56 +053033#define CONFIG_ENV_OFFSET (CONFIG_BL2_OFFSET + CONFIG_BL2_SIZE)
34
Chander Kashyap0d2f2772013-08-21 10:38:56 +053035#define CONFIG_IRAM_STACK 0x02050000
36
37#define CONFIG_SYS_INIT_SP_ADDR CONFIG_IRAM_STACK
38
Chander Kashyap0d2f2772013-08-21 10:38:56 +053039/* PMIC */
Simon Glass0b18b802015-08-03 08:19:29 -060040#define CONFIG_POWER
Chander Kashyap0d2f2772013-08-21 10:38:56 +053041#define CONFIG_PMIC
Simon Glass02229812014-05-20 06:01:34 -060042#define CONFIG_POWER_I2C
Chander Kashyap0d2f2772013-08-21 10:38:56 +053043
Tushar Beherabcf23632014-06-10 14:54:18 +053044#define CONFIG_PREBOOT
45
Andre Przywara64d4c222014-08-01 13:35:44 +020046#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
Ian Campbell363e4242015-09-29 10:27:09 +010052/* CPU Errata */
53#define CONFIG_ARM_ERRATA_773022
54#define CONFIG_ARM_ERRATA_774769
55
Simon Glass76fc3ad2015-08-03 08:19:28 -060056/* Power */
57#define CONFIG_POWER
58#define CONFIG_POWER_I2C
59
Chander Kashyap0d2f2772013-08-21 10:38:56 +053060#endif /* __CONFIG_H */