arm efi: Use fdt from firmware when available
If EFI is nice enough to pass us an FDT using configuration tables on 32bit ARM, we should really try and make use of it. Signed-off-by: Alexander Graf <agraf@suse.de> Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
This commit is contained in:
parent
fbca374105
commit
e1b099fb69
1 changed files with 1 additions and 5 deletions
|
@ -40,11 +40,7 @@
|
||||||
# define LINUX_PHYS_OFFSET (0x00008000)
|
# define LINUX_PHYS_OFFSET (0x00008000)
|
||||||
# define LINUX_INITRD_PHYS_OFFSET (LINUX_PHYS_OFFSET + 0x02000000)
|
# define LINUX_INITRD_PHYS_OFFSET (LINUX_PHYS_OFFSET + 0x02000000)
|
||||||
# define LINUX_FDT_PHYS_OFFSET (LINUX_INITRD_PHYS_OFFSET - 0x10000)
|
# define LINUX_FDT_PHYS_OFFSET (LINUX_INITRD_PHYS_OFFSET - 0x10000)
|
||||||
static inline grub_addr_t
|
# define grub_arm_firmware_get_boot_data (grub_addr_t)grub_efi_get_firmware_fdt
|
||||||
grub_arm_firmware_get_boot_data (void)
|
|
||||||
{
|
|
||||||
return 0;
|
|
||||||
}
|
|
||||||
static inline grub_uint32_t
|
static inline grub_uint32_t
|
||||||
grub_arm_firmware_get_machine_type (void)
|
grub_arm_firmware_get_machine_type (void)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue