diff options
author | Bin Meng <bmeng.cn@gmail.com> | 2015-04-30 19:05:24 +0800 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2015-06-04 02:39:38 -0600 |
commit | 8feb2cc62446fe1de30cb71433ab27917e92e8bd (patch) | |
tree | fcbcac3c208713154b040c92e47fa1066a4c8cd9 | |
parent | 1ae5b78c45dc8badf541ca07716a7e0d932deebf (diff) | |
download | u-boot-imx-8feb2cc62446fe1de30cb71433ab27917e92e8bd.zip u-boot-imx-8feb2cc62446fe1de30cb71433ab27917e92e8bd.tar.gz u-boot-imx-8feb2cc62446fe1de30cb71433ab27917e92e8bd.tar.bz2 |
x86: Remove DECLARE_GLOBAL_DATA_PTR in board files
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>
-rw-r--r-- | board/intel/crownbay/crownbay.c | 2 | ||||
-rw-r--r-- | board/intel/galileo/galileo.c | 2 | ||||
-rw-r--r-- | board/intel/minnowmax/minnowmax.c | 2 |
3 files changed, 0 insertions, 6 deletions
diff --git a/board/intel/crownbay/crownbay.c b/board/intel/crownbay/crownbay.c index 31bb320..ad2d5b6 100644 --- a/board/intel/crownbay/crownbay.c +++ b/board/intel/crownbay/crownbay.c @@ -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); diff --git a/board/intel/galileo/galileo.c b/board/intel/galileo/galileo.c index f2e7468..746ab27 100644 --- a/board/intel/galileo/galileo.c +++ b/board/intel/galileo/galileo.c @@ -6,8 +6,6 @@ #include <common.h> -DECLARE_GLOBAL_DATA_PTR; - int board_early_init_f(void) { return 0; diff --git a/board/intel/minnowmax/minnowmax.c b/board/intel/minnowmax/minnowmax.c index fd2070a..1f5549a 100644 --- a/board/intel/minnowmax/minnowmax.c +++ b/board/intel/minnowmax/minnowmax.c @@ -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); |