summaryrefslogtreecommitdiff
path: root/include/configs/exynos5-dt-common.h
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2015-08-03 08:19:29 -0600
committerSimon Glass <sjg@chromium.org>2015-08-05 21:06:16 -0600
commitbf637ea5e48b26e01c440ed7d108eada1345ffd2 (patch)
treef384b1112dad69ac1375989ff7d88c9465da4c89 /include/configs/exynos5-dt-common.h
parentbae34335e8aef46d7103907580c40f18f1876bb0 (diff)
exynos: config: Move common options to the common headers and tidy up
Many options are duplicated on the exynos5 boards. Move these to the common files. Also some options are not used so can be removed. Tidy this up to make the files easier to maintain. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Przemyslaw Marczak <p.marczak@samsung.com>
Diffstat (limited to 'include/configs/exynos5-dt-common.h')
-rw-r--r--include/configs/exynos5-dt-common.h16
1 files changed, 15 insertions, 1 deletions
diff --git a/include/configs/exynos5-dt-common.h b/include/configs/exynos5-dt-common.h
index 098734b542..29ef84b6a3 100644
--- a/include/configs/exynos5-dt-common.h
+++ b/include/configs/exynos5-dt-common.h
@@ -16,7 +16,21 @@
"stdout=serial,lcd\0" \
"stderr=serial,lcd\0"
-#include "exynos5-common.h"
+#define CONFIG_ENV_IS_IN_SPI_FLASH
+#define CONFIG_ENV_SPI_BASE 0x12D30000
+#define FLASH_SIZE (4 << 20)
+#define CONFIG_ENV_OFFSET (FLASH_SIZE - CONFIG_ENV_SECT_SIZE)
+#define CONFIG_SPI_BOOTING
+
+#define CONFIG_BOARD_COMMON
+
+/* Display */
+#define CONFIG_LCD
+#ifdef CONFIG_LCD
+#define CONFIG_EXYNOS_FB
+#define CONFIG_EXYNOS_DP
+#define LCD_BPP LCD_COLOR16
+#endif
/* Enable keyboard */
#define CONFIG_KEYBOARD