]> git.sur5r.net Git - u-boot/blobdiff - include/configs/origen.h
microblaze: Enable TFTP put command
[u-boot] / include / configs / origen.h
index e8252cc3111ac986851bc8a0330efd12c51e838d..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
@@ -94,6 +92,9 @@
 
 #define CONFIG_BOOTDELAY               3
 #define CONFIG_ZERO_BOOTDELAY_CHECK
+/* MMC SPL */
+#define CONFIG_SPL
+#define COPY_BL2_FNPTR_ADDR    0x02020030
 
 #define CONFIG_BOOTCOMMAND     "fatload mmc 0 40007000 uImage; bootm 40007000"
 
 #define CONFIG_DOS_PARTITION           1
 
 #define CONFIG_SYS_INIT_SP_ADDR        (CONFIG_SYS_LOAD_ADDR - GENERATED_GBL_DATA_SIZE)
+
+/* U-boot copy size from boot Media to DRAM.*/
+#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 */