part: rkparm: add RKPARAM_ENTRY_NUMBERS definition
rkparam shouldn't depends on GPT partition. Change-Id: Ifc235c4166facadfc2fe0eb6b08ce7fd8850738b Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
This commit is contained in:
parent
d156c9ff6f
commit
19f6a16924
|
|
@ -213,7 +213,7 @@ static int part_test_rkparm(struct blk_desc *dev_desc)
|
|||
U_BOOT_PART_TYPE(b_rkparm) = {
|
||||
.name = "RKPARM",
|
||||
.part_type = PART_TYPE_RKPARM,
|
||||
.max_entries = GPT_ENTRY_NUMBERS,
|
||||
.max_entries = RKPARM_ENTRY_NUMBERS,
|
||||
.get_info = part_get_info_ptr(part_get_info_rkparm),
|
||||
.print = part_print_ptr(part_print_rkparm),
|
||||
.test = part_test_rkparm,
|
||||
|
|
|
|||
|
|
@ -36,6 +36,7 @@ struct block_drvr {
|
|||
#define ISO_ENTRY_NUMBERS 64
|
||||
#define MAC_ENTRY_NUMBERS 64
|
||||
#define AMIGA_ENTRY_NUMBERS 8
|
||||
#define RKPARM_ENTRY_NUMBERS 128
|
||||
/*
|
||||
* Type string for U-Boot bootable partitions
|
||||
*/
|
||||
|
|
|
|||
Loading…
Reference in New Issue