mirror of
https://github.com/AsahiLinux/u-boot
synced 2025-02-17 22:49:02 +00:00
rockchip: Avoid using MMC code when not booting from MMC
This saves some code space in SPL which is useful on jerry. Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
parent
5fd6badbd2
commit
1e724f8ea8
1 changed files with 2 additions and 0 deletions
|
@ -113,6 +113,7 @@ static void configure_l2ctlr(void)
|
|||
|
||||
static int configure_emmc(struct udevice *pinctrl)
|
||||
{
|
||||
#ifdef CONFIG_SPL_MMC_SUPPORT
|
||||
struct gpio_desc desc;
|
||||
int ret;
|
||||
|
||||
|
@ -142,6 +143,7 @@ static int configure_emmc(struct udevice *pinctrl)
|
|||
debug("gpio value ret=%d\n", ret);
|
||||
return ret;
|
||||
}
|
||||
#endif
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue