[U-Boot] [PATCH 1/5] x86: Add missing DECLARE_GLOBAL_DATA_PTR for pci.c

Bin Meng bmeng.cn at gmail.com
Fri Dec 19 08:19:24 CET 2014


Signed-off-by: Bin Meng <bmeng.cn at gmail.com>
---

 arch/x86/cpu/pci.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/arch/x86/cpu/pci.c b/arch/x86/cpu/pci.c
index f3492c3..404fbb6 100644
--- a/arch/x86/cpu/pci.c
+++ b/arch/x86/cpu/pci.c
@@ -15,6 +15,8 @@
 #include <pci.h>
 #include <asm/pci.h>
 
+DECLARE_GLOBAL_DATA_PTR;
+
 static struct pci_controller x86_hose;
 
 int pci_early_init_hose(struct pci_controller **hosep)
-- 
1.8.2.1



More information about the U-Boot mailing list