]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
ARM: keystone: Do not enable the USB power domains at the board level
authorJean-Jacques Hiblot <jjhiblot@ti.com>
Wed, 11 Sep 2019 09:33:55 +0000 (11:33 +0200)
committerMarek Vasut <marek.vasut+renesas@gmail.com>
Thu, 24 Oct 2019 09:28:17 +0000 (11:28 +0200)
This breaks linux boot sequence.
Observed on k2e and k2l platforms.

Signed-off-by: Jean-Jacques Hiblot <jjhiblot@ti.com>
board/ti/ks2_evm/board.c

index e9bc68049b4bf93fe7172f76e75970ba270839e6..e3305fbaf6760d7b42175d9a38e14b5288e3fbf5 100644 (file)
@@ -67,20 +67,7 @@ struct image_header *spl_get_load_buffer(ssize_t offset, size_t size)
 
 int board_init(void)
 {
-#if CONFIG_IS_ENABLED(DM_USB)
-       int rc = psc_enable_module(KS2_LPSC_USB);
-
-       if (rc)
-               puts("Cannot enable USB0 module");
-#ifdef KS2_LPSC_USB_1
-       rc = psc_enable_module(KS2_LPSC_USB_1);
-       if (rc)
-               puts("Cannot enable USB1 module");
-#endif
-#endif
-
        gd->bd->bi_boot_params = CONFIG_SYS_SDRAM_BASE + 0x100;
-
        return 0;
 }