diff options
author | Masahiro Yamada <yamada.masahiro@socionext.com> | 2020-07-30 18:28:06 +0900 |
---|---|---|
committer | Masahiro Yamada <yamada.masahiro@socionext.com> | 2020-08-18 02:01:14 +0900 |
commit | 055e5ad28793b460e5d1eb77d4f6521459db8978 (patch) | |
tree | 77397666358e101208a21aec03cb98cd574dd781 /arch | |
parent | 2dbb6beb00ffd951bc836944aecc42777d71f648 (diff) | |
download | u-boot-055e5ad28793b460e5d1eb77d4f6521459db8978.tar.gz u-boot-055e5ad28793b460e5d1eb77d4f6521459db8978.tar.bz2 u-boot-055e5ad28793b460e5d1eb77d4f6521459db8978.zip |
ARM: uniphier: remove unneeded header inclusion from board_late_init.c
<nand.h> is unneeded since commit 9248a78f40d6 ("ARM: UniPhier: remove
Denali NAND controller fixup code").
<linux/io.h> is uneeded since commit 1320fa2e55d2 ("ARM: uniphier:
remove workaround for the NAND write protect").
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/mach-uniphier/board_late_init.c | 3 |
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; |