hw25: take USB/SD converter out of reset
This commit is contained in:
parent
55332e5582
commit
dc6ed546db
|
|
@ -522,6 +522,16 @@ int eth_phy_timeout(void)
|
||||||
|
|
||||||
#if !defined(CONFIG_SPL_BUILD)
|
#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)
|
static void init_ethernet(void)
|
||||||
{
|
{
|
||||||
REQUEST_AND_CLEAR_GPIO(GPIO_RST_ETH_N);
|
REQUEST_AND_CLEAR_GPIO(GPIO_RST_ETH_N);
|
||||||
|
|
@ -905,6 +915,7 @@ int board_late_init(void)
|
||||||
REQUEST_AND_CLEAR_GPIO(GPIO_WLAN_EN);
|
REQUEST_AND_CLEAR_GPIO(GPIO_WLAN_EN);
|
||||||
|
|
||||||
init_ethernet();
|
init_ethernet();
|
||||||
|
init_usb_sd();
|
||||||
init_sim_mux();
|
init_sim_mux();
|
||||||
init_gsm();
|
init_gsm();
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue