ARM: uniphier: move spl_boot_mode() to a separate file
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Mon, 13 Feb 2017 16:24:25 +0000 (01:24 +0900)
committerMasahiro Yamada <yamada.masahiro@socionext.com>
Wed, 22 Feb 2017 23:37:56 +0000 (08:37 +0900)
commit81c847bf3806f2cb275f8b084872b97508823462
treeb91b5fc83063c547b0432e7dd2ff48203e3dd2ff
parente5957e8d6974971d8da722ab62b062d9551adab8
ARM: uniphier: move spl_boot_mode() to a separate file

The spl_boot_mode() is unrelated to the other code in this file.
Besides, this function is only called from common/spl/spl_mmc.c,
so it is reasonable to guard with CONFIG_SPL_MMC_SUPPORT.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
arch/arm/mach-uniphier/Makefile
arch/arm/mach-uniphier/boot-mode/boot-mode.c
arch/arm/mach-uniphier/mmc-boot-mode.c [new file with mode: 0644]