config: Update envs for trats and trats2 - new entries for new partitions
authorŁukasz Majewski <l.majewski@samsung.com>
Tue, 14 Jan 2014 07:02:24 +0000 (08:02 +0100)
committerTom Rini <trini@ti.com>
Fri, 17 Jan 2014 01:13:22 +0000 (20:13 -0500)
This patch adds extra dfu_alt_info entries to support storing the whole BOOT
, DATA and UMS partitions.
This allows upgrade of uImage and device tree blob (dtb) files at once.

Now it is also possible to store ext4 rootfs prepared with well established
linux tools (like mkfs.ext4).

Signed-off-by: Lukasz Majewski <l.majewski@samsung.com>
Acked-by: Minkyu Kang <mk7.kang@samsung.com>
include/configs/trats.h
include/configs/trats2.h

index 6cd15c25bdbdfc5ce29160b376b2443e684629c9..0bdfe86477af382d6a56493680392dad9592b1dd 100644 (file)
        "u-boot mmc 80 400;" \
        "uImage ext4 0 2;" \
        "exynos4210-trats.dtb ext4 0 2;" \
-       ""PARTS_ROOT" part 0 5\0"
+       ""PARTS_BOOT" part 0 2;" \
+       ""PARTS_ROOT" part 0 5;" \
+       ""PARTS_DATA" part 0 6;" \
+       ""PARTS_UMS" part 0 7\0"
 
 #define CONFIG_ENV_OVERWRITE
 #define CONFIG_SYS_CONSOLE_INFO_QUIET
index c9ce8286665c98d1c605b5ff722d527bd2822bf6..f335280c0df8b43ce1e0ce53f7f2a78729d14235 100644 (file)
        "u-boot mmc 80 800;" \
        "uImage ext4 0 2;" \
        "exynos4412-trats2.dtb ext4 0 2;" \
-       ""PARTS_ROOT" part 0 5\0"
+       ""PARTS_BOOT" part 0 2;" \
+       ""PARTS_ROOT" part 0 5;" \
+       ""PARTS_DATA" part 0 6;" \
+       ""PARTS_UMS" part 0 7\0"
 
 #define CONFIG_EXTRA_ENV_SETTINGS \
        "bootk=" \