This patch is the first step to use fastboot non-android system. This
patch changes android specific partitions could be used only if defined
CONFIG_ANDROID_PARTITIONS.
Signed-off-by: Chanho Park <chanho61.park@samsung.com>
ptable[pcount].flags = FASTBOOT_PTENTRY_FLAGS_USE_MOVI_CMD;
pcount++;
#endif
+#ifdef CONFIG_ANDROID_PARTITIONS
/* System */
get_mmc_part_info(dev_num, 2, &start, &count, &pid);
if (pid != 0x83)
ptable[pcount].length = count * CFG_FASTBOOT_SDMMC_BLOCKSIZE;
ptable[pcount].flags = FASTBOOT_PTENTRY_FLAGS_USE_MMC_CMD;
pcount++;
+#endif /* End of CONFIG_ANDROID_PARTITIONS */
#if 1 // Debug
fastboot_flash_dump_ptn();