diff options
author | Marek Vasut <marek.vasut+renesas@gmail.com> | 2018-04-04 14:34:40 +0300 |
---|---|---|
committer | Marek Vasut <marek.vasut+renesas@gmail.com> | 2018-04-12 00:11:54 +0300 |
commit | ce19d4ca7dc43ff053d2a06f4bed9696cee97902 (patch) | |
tree | b11e6665dd26980f745d093dfc93c3e648135224 /board/renesas/porter/porter.c | |
parent | d79dfd4519c3f357a2523acfeb26eca6f59eae4d (diff) | |
download | u-boot-ce19d4ca7dc43ff053d2a06f4bed9696cee97902.tar.xz |
ARM: rmobile: Split U-Boot and SPL sources on Porter
Pull the SPL code from porter.c into a separate file in
preparation for the addition of system initialization code.
No functional change.
Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com>
Cc: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
Diffstat (limited to 'board/renesas/porter/porter.c')
-rw-r--r-- | board/renesas/porter/porter.c | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/board/renesas/porter/porter.c b/board/renesas/porter/porter.c index 320841f27b..acd4f91d59 100644 --- a/board/renesas/porter/porter.c +++ b/board/renesas/porter/porter.c @@ -136,25 +136,3 @@ void reset_cpu(ulong addr) if (ret) hang(); } - -#ifdef CONFIG_SPL_BUILD -#include <spl.h> -void board_init_f(ulong dummy) -{ - board_early_init_f(); -} - -void spl_board_init(void) -{ - /* UART clocks enabled and gd valid - init serial console */ - preloader_console_init(); -} - -void board_boot_order(u32 *spl_boot_list) -{ - /* Boot from SPI NOR with YMODEM UART fallback. */ - spl_boot_list[0] = BOOT_DEVICE_SPI; - spl_boot_list[1] = BOOT_DEVICE_UART; - spl_boot_list[2] = BOOT_DEVICE_NONE; -} -#endif |