Skip to content
Snippets Groups Projects
Commit 8feb2cc6 authored by Bin Meng's avatar Bin Meng Committed by Simon Glass
Browse files

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: default avatarBin Meng <bmeng.cn@gmail.com>
Acked-by: default avatarSimon Glass <sjg@chromium.org>
parent 1ae5b78c
No related branches found
No related tags found
No related merge requests found
......@@ -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);
......
......@@ -6,8 +6,6 @@
#include <common.h>
DECLARE_GLOBAL_DATA_PTR;
int board_early_init_f(void)
{
return 0;
......
......@@ -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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment