summaryrefslogtreecommitdiffstats
path: root/board
diff options
context:
space:
mode:
authorBin Meng <bmeng.cn@gmail.com>2015-04-30 19:05:24 +0800
committerSimon Glass <sjg@chromium.org>2015-06-04 02:39:38 -0600
commit8feb2cc62446fe1de30cb71433ab27917e92e8bd (patch)
treefcbcac3c208713154b040c92e47fa1066a4c8cd9 /board
parent1ae5b78c45dc8badf541ca07716a7e0d932deebf (diff)
downloadtalos-obmc-uboot-8feb2cc62446fe1de30cb71433ab27917e92e8bd.tar.gz
talos-obmc-uboot-8feb2cc62446fe1de30cb71433ab27917e92e8bd.zip
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>
Diffstat (limited to 'board')
-rw-r--r--board/intel/crownbay/crownbay.c2
-rw-r--r--board/intel/galileo/galileo.c2
-rw-r--r--board/intel/minnowmax/minnowmax.c2
3 files changed, 0 insertions, 6 deletions
diff --git a/board/intel/crownbay/crownbay.c b/board/intel/crownbay/crownbay.c
index 31bb320213..ad2d5b69d6 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 f2e74687ed..746ab277cb 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 fd2070afb2..1f5549a458 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);
OpenPOWER on IntegriCloud