Skip to content
Snippets Groups Projects
Commit 1e724f8e authored by Simon Glass's avatar Simon Glass
Browse files

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: default avatarSimon Glass <sjg@chromium.org>
parent 5fd6badb
No related branches found
No related tags found
No related merge requests found
...@@ -113,6 +113,7 @@ static void configure_l2ctlr(void) ...@@ -113,6 +113,7 @@ static void configure_l2ctlr(void)
static int configure_emmc(struct udevice *pinctrl) static int configure_emmc(struct udevice *pinctrl)
{ {
#ifdef CONFIG_SPL_MMC_SUPPORT
struct gpio_desc desc; struct gpio_desc desc;
int ret; int ret;
...@@ -142,6 +143,7 @@ static int configure_emmc(struct udevice *pinctrl) ...@@ -142,6 +143,7 @@ static int configure_emmc(struct udevice *pinctrl)
debug("gpio value ret=%d\n", ret); debug("gpio value ret=%d\n", ret);
return ret; return ret;
} }
#endif
return 0; return 0;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment