tizen: add ramdisk1 partition to default partition table 21/111921/1 accepted/tizen/mobile/20170227.050547 submit/tizen/20170227.015201
authorSeung-Woo Kim <sw0312.kim@samsung.com>
Wed, 25 Jan 2017 00:31:52 +0000 (09:31 +0900)
committerSeung-Woo Kim <sw0312.kim@samsung.com>
Wed, 25 Jan 2017 00:31:55 +0000 (09:31 +0900)
This patch adds ramdisk1 partition to default partition table to
flash ramdisk.img to the partition.

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

index f4924ef..916c108 100644 (file)
 #define PARTS_ROOTFS           "rootfs"
 #define PARTS_RUNTIMENV1       "runtimenv1"
 #define PARTS_RUNTIMENV2       "runtimenv2"
+#define PARTS_RAMDISK          "ramdisk1"
 
 #define CONFIG_SIG
 
index 386d0eb..487577b 100644 (file)
@@ -27,6 +27,7 @@ struct part_mapping_table thor_part_map[] = {
        { 26, PARTS_ROOTFS, "rootfs", 0xc9d000, 0x1c0000, 0x200 },
        { -1, PARTS_RUNTIMENV1, "", 0x5800, 0x800, 0x200 },
        { -1, PARTS_RUNTIMENV2, "", 0x6000, 0x800, 0x200 },
+       { -1, PARTS_RAMDISK, "ramdisk", 0x1e000, 0x4000, 0x200 },
 };
 
 #endif /* _TIZEN_PART_H_ */