From 0eb9c61b163897ce42932843ef1442d50075f4fc Mon Sep 17 00:00:00 2001 From: Seung-Woo Kim Date: Fri, 10 Feb 2017 13:15:09 +0900 Subject: [PATCH] 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 --- include/configs/tizen_tm1.h | 1 + property/tizen_part.h | 1 + 2 files changed, 2 insertions(+) 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_ */ -- 2.7.4