hw25: take USB/SD converter out of reset

This commit is contained in:
Rene Straub 2020-10-20 07:51:47 +02:00
parent 55332e5582
commit dc6ed546db
1 changed files with 11 additions and 0 deletions

View File

@ -522,6 +522,16 @@ int eth_phy_timeout(void)
#if !defined(CONFIG_SPL_BUILD)
static void init_usb_sd(void)
{
/* USB-SD converter */
REQUEST_AND_CLEAR_GPIO(GPIO_RST_SDCARD_N);
/* Minimum Reset Pulse = 100us (USB224x) */
mdelay(1);
gpio_set_value(GPIO_RST_SDCARD_N, 1);
}
static void init_ethernet(void)
{
REQUEST_AND_CLEAR_GPIO(GPIO_RST_ETH_N);
@ -905,6 +915,7 @@ int board_late_init(void)
REQUEST_AND_CLEAR_GPIO(GPIO_WLAN_EN);
init_ethernet();
init_usb_sd();
init_sim_mux();
init_gsm();