diff options
author | richardretanubun <richardretanubun@ruggedcom.com> | 2008-09-26 11:13:22 -0400 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2008-10-18 21:54:01 +0200 |
commit | 07f3d789b9beb7ce3278c974f4d5c8f51b6ab567 (patch) | |
tree | cb0ae1f7368cf8de7146f3161315018ea7cac367 /include | |
parent | fbc87dc0546dff709b38f358e2c5d5e39c4ca374 (diff) | |
download | u-boot-imx-07f3d789b9beb7ce3278c974f4d5c8f51b6ab567.zip u-boot-imx-07f3d789b9beb7ce3278c974f4d5c8f51b6ab567.tar.gz u-boot-imx-07f3d789b9beb7ce3278c974f4d5c8f51b6ab567.tar.bz2 |
Add support for CONFIG_EFI_PARTITION (GUID Partition Table)
The GUID (Globally Unique Identifier) Partition Table (GPT) is a part
of EFI. See http://en.wikipedia.org/wiki/GUID_Partition_Table
Based on linux/fs/partitions/efi.[ch]
Signed-off-by: Richard Retanubun <RichardRetanubun@RugggedCom.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/part.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/part.h b/include/part.h index b22a637..980fd04 100644 --- a/include/part.h +++ b/include/part.h @@ -69,6 +69,7 @@ typedef struct block_dev_desc { #define PART_TYPE_DOS 0x02 #define PART_TYPE_ISO 0x03 #define PART_TYPE_AMIGA 0x04 +#define PART_TYPE_EFI 0x05 /* * Type string for U-Boot bootable partitions @@ -135,4 +136,11 @@ void print_part_amiga (block_dev_desc_t *dev_desc); int test_part_amiga (block_dev_desc_t *dev_desc); #endif +#ifdef CONFIG_EFI_PARTITION +/* disk/part_efi.c */ +int get_partition_info_efi (block_dev_desc_t * dev_desc, int part, disk_partition_t *info); +void print_part_efi (block_dev_desc_t *dev_desc); +int test_part_efi (block_dev_desc_t *dev_desc); +#endif + #endif /* _PART_H */ |