]> git.baikalelectronics.ru Git - uboot.git/commit
ARM: uniphier: add simple eMMC load APIs instead of ROM API
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Mon, 20 Feb 2017 09:34:20 +0000 (18:34 +0900)
committerMasahiro Yamada <yamada.masahiro@socionext.com>
Thu, 23 Feb 2017 00:00:16 +0000 (09:00 +0900)
commite4271cdcb61401e7d3a74e61f012d6ff937fbc00
tree8f2510bad414f7eeb9c122b872d19bea2d315627
parent589d2dc7b7b594ba0a3caf367b1e6d579783f2fa
ARM: uniphier: add simple eMMC load APIs instead of ROM API

Re-use of routines embedded in the Boot ROM requires a function
pointer table for each SoC.  This is not nice in terms of the
maintainability in a long run.

Implement simple eMMC load APIs that are commonly used for LD11,
LD20, and hopefully future SoCs.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
arch/arm/mach-uniphier/boot-device/spl_board.c