From: Seung-Woo Kim Date: Fri, 10 Feb 2017 04:15:09 +0000 (+0900) Subject: tizen: add ramdisk2 partition to default parition table X-Git-Tag: accepted/tizen/mobile/20170306.102415~3 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=0eb9c61b163897ce42932843ef1442d50075f4fc;hp=cda554e2afee98343e51296d9ff98b8d04cae4fd;p=profile%2Fmobile%2Fplatform%2Fkernel%2Fu-boot-tm1.git tizen: add ramdisk2 partition to default parition table 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 --- diff --git a/include/configs/tizen_tm1.h b/include/configs/tizen_tm1.h index 1c0b878..4830323 100644 --- a/include/configs/tizen_tm1.h +++ b/include/configs/tizen_tm1.h @@ -410,6 +410,7 @@ #define PARTS_RUNTIMENV1 "runtimenv1" #define PARTS_RUNTIMENV2 "runtimenv2" #define PARTS_RAMDISK "ramdisk1" +#define PARTS_RAMDISK2 "ramdisk2" #define CONFIG_RAMDISK_BOOT 1 diff --git a/property/tizen_part.h b/property/tizen_part.h index 487577b..b12f176 100644 --- a/property/tizen_part.h +++ b/property/tizen_part.h @@ -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_ */