diff options
author | Simon Glass <sjg@chromium.org> | 2017-01-16 17:03:37 +0300 |
---|---|---|
committer | Bin Meng <bmeng.cn@gmail.com> | 2017-02-06 06:38:46 +0300 |
commit | 05af050e9f1d6c120744e0e7a683d9b0be886d28 (patch) | |
tree | 8eb9a388794b102cf18cb1a972a819809398b553 /arch/x86/cpu/ivybridge/bd82x6x.c | |
parent | e71ffd0951f4e8dd7c43a34a3fdc4be10f29db41 (diff) | |
download | u-boot-05af050e9f1d6c120744e0e7a683d9b0be886d28.tar.xz |
x86: ivybridge: Declare global data where it is used
Some files are missing this declaration. Add it to avoid build errors when
we actually need the declaration.
Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Diffstat (limited to 'arch/x86/cpu/ivybridge/bd82x6x.c')
-rw-r--r-- | arch/x86/cpu/ivybridge/bd82x6x.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/x86/cpu/ivybridge/bd82x6x.c b/arch/x86/cpu/ivybridge/bd82x6x.c index e63ea6b22e..e3eff69cf6 100644 --- a/arch/x86/cpu/ivybridge/bd82x6x.c +++ b/arch/x86/cpu/ivybridge/bd82x6x.c @@ -19,6 +19,8 @@ #include <asm/arch/pch.h> #include <asm/arch/sandybridge.h> +DECLARE_GLOBAL_DATA_PTR; + #define GPIO_BASE 0x48 #define BIOS_CTRL 0xdc |