arm: mx6: gw_ventana: Change clock init to enable NAND related clocks
PATCH 1/1 arm: mx6: gw_ventana: Change clock init to enable NAND related clocks
Otherwise NAND booting is likely to fail. Since this disables the NAND related clocks and SPL can't load the main U-Boot from NAND.
This problem was introduced with this patch:
e25fbe3f (gw_ventana: Move the DCD settings to spl code)
--- board/gateworks/gw_ventana/gw_ventana_spl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
board/gateworks/gw_ventana/gw_ventana_spl.c +1 -1
@@ -401,7 +401,7 @@ static void ccgr_init(void)writel (0x0030FC03 , &ccm->CCGR1);writel (0x0FFFC000 , &ccm->CCGR2);writel (0x3FF00000 , &ccm->CCGR3); -writel (0x00FFF300 , &ccm->CCGR4); +writel (0xFFFFF300 , &ccm->CCGR4);/* enable NAND/GPMI/BCH clks */ writel (0x0F0000C3 , &ccm->CCGR5);writel (0x000003FF , &ccm->CCGR6); }
Signature · 1 line
2.2.0
PATCH 1/1 arm: mx6: gw_ventana: Change clock init to enable NAND related clocks
Hi Stefan,
Quoted 11 lines · Stefan Roese
Otherwise NAND booting is likely to fail. Since this disables the NAND related clocks and SPL can't load the main U-Boot from NAND.
This problem was introduced with this patch:
e25fbe3f(gw_ventana: Move the DCD settings to spl code)Signed-off-by Stefan Roese <[email protected]>Cc Fabio Estevam <[email protected]>Cc Tim Harvey <[email protected]>Cc Stefano Babic <[email protected]>
Thanks for the fix!
PATCH 1/1 arm: mx6: gw_ventana: Change clock init to enable NAND related clocks
In reply to Stefan RoeseQuoted 5 lines · Stefan Roese
Otherwise NAND booting is likely to fail. Since this disables the NAND related clocks and SPL can't load the main U-Boot from NAND.
This problem was introduced with this patch:
Quoted 7 lines
e25fbe3f(gw_ventana: Move the DCD settings to spl code)Signed-off-by Stefan Roese <[email protected]>Cc Fabio Estevam <[email protected]>Cc Tim Harvey <[email protected]>Cc Stefano Babic <[email protected]>---
Applied to u-boot-imx, thanks !
Best regards,
Stefano Babic
Signature · 5 lines
===================================================================== DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de =====================================================================