]> git.dujemihanovic.xyz Git - u-boot.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)
commit9d35873161c98d3b9d92adacd7ee4c8fb1740068
tree8f2510bad414f7eeb9c122b872d19bea2d315627
parent2af94aafa50fc6c198379fe730f59f3df07184d0
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