From: Chanho Park Date: Fri, 3 Jul 2015 05:00:35 +0000 (+0900) Subject: common: fastboot: configure android partition tables X-Git-Tag: submit/tizen/20160318.071304~149 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=531b369168159b3c2e1f1d542c641fde91c00973;p=profile%2Fcommon%2Fplatform%2Fkernel%2Fu-boot-artik.git common: fastboot: configure android partition tables 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 --- diff --git a/common/cmd_fastboot.c b/common/cmd_fastboot.c index a4a234368..292f69f96 100644 --- a/common/cmd_fastboot.c +++ b/common/cmd_fastboot.c @@ -1733,6 +1733,7 @@ static int set_partition_table_sdmmc() 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) @@ -1772,6 +1773,7 @@ static int set_partition_table_sdmmc() 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();