Skip to content
Snippets Groups Projects
Commit da07c21b authored by Ilya Yanok's avatar Ilya Yanok Committed by Tom Rini
Browse files

am33xx: support for booting via usbeth


This patch adds BOOT_DEVICE define for USB booting and fixes
spl_board_init function to call arch_misc_init (this is the place there
musb is initialized).

Signed-off-by: default avatarIlya Yanok <ilya.yanok@cogentembedded.com>
parent 62a81431
Branches
Tags
No related merge requests found
...@@ -55,6 +55,9 @@ void spl_board_init(void) ...@@ -55,6 +55,9 @@ void spl_board_init(void)
#ifdef CONFIG_SPL_NAND_SUPPORT #ifdef CONFIG_SPL_NAND_SUPPORT
gpmc_init(); gpmc_init();
#endif #endif
#if defined(CONFIG_AM33XX) && defined(CONFIG_SPL_MUSB_NEW_SUPPORT)
arch_misc_init();
#endif
} }
int board_mmc_init(bd_t *bis) int board_mmc_init(bd_t *bis)
......
...@@ -29,6 +29,7 @@ ...@@ -29,6 +29,7 @@
#define BOOT_DEVICE_MMC2 9 /* eMMC or daughter card */ #define BOOT_DEVICE_MMC2 9 /* eMMC or daughter card */
#define BOOT_DEVICE_SPI 11 #define BOOT_DEVICE_SPI 11
#define BOOT_DEVICE_UART 65 #define BOOT_DEVICE_UART 65
#define BOOT_DEVICE_USBETH 68
#define BOOT_DEVICE_CPGMAC 70 #define BOOT_DEVICE_CPGMAC 70
#define BOOT_DEVICE_MMC2_2 0xFF #define BOOT_DEVICE_MMC2_2 0xFF
#endif #endif
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment