]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
x86: Remove DECLARE_GLOBAL_DATA_PTR in board files
authorBin Meng <bmeng.cn@gmail.com>
Thu, 30 Apr 2015 11:05:24 +0000 (19:05 +0800)
committerSimon Glass <sjg@chromium.org>
Thu, 4 Jun 2015 08:39:38 +0000 (02:39 -0600)
gd is not referenced in those board files so DECLARE_GLOBAL_DATA_PTR
should be removed.

Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Acked-by: Simon Glass <sjg@chromium.org>
board/intel/crownbay/crownbay.c
board/intel/galileo/galileo.c
board/intel/minnowmax/minnowmax.c

index 31bb3202130fc05bec72542571608fd9848297f1..ad2d5b69d6e6f28ae799363befef576874258c4f 100644 (file)
@@ -12,8 +12,6 @@
 
 #define SERIAL_DEV PNP_DEV(0x2e, 4)
 
-DECLARE_GLOBAL_DATA_PTR;
-
 int board_early_init_f(void)
 {
        lpc47m_enable_serial(SERIAL_DEV, UART0_BASE, UART0_IRQ);
index f2e74687ed4598252d8ac8c39cc1d0d973e8e4a2..746ab277cb35c67645b8d454ce79a86afcc5e4fa 100644 (file)
@@ -6,8 +6,6 @@
 
 #include <common.h>
 
-DECLARE_GLOBAL_DATA_PTR;
-
 int board_early_init_f(void)
 {
        return 0;
index fd2070afb28660b31d0adb255169f56ec9a31b47..1f5549a4586cc217991c7f5381aef2157e46c75e 100644 (file)
@@ -12,8 +12,6 @@
 
 #define SERIAL_DEV PNP_DEV(0x2e, 4)
 
-DECLARE_GLOBAL_DATA_PTR;
-
 int board_early_init_f(void)
 {
        lpc47m_enable_serial(SERIAL_DEV, UART0_BASE, UART0_IRQ);