From 1816491ef9cf99e6f8b7d29f9b099d585c75d964 Mon Sep 17 00:00:00 2001 From: Seung-Woo Kim Date: Wed, 25 Jan 2017 09:31:52 +0900 Subject: [PATCH] tizen: add ramdisk1 partition to default partition table 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 --- 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 f4924ef..916c108 100644 --- a/include/configs/tizen_tm1.h +++ b/include/configs/tizen_tm1.h @@ -409,6 +409,7 @@ #define PARTS_ROOTFS "rootfs" #define PARTS_RUNTIMENV1 "runtimenv1" #define PARTS_RUNTIMENV2 "runtimenv2" +#define PARTS_RAMDISK "ramdisk1" #define CONFIG_SIG diff --git a/property/tizen_part.h b/property/tizen_part.h index 386d0eb..487577b 100644 --- a/property/tizen_part.h +++ b/property/tizen_part.h @@ -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_ */ -- 2.7.4