mirror of
https://xff.cz/git/u-boot/
synced 2025-09-30 06:51:28 +02:00
part: move efi_guid_t
Prep work for next patch. Signed-off-by: Rob Clark <robdclark@gmail.com> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: Alexander Graf <agraf@suse.de>
This commit is contained in:
committed by
Alexander Graf
parent
0923876d29
commit
0d6ab32e37
@@ -28,6 +28,10 @@
|
|||||||
|
|
||||||
struct efi_device_path;
|
struct efi_device_path;
|
||||||
|
|
||||||
|
typedef struct {
|
||||||
|
u8 b[16];
|
||||||
|
} efi_guid_t;
|
||||||
|
|
||||||
#define EFI_BITS_PER_LONG BITS_PER_LONG
|
#define EFI_BITS_PER_LONG BITS_PER_LONG
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
@@ -280,8 +280,9 @@ struct part_driver {
|
|||||||
#define U_BOOT_PART_TYPE(__name) \
|
#define U_BOOT_PART_TYPE(__name) \
|
||||||
ll_entry_declare(struct part_driver, __name, part_driver)
|
ll_entry_declare(struct part_driver, __name, part_driver)
|
||||||
|
|
||||||
#if CONFIG_IS_ENABLED(EFI_PARTITION)
|
|
||||||
#include <part_efi.h>
|
#include <part_efi.h>
|
||||||
|
|
||||||
|
#if CONFIG_IS_ENABLED(EFI_PARTITION)
|
||||||
/* disk/part_efi.c */
|
/* disk/part_efi.c */
|
||||||
/**
|
/**
|
||||||
* write_gpt_table() - Write the GUID Partition Table to disk
|
* write_gpt_table() - Write the GUID Partition Table to disk
|
||||||
|
@@ -58,10 +58,6 @@
|
|||||||
/* linux/include/efi.h */
|
/* linux/include/efi.h */
|
||||||
typedef u16 efi_char16_t;
|
typedef u16 efi_char16_t;
|
||||||
|
|
||||||
typedef struct {
|
|
||||||
u8 b[16];
|
|
||||||
} efi_guid_t;
|
|
||||||
|
|
||||||
/* based on linux/include/genhd.h */
|
/* based on linux/include/genhd.h */
|
||||||
struct partition {
|
struct partition {
|
||||||
u8 boot_ind; /* 0x80 - active */
|
u8 boot_ind; /* 0x80 - active */
|
||||||
|
Reference in New Issue
Block a user