tizen: add ramdisk2 partition to default parition table 16/114116/1
authorSeung-Woo Kim <sw0312.kim@samsung.com>
Fri, 10 Feb 2017 04:15:09 +0000 (13:15 +0900)
committerSeung-Woo Kim <sw0312.kim@samsung.com>
Fri, 10 Feb 2017 05:01:50 +0000 (14:01 +0900)
This patch adds ramdisk2 partition to default partition table to
flash ramdisk-recovery.img to the partition for recovery mode.

Change-Id: Ia6d1f78f14f40c83235af104c400af94552cb2f7
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
include/configs/tizen_tm1.h
property/tizen_part.h

index 1c0b878..4830323 100644 (file)
 #define PARTS_RUNTIMENV1       "runtimenv1"
 #define PARTS_RUNTIMENV2       "runtimenv2"
 #define PARTS_RAMDISK          "ramdisk1"
+#define PARTS_RAMDISK2         "ramdisk2"
 
 #define CONFIG_RAMDISK_BOOT    1
 
index 487577b..b12f176 100644 (file)
@@ -28,6 +28,7 @@ struct part_mapping_table thor_part_map[] = {
        { -1, PARTS_RUNTIMENV1, "", 0x5800, 0x800, 0x200 },
        { -1, PARTS_RUNTIMENV2, "", 0x6000, 0x800, 0x200 },
        { -1, PARTS_RAMDISK, "ramdisk", 0x1e000, 0x4000, 0x200 },
+       { -1, PARTS_RAMDISK2, "ramdisk-recovery", 0x22000, 0x4000, 0x200 },
 };
 
 #endif /* _TIZEN_PART_H_ */