提交 1e724f8e 编写于 作者: S Simon Glass

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: NSimon Glass <sjg@chromium.org>
上级 5fd6badb
......@@ -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;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册