]> git.dujemihanovic.xyz Git - u-boot.git/commit
ARM: uniphier: deassert RST_n of eMMC device for LD11/LD20
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Fri, 17 Feb 2017 07:17:22 +0000 (16:17 +0900)
committerMasahiro Yamada <yamada.masahiro@socionext.com>
Wed, 22 Feb 2017 23:37:56 +0000 (08:37 +0900)
commitc21f58548c812032207d986ca7b5baa0bb4a5972
tree49f43cb06d48b8a4a9f4a23e3d38f649e95d3878
parent04f3da393667b094adc4fef37db71c7327d5ed7d
ARM: uniphier: deassert RST_n of eMMC device for LD11/LD20

For LD11 and LD20 SoCs, the RST_n pin is asserted by default.  If
the EXT_CSD[162], bit[1:0] (RST_n_ENABLE) is fused, the eMMC device
would stay in the reset state until its RST_n pin is deasserted by
software.

Currently, this is cared by an ad-hoc way because the eMMC hardware
reset provider is not supported in U-Boot for now.  This code should
be re-written once the "mmc-pwrseq-emmc" binding is supported.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
arch/arm/mach-uniphier/board_init.c
arch/arm/mach-uniphier/clk/Makefile
arch/arm/mach-uniphier/clk/clk-ld11.c
arch/arm/mach-uniphier/clk/clk-ld20.c [new file with mode: 0644]
arch/arm/mach-uniphier/init.h