summaryrefslogtreecommitdiff
path: root/arch/arm/mach-uniphier/board_late_init.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-uniphier/board_late_init.c')
-rw-r--r--arch/arm/mach-uniphier/board_late_init.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/arm/mach-uniphier/board_late_init.c b/arch/arm/mach-uniphier/board_late_init.c
index b800e8b8c6..8c5e5bb58f 100644
--- a/arch/arm/mach-uniphier/board_late_init.c
+++ b/arch/arm/mach-uniphier/board_late_init.c
@@ -9,9 +9,7 @@
#include <init.h>
#include <spl.h>
#include <linux/libfdt.h>
-#include <nand.h>
#include <stdio.h>
-#include <linux/io.h>
#include <linux/printk.h>
#include "init.h"
@@ -53,6 +51,7 @@ fail:
static void uniphier_set_env_addr(const char *env, const char *offset_env)
{
+ DECLARE_GLOBAL_DATA_PTR;
unsigned long offset = 0;
const char *str;
char *end;