summaryrefslogtreecommitdiff
path: root/arch/arm/mach-uniphier
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2016-09-24 18:19:57 -0600
committerTom Rini <trini@konsulko.com>2016-10-06 14:53:36 -0400
commitecdfd69a4be55363589e8185ff151b02e6c36cfa (patch)
treeb625ae78bfe96236f62320061a1a667f4d8e446d /arch/arm/mach-uniphier
parenta807ab33035fe2e9b63aac2e7475525ca8d90adc (diff)
downloadu-boot-imx-ecdfd69a4be55363589e8185ff151b02e6c36cfa.zip
u-boot-imx-ecdfd69a4be55363589e8185ff151b02e6c36cfa.tar.gz
u-boot-imx-ecdfd69a4be55363589e8185ff151b02e6c36cfa.tar.bz2
spl: Convert boot_device into a struct
At present some spl_xxx_load_image() functions take a parameter and some don't. Of those that do, most take an integer but one takes a string. Convert this parameter into a struct so that we can pass all functions the same thing. This will allow us to use a common function signature. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'arch/arm/mach-uniphier')
-rw-r--r--arch/arm/mach-uniphier/boot-mode/spl_board.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-uniphier/boot-mode/spl_board.c b/arch/arm/mach-uniphier/boot-mode/spl_board.c
index 63ab41c..4eadc2f 100644
--- a/arch/arm/mach-uniphier/boot-mode/spl_board.c
+++ b/arch/arm/mach-uniphier/boot-mode/spl_board.c
@@ -65,7 +65,7 @@ int uniphier_rom_get_mmc_funcptr(int (**send_cmd)(u32, u32),
return 0;
}
-int spl_board_load_image(void)
+int spl_board_load_image(struct spl_boot_device *bootdev)
{
int (*send_cmd)(u32 cmd, u32 arg);
int (*card_blockaddr)(u32 rca);