Merge tag 'rockchip-for-v2019.07-2' of https://gitlab.denx.de/u-boot/custodians/u-boot-rockchip
- rk3399 sdhci driver fixup - TPL BANNER fixup
This commit is contained in:
commit
9565bd7c6f
@ -44,7 +44,7 @@ void board_init_f(ulong dummy)
|
||||
struct udevice *dev;
|
||||
int ret;
|
||||
|
||||
#ifdef CONFIG_DEBUG_UART
|
||||
#if defined(CONFIG_DEBUG_UART) && defined(CONFIG_TPL_SERIAL_SUPPORT)
|
||||
/*
|
||||
* Debug UART can be used from here if required:
|
||||
*
|
||||
@ -54,8 +54,10 @@ void board_init_f(ulong dummy)
|
||||
* printascii("string");
|
||||
*/
|
||||
debug_uart_init();
|
||||
#ifdef CONFIG_TPL_BANNER_PRINT
|
||||
printascii("\nU-Boot TPL " PLAIN_VERSION " (" U_BOOT_DATE " - " \
|
||||
U_BOOT_TIME ")\n");
|
||||
#endif
|
||||
#endif
|
||||
ret = spl_early_init();
|
||||
if (ret) {
|
||||
|
@ -68,15 +68,15 @@ static int arasan_sdhci_probe(struct udevice *dev)
|
||||
if (host->bus_width == 8)
|
||||
host->host_caps |= MMC_MODE_8BIT;
|
||||
|
||||
ret = sdhci_setup_cfg(&plat->cfg, host, 0, EMMC_MIN_FREQ);
|
||||
|
||||
host->mmc = &plat->mmc;
|
||||
if (ret)
|
||||
return ret;
|
||||
host->mmc->priv = &prv->host;
|
||||
host->mmc->dev = dev;
|
||||
upriv->mmc = host->mmc;
|
||||
|
||||
ret = sdhci_setup_cfg(&plat->cfg, host, 0, EMMC_MIN_FREQ);
|
||||
if (ret)
|
||||
return ret;
|
||||
|
||||
return sdhci_probe(dev);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user