[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH] arm64: Fix the bug in fdt module
From: |
fu . wei |
Subject: |
[PATCH] arm64: Fix the bug in fdt module |
Date: |
Tue, 3 Nov 2015 16:55:59 +0800 |
From: Fu Wei <address@hidden>
This patch goes with commit:
4d0cb755387d6f109b901386ed4d3d475df239fe
arm64: Move FDT functions to separate module
linux and xen_boot modules can't work without this patch.
Signed-off-by: Fu Wei <address@hidden>
---
grub-core/Makefile.core.def | 1 +
grub-core/loader/arm64/fdt.c | 5 +++++
2 files changed, 6 insertions(+)
diff --git a/grub-core/Makefile.core.def b/grub-core/Makefile.core.def
index 2ef10d1..3ea4e49 100644
--- a/grub-core/Makefile.core.def
+++ b/grub-core/Makefile.core.def
@@ -1674,6 +1674,7 @@ module = {
module = {
name = fdt;
arm64 = loader/arm64/fdt.c;
+ fdt = lib/fdt.c;
enable = arm64;
};
diff --git a/grub-core/loader/arm64/fdt.c b/grub-core/loader/arm64/fdt.c
index 5202c14..d160ca0 100644
--- a/grub-core/loader/arm64/fdt.c
+++ b/grub-core/loader/arm64/fdt.c
@@ -25,6 +25,10 @@
#include <grub/file.h>
#include <grub/efi/efi.h>
+GRUB_MOD_LICENSE ("GPLv3+");
+
+static grub_dl_t my_mod;
+
static void *loaded_fdt;
static void *fdt;
@@ -177,6 +181,7 @@ GRUB_MOD_INIT (fdt)
cmd_devicetree =
grub_register_command ("devicetree", grub_cmd_devicetree, 0,
N_("Load DTB file."));
+ my_mod = mod;
}
GRUB_MOD_FINI (fdt)
--
2.4.3
- [PATCH] arm64: Fix the bug in fdt module,
fu . wei <=
- Message not available
Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Re: [PATCH] arm64: Fix the bug in fdt module, Vladimir 'phcoder' Serbinenko, 2015/11/04
- Re: [PATCH] arm64: Fix the bug in fdt module, Vladimir 'phcoder' Serbinenko, 2015/11/04
- Re: [PATCH] arm64: Fix the bug in fdt module, Fu Wei, 2015/11/05
- Re: [PATCH] arm64: Fix the bug in fdt module, Vladimir 'phcoder' Serbinenko, 2015/11/05
- Re: [PATCH] arm64: Fix the bug in fdt module, Fu Wei, 2015/11/05
- Re: [PATCH] arm64: Fix the bug in fdt module, Vladimir 'phcoder' Serbinenko, 2015/11/05
- Re: [PATCH] arm64: Fix the bug in fdt module, Fu Wei, 2015/11/05
- Re: [PATCH] arm64: Fix the bug in fdt module, Vladimir 'phcoder' Serbinenko, 2015/11/05