ARM: dreamplug: Enable FDT support
[oweals/u-boot.git] / include / configs / origen.h
index 889d5fc727847fecd25b1b5cb63872df6e8dabd6..8ede82575c74136ccbb54f1b254135d04c24eb82 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * Copyright (C) 2011 Samsung Electronics
  *
- * Configuration settings for the SAMSUNG ORIGEN (S5PV310) board.
+ * Configuration settings for the SAMSUNG ORIGEN (EXYNOS4210) board.
  *
  * See file CREDITS for list of people who contributed to this
  * project.
@@ -28,7 +28,7 @@
 /* High Level Configuration Options */
 #define CONFIG_SAMSUNG                 1       /* SAMSUNG core */
 #define CONFIG_S5P                     1       /* S5P Family */
-#define CONFIG_S5PC210                 1       /* which is in a S5PC210 SoC */
+#define CONFIG_EXYNOS4210              1       /* which is a EXYNOS4210 SoC */
 #define CONFIG_ORIGEN                  1       /* working with ORIGEN*/
 
 #include <asm/arch/cpu.h>              /* get chip and board defs */
@@ -52,8 +52,6 @@
 #define CONFIG_INITRD_TAG
 #define CONFIG_CMDLINE_EDITING
 
-/* MACH_TYPE_ORIGEN macro will be removed once added to mach-types */
-#define MACH_TYPE_ORIGEN               3455
 #define CONFIG_MACH_TYPE               MACH_TYPE_ORIGEN
 
 /* Power Down Modes */
@@ -68,7 +66,7 @@
 #define CONFIG_SERIAL_MULTI            1
 #define CONFIG_SERIAL2                 1       /* use SERIAL 2 */
 #define CONFIG_BAUDRATE                        115200
-#define S5PC210_DEFAULT_UART_OFFSET    0x020000
+#define EXYNOS4_DEFAULT_UART_OFFSET    0x020000
 
 /* SD/MMC configuration */
 #define CONFIG_GENERIC_MMC             1
 #define COPY_BL2_SIZE          0x80000
 #define BL2_START_OFFSET       ((CONFIG_ENV_OFFSET + CONFIG_ENV_SIZE)/512)
 #define BL2_SIZE_BLOC_COUNT    (COPY_BL2_SIZE/512)
+
+/* Enable devicetree support */
+#define CONFIG_OF_LIBFDT
 #endif /* __CONFIG_H */