:: [maemo-leste] [PATCH 2/6] Nokia RX-…
Top Page
Delete this message
Reply to this message
Author: Pali Rohár
Date:  
To: u-boot, maemo-leste, Ivaylo Dimitrov, Lokesh Vutla, Tom Rini
CC: Faiz Abbas, Peng Fan, Heiko Schocher, Adam Ford, Anatolij Gustschin, Simon Glass
Old-Topics: [maemo-leste] [PATCH 1/6] Nokia RX-51: Remove old comments from configs/nokia_rx51.h file
Subject: [maemo-leste] [PATCH 2/6] 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@???>
Cc: Ivaylo Dimitrov <ivo.g.dimitrov.75@???>
---
board/nokia/rx51/rx51.c | 2 ++
1 file changed, 2 insertions(+)

diff --git a/board/nokia/rx51/rx51.c b/board/nokia/rx51/rx51.c
index 63531e1420..e11c527226 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;
-- 
2.20.1