mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-02 09:16:41 +09:00
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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user