mirror of
https://github.com/torvalds/linux.git
synced 2026-06-08 14:42:37 +02:00
block: partitions: add rockchip partition support
Change-Id: If6171d434c5cf27b3072e542a840ea60f181c255 Signed-off-by: Huang, Tao <huangtao@rock-chips.com>
This commit is contained in:
parent
4258bc23b8
commit
3762c32d70
|
|
@ -261,6 +261,16 @@ config SYSV68_PARTITION
|
|||
sysv68).
|
||||
Otherwise, say N.
|
||||
|
||||
config RK_PARTITION
|
||||
bool "Rockchip partition table support" if PARTITION_ADVANCED
|
||||
default y if ARCH_ROCKCHIP
|
||||
---help---
|
||||
Like most systems, Rockchip use its own hard disk partition table
|
||||
format, incompatible with all others. Say Y here if you would like
|
||||
to be able to read the hard disk partition table format used by
|
||||
Rockchip SoCs inside machines with eMMC as main storage disk.
|
||||
Otherwise, say N.
|
||||
|
||||
config CMDLINE_PARTITION
|
||||
bool "Command line partition support" if PARTITION_ADVANCED
|
||||
select BLK_CMDLINE_PARSER
|
||||
|
|
|
|||
|
|
@ -8,6 +8,7 @@ obj-$(CONFIG_ACORN_PARTITION) += acorn.o
|
|||
obj-$(CONFIG_AMIGA_PARTITION) += amiga.o
|
||||
obj-$(CONFIG_ATARI_PARTITION) += atari.o
|
||||
obj-$(CONFIG_AIX_PARTITION) += aix.o
|
||||
obj-$(CONFIG_RK_PARTITION) += rk.o
|
||||
obj-$(CONFIG_CMDLINE_PARTITION) += cmdline.o
|
||||
obj-$(CONFIG_MAC_PARTITION) += mac.o
|
||||
obj-$(CONFIG_LDM_PARTITION) += ldm.o
|
||||
|
|
|
|||
|
|
@ -20,6 +20,7 @@
|
|||
|
||||
#include "check.h"
|
||||
|
||||
#include "rk.h"
|
||||
#include "acorn.h"
|
||||
#include "amiga.h"
|
||||
#include "atari.h"
|
||||
|
|
@ -66,6 +67,9 @@ static int (*check_part[])(struct parsed_partitions *) = {
|
|||
adfspart_check_ADFS,
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_RK_PARTITION
|
||||
rkpart_partition,
|
||||
#endif
|
||||
#ifdef CONFIG_CMDLINE_PARTITION
|
||||
cmdline_partition,
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user