487577b99052142ba7f91b382bb06a9c301ab2a3
[profile/mobile/platform/kernel/u-boot-tm1.git] / property / tizen_part.h
1 #ifndef _TIZEN_PART_H_
2 #define _TIZEN_PART_H_
3
4 #define F_PART_BUF_SIZE                 32
5
6 struct part_mapping_table {
7         int part_num;
8         char part_name[72 / sizeof(unsigned short)];
9         char file_name[F_PART_BUF_SIZE];
10         unsigned long start;
11         unsigned long size;
12         unsigned long blksz;
13 };
14
15 struct part_mapping_table thor_part_map[] = {
16         { -1, PARTS_BOOT, "u-boot", 0x11000, 0x1000, 0x200 },
17         { -1, PARTS_BOOT, "u-boot-mmc", 0x11000, 0x1000, 0x200 },
18         { -1, PARTS_KERNEL, "dzImage", 0x16000, 0x4000, 0x200 },
19         { -1, PARTS_RECOVERY, "dzImage-recovery", 0x1a000, 0x4000, 0x200 },
20         { -1, PARTS_MODULE, "modules", 0x26000, 0x6000, 0x200 },
21         { -1, PARTS_MODEM, "SPRDCP", 0x2c000, 0x4000, 0x200 },
22         { -1, PARTS_DSP, "SPRDDSP", 0x30000, 0x2000, 0x200 },
23         { -1, PARTS_FIXNV1, "nvitem-back", 0x2800, 0x800, 0x200 },
24         { -1, PARTS_FIXNV2, "nvitem", 0x3000, 0x800, 0x200 },
25         { -1, PARTS_SYSDATA, "system-data", 0x43000, 0x40000, 0x200 },
26         { -1, PARTS_USER, "user", 0x83000, 0xc1a000, 0x200 },
27         { 26, PARTS_ROOTFS, "rootfs", 0xc9d000, 0x1c0000, 0x200 },
28         { -1, PARTS_RUNTIMENV1, "", 0x5800, 0x800, 0x200 },
29         { -1, PARTS_RUNTIMENV2, "", 0x6000, 0x800, 0x200 },
30         { -1, PARTS_RAMDISK, "ramdisk", 0x1e000, 0x4000, 0x200 },
31 };
32
33 #endif /* _TIZEN_PART_H_ */