Tom Rini | 83d290c | 2018-05-06 17:58:06 -0400 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0+ */ |
Chander Kashyap | a2ac68f | 2013-08-21 10:38:56 +0530 | [diff] [blame] | 2 | /* |
| 3 | * Copyright (C) 2013 Samsung Electronics |
| 4 | * |
Chander Kashyap | a2ac68f | 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 | e6825e0 | 2014-11-09 10:44:32 +0000 | [diff] [blame] | 11 | #define EXYNOS_FDTFILE_SETTING \ |
| 12 | "fdtfile=exynos5250-arndale.dtb\0" |
| 13 | |
Simon Glass | f94de73 | 2014-10-07 22:01:48 -0600 | [diff] [blame] | 14 | #include "exynos5250-common.h" |
Simon Glass | bf637ea | 2015-08-03 08:19:29 -0600 | [diff] [blame] | 15 | #include <configs/exynos5-common.h> |
Chander Kashyap | a2ac68f | 2013-08-21 10:38:56 +0530 | [diff] [blame] | 16 | |
| 17 | /* SD/MMC configuration */ |
Chander Kashyap | a2ac68f | 2013-08-21 10:38:56 +0530 | [diff] [blame] | 18 | #define CONFIG_SUPPORT_EMMC_BOOT |
Chander Kashyap | a2ac68f | 2013-08-21 10:38:56 +0530 | [diff] [blame] | 19 | |
| 20 | /* allow to overwrite serial and ethaddr */ |
| 21 | #define CONFIG_ENV_OVERWRITE |
| 22 | |
Chander Kashyap | a2ac68f | 2013-08-21 10:38:56 +0530 | [diff] [blame] | 23 | /* MMC SPL */ |
Rajeshwari Birje | e106bd9 | 2013-12-26 09:44:24 +0530 | [diff] [blame] | 24 | #define CONFIG_EXYNOS_SPL |
Chander Kashyap | a2ac68f | 2013-08-21 10:38:56 +0530 | [diff] [blame] | 25 | |
| 26 | /* Miscellaneous configurable options */ |
Chander Kashyap | a2ac68f | 2013-08-21 10:38:56 +0530 | [diff] [blame] | 27 | #define CONFIG_DEFAULT_CONSOLE "console=ttySAC2,115200n8\0" |
Chander Kashyap | a2ac68f | 2013-08-21 10:38:56 +0530 | [diff] [blame] | 28 | |
Chander Kashyap | a2ac68f | 2013-08-21 10:38:56 +0530 | [diff] [blame] | 29 | #define CONFIG_ENV_OFFSET (CONFIG_BL2_OFFSET + CONFIG_BL2_SIZE) |
| 30 | |
Chander Kashyap | a2ac68f | 2013-08-21 10:38:56 +0530 | [diff] [blame] | 31 | #define CONFIG_IRAM_STACK 0x02050000 |
| 32 | |
| 33 | #define CONFIG_SYS_INIT_SP_ADDR CONFIG_IRAM_STACK |
| 34 | |
Chander Kashyap | a2ac68f | 2013-08-21 10:38:56 +0530 | [diff] [blame] | 35 | /* PMIC */ |
Simon Glass | bf637ea | 2015-08-03 08:19:29 -0600 | [diff] [blame] | 36 | #define CONFIG_POWER |
Simon Glass | 913702c | 2014-05-20 06:01:34 -0600 | [diff] [blame] | 37 | #define CONFIG_POWER_I2C |
Chander Kashyap | a2ac68f | 2013-08-21 10:38:56 +0530 | [diff] [blame] | 38 | |
Tushar Behera | f8caed3 | 2014-06-10 14:54:18 +0530 | [diff] [blame] | 39 | #define CONFIG_PREBOOT |
| 40 | |
Andre Przywara | fafbc6c | 2014-08-01 13:35:44 +0200 | [diff] [blame] | 41 | #define CONFIG_S5P_PA_SYSRAM 0x02020000 |
| 42 | #define CONFIG_SMP_PEN_ADDR CONFIG_S5P_PA_SYSRAM |
| 43 | |
| 44 | /* The PERIPHBASE in the CBAR register is wrong on the Arndale, so override it */ |
| 45 | #define CONFIG_ARM_GIC_BASE_ADDRESS 0x10480000 |
| 46 | |
Simon Glass | d4061aa | 2015-08-03 08:19:28 -0600 | [diff] [blame] | 47 | /* Power */ |
| 48 | #define CONFIG_POWER |
| 49 | #define CONFIG_POWER_I2C |
| 50 | |
Chander Kashyap | a2ac68f | 2013-08-21 10:38:56 +0530 | [diff] [blame] | 51 | #endif /* __CONFIG_H */ |