mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-08 03:40:35 +09:00
rkemmc: if card is emmc, msdos_partition return false
This commit is contained in:
@@ -440,6 +440,11 @@ int msdos_partition(struct parsed_partitions *state)
|
||||
struct partition *p;
|
||||
struct fat_boot_sector *fb;
|
||||
int slot;
|
||||
#ifdef CONFIG_EMMC_RK
|
||||
//if card is emmc, msdos_partition return false
|
||||
if(state->bdev->bd_disk->first_minor == 0)
|
||||
return 0;
|
||||
#endif
|
||||
|
||||
data = read_part_sector(state, 0, §);
|
||||
if (!data)
|
||||
|
||||
Reference in New Issue
Block a user