summaryrefslogtreecommitdiff
path: root/arch/arm/mach-uniphier/init/init.c
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.masahiro@socionext.com>2015-12-17 17:47:42 +0900
committerMasahiro Yamada <yamada.masahiro@socionext.com>2015-12-23 00:08:40 +0900
commit6ba60fafdabc88f45088881d36cb776484394117 (patch)
tree34696fdf117d02028ef4980985118571bbbe5ba2 /arch/arm/mach-uniphier/init/init.c
parent2071f149e5d9376d392281689cf41cd165f7e19c (diff)
ARM: uniphier: call uniphier_get_board_param() without FDT blob
Move "gd->fdt_blob" from the caller to the callee so that this function can be used more easily. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Diffstat (limited to 'arch/arm/mach-uniphier/init/init.c')
-rw-r--r--arch/arm/mach-uniphier/init/init.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/arch/arm/mach-uniphier/init/init.c b/arch/arm/mach-uniphier/init/init.c
index bbfc8e5e08..eda169e374 100644
--- a/arch/arm/mach-uniphier/init/init.c
+++ b/arch/arm/mach-uniphier/init/init.c
@@ -9,13 +9,11 @@
#include <mach/init.h>
#include <mach/soc_info.h>
-DECLARE_GLOBAL_DATA_PTR;
-
void spl_board_init(void)
{
const struct uniphier_board_data *param;
- param = uniphier_get_board_param(gd->fdt_blob);
+ param = uniphier_get_board_param();
if (!param)
hang();