Tom Rini | 10e4779 | 2018-05-06 17:58:06 -0400 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0+ */ |
Chander Kashyap | 0d2f277 | 2013-08-21 10:38:56 +0530 | [diff] [blame] | 2 | /* |
| 3 | * Copyright (C) 2013 Samsung Electronics |
| 4 | * |
Chander Kashyap | 0d2f277 | 2013-08-21 10:38:56 +0530 | [diff] [blame] | 5 | * Configuration settings for the SAMSUNG Arndale board. |
| 6 | */ |
| 7 | |
| 8 | #ifndef __CONFIG_ARNDALE_H |
| 9 | #define __CONFIG_ARNDALE_H |
| 10 | |
Ian Campbell | 3ecaa40 | 2014-11-09 10:44:32 +0000 | [diff] [blame] | 11 | #define EXYNOS_FDTFILE_SETTING \ |
| 12 | "fdtfile=exynos5250-arndale.dtb\0" |
| 13 | |
Simon Glass | 50dfd2c | 2014-10-07 22:01:48 -0600 | [diff] [blame] | 14 | #include "exynos5250-common.h" |
Simon Glass | 0b18b80 | 2015-08-03 08:19:29 -0600 | [diff] [blame] | 15 | #include <configs/exynos5-common.h> |
Chander Kashyap | 0d2f277 | 2013-08-21 10:38:56 +0530 | [diff] [blame] | 16 | |
Chander Kashyap | 0d2f277 | 2013-08-21 10:38:56 +0530 | [diff] [blame] | 17 | /* allow to overwrite serial and ethaddr */ |
| 18 | #define CONFIG_ENV_OVERWRITE |
| 19 | |
Chander Kashyap | 0d2f277 | 2013-08-21 10:38:56 +0530 | [diff] [blame] | 20 | /* MMC SPL */ |
Rajeshwari Birje | 5b475ae | 2013-12-26 09:44:24 +0530 | [diff] [blame] | 21 | #define CONFIG_EXYNOS_SPL |
Chander Kashyap | 0d2f277 | 2013-08-21 10:38:56 +0530 | [diff] [blame] | 22 | |
| 23 | /* Miscellaneous configurable options */ |
Chander Kashyap | 0d2f277 | 2013-08-21 10:38:56 +0530 | [diff] [blame] | 24 | #define CONFIG_DEFAULT_CONSOLE "console=ttySAC2,115200n8\0" |
Chander Kashyap | 0d2f277 | 2013-08-21 10:38:56 +0530 | [diff] [blame] | 25 | |
Chander Kashyap | 0d2f277 | 2013-08-21 10:38:56 +0530 | [diff] [blame] | 26 | #define CONFIG_ENV_OFFSET (CONFIG_BL2_OFFSET + CONFIG_BL2_SIZE) |
| 27 | |
Chander Kashyap | 0d2f277 | 2013-08-21 10:38:56 +0530 | [diff] [blame] | 28 | #define CONFIG_IRAM_STACK 0x02050000 |
| 29 | |
| 30 | #define CONFIG_SYS_INIT_SP_ADDR CONFIG_IRAM_STACK |
| 31 | |
Chander Kashyap | 0d2f277 | 2013-08-21 10:38:56 +0530 | [diff] [blame] | 32 | /* PMIC */ |
Simon Glass | 0b18b80 | 2015-08-03 08:19:29 -0600 | [diff] [blame] | 33 | #define CONFIG_POWER |
Simon Glass | 0222981 | 2014-05-20 06:01:34 -0600 | [diff] [blame] | 34 | #define CONFIG_POWER_I2C |
Chander Kashyap | 0d2f277 | 2013-08-21 10:38:56 +0530 | [diff] [blame] | 35 | |
Tushar Behera | bcf2363 | 2014-06-10 14:54:18 +0530 | [diff] [blame] | 36 | #define CONFIG_PREBOOT |
| 37 | |
Andre Przywara | 64d4c22 | 2014-08-01 13:35:44 +0200 | [diff] [blame] | 38 | #define CONFIG_S5P_PA_SYSRAM 0x02020000 |
| 39 | #define CONFIG_SMP_PEN_ADDR CONFIG_S5P_PA_SYSRAM |
| 40 | |
| 41 | /* The PERIPHBASE in the CBAR register is wrong on the Arndale, so override it */ |
| 42 | #define CONFIG_ARM_GIC_BASE_ADDRESS 0x10480000 |
| 43 | |
Simon Glass | 76fc3ad | 2015-08-03 08:19:28 -0600 | [diff] [blame] | 44 | /* Power */ |
| 45 | #define CONFIG_POWER |
| 46 | #define CONFIG_POWER_I2C |
| 47 | |
Chander Kashyap | 0d2f277 | 2013-08-21 10:38:56 +0530 | [diff] [blame] | 48 | #endif /* __CONFIG_H */ |