]> git.baikalelectronics.ru Git - uboot.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)
commitf62508789940ed64d906ca8f4fb0314f10c75cf9
tree49f43cb06d48b8a4a9f4a23e3d38f649e95d3878
parent8f5bdc8f50480e644f8883a4f4c2b311b6184373
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