diff options
author | Masahiro Yamada <yamada.masahiro@socionext.com> | 2015-12-17 17:47:42 +0900 |
---|---|---|
committer | Masahiro Yamada <yamada.masahiro@socionext.com> | 2015-12-23 00:08:40 +0900 |
commit | 6ba60fafdabc88f45088881d36cb776484394117 (patch) | |
tree | 34696fdf117d02028ef4980985118571bbbe5ba2 /arch/arm/mach-uniphier/init/init.c | |
parent | 2071f149e5d9376d392281689cf41cd165f7e19c (diff) | |
download | u-boot-imx-6ba60fafdabc88f45088881d36cb776484394117.zip u-boot-imx-6ba60fafdabc88f45088881d36cb776484394117.tar.gz u-boot-imx-6ba60fafdabc88f45088881d36cb776484394117.tar.bz2 |
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.c | 4 |
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 bbfc8e5..eda169e 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(); |