aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPali Rohár <pali@kernel.org>2020-10-31 17:32:46 +0100
committerLokesh Vutla <lokeshvutla@ti.com>2020-11-15 15:29:40 +0530
commit94f69f4c14cafcce11544d8a615eff3767d66acd (patch)
tree6a2519bfe5475f1e725574261099911f3949baff
parente4f7592196570db82343cedf156f4d3477f69610 (diff)
downloadu-boot-94f69f4c14cafcce11544d8a615eff3767d66acd.zip
u-boot-94f69f4c14cafcce11544d8a615eff3767d66acd.tar.gz
u-boot-94f69f4c14cafcce11544d8a615eff3767d66acd.tar.bz2
Nokia RX-51: Fix crashing in U-Boot mmc function omap_hsmmc_stop_clock()
After commit 04a2ea248f58 ("mmc: disable UHS modes if Vcc cannot be switched on and off") U-Boot started crashing on Nokia RX-51 while initializing mmc and caused reboot loop. It looks like that some clocks were not enabled and this patch fixes U-Boot mmc crash. Signed-off-by: Pali Rohár <pali@kernel.org> Cc: Ivaylo Dimitrov <ivo.g.dimitrov.75@gmail.com>
-rw-r--r--board/nokia/rx51/rx51.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/board/nokia/rx51/rx51.c b/board/nokia/rx51/rx51.c
index 63531e1..e11c527 100644
--- a/board/nokia/rx51/rx51.c
+++ b/board/nokia/rx51/rx51.c
@@ -202,6 +202,8 @@ int board_init(void)
{
/* in SRAM or SDRAM, finish GPMC */
gpmc_init();
+ /* Enable the clks & power */
+ per_clocks_enable();
/* boot param addr */
gd->bd->bi_boot_params = OMAP34XX_SDRC_CS0 + 0x100;
return 0;