ODROIDC:sd: Fix "Uart in" error if UHS is disabled

This patch is to fix loosing UART if UHS-I support is disabled, and C1 does
not need to support UART on MicroSD port.

Change-Id: I0bbf99bc40b5d39f08caf3fde21240d9159862f8
Signed-off-by: Dongjin Kim <tobetter@gmail.com>
(cherry picked from commit e498a5444b)
This commit is contained in:
Dongjin Kim
2015-01-03 04:24:13 +09:00
committed by Dongjin Kim
parent b0ffba7477
commit cdaf770bd8

View File

@@ -959,6 +959,12 @@ static int aml_is_sdjtag(struct amlsd_platform * pdata)
return 0;
}
#if defined(CONFIG_MACH_MESON8B_ODROIDC)
static int aml_is_sduart(struct amlsd_platform * pdata)
{
return 0;
}
#else
static int aml_is_sduart(struct amlsd_platform * pdata)
{
#ifdef CONFIG_MESON_CPU_EMULATOR
@@ -1005,6 +1011,7 @@ static int aml_is_sduart(struct amlsd_platform * pdata)
// return 0;
#endif
}
#endif
// int n=0;
static int aml_uart_switch(struct amlsd_platform* pdata, bool on)