recovery: update is modified to support various image
[kernel/u-boot.git] / include / configs / s5pc1xx_universal.h
index b94b211..c4ffa75 100644 (file)
@@ -37,6 +37,7 @@
 #define CONFIG_S5PC110         1       /* which is in a S5PC110 */
 #define CONFIG_UNIVERSAL       1       /* working with Universal */
 #define CONFIG_MACH_AQUILA     1       /* working with Aquila */
+#define CONFIG_RECOVERY                1       /* working with recovery block */
 
 #include <asm/arch/cpu.h>              /* get chip and board defs */
 
                                ",7m(kernel)"\
                                ",1m(log)"\
                                ",12m(modem)"\
-                               ",32m(qboot)"\
+                               ",60m(qboot)"\
                                ",-(UBI)\0"
 
 #define MTDPARTS_DEFAULT_4KB   "mtdparts=samsung-onenand:1m(bootloader)"\
                                ",7m(kernel)"\
                                ",1m(log)"\
                                ",12m(modem)"\
-                               ",32m(qboot)"\
+                               ",60m(qboot)"\
                                ",-(UBI)\0"
 
 #define NORMAL_MTDPARTS_DEFAULT MTDPARTS_DEFAULT
        "mmcblk=/dev/mmcblk1p1\0" \
        "bootblock=9\0" \
        "ubiblock=8\0" \
-       "ubi=enabled"
+       "ubi=enabled\0" \
+       "opts=always_resume=1"
 
 /*
  * Miscellaneous configurable options
 #define CONFIG_ONENAND_START_PAGE      4
 
 /* IPL + RECOVERY + U-BOOT */
+#define CONFIG_RECOVERY_UBOOT_BLOCK    1
 #define CONFIG_RECOVERY_BOOT_BLOCKS    4
 
 #define CONFIG_ENV_IS_IN_ONENAND       1
 #define CONFIG_ENV_SIZE                        (256 << 10)     /* 256 KiB, 0x40000 */
 #define CONFIG_ENV_ADDR                        (1 << 20)       /* 1 MB, 0x100000 */
 
+#define CONFIG_RECOVERY_SIZE           (768 << 10)     /* 768 KiB, 0xC0000 */
+#define CONFIG_RECOVERY_ADDR           (256 << 10)     /* 256 KiB, 0x40000 */
+
 #define CONFIG_USE_ONENAND_BOARD_INIT
 #define CONFIG_SAMSUNG_ONENAND         1
 #define CONFIG_SYS_ONENAND_BASE                0xB0000000