9
0
Fork 0

serial Samsung: add the S3C64xx requirements

Signed-off-by: Juergen Beisert <jbe@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
This commit is contained in:
Juergen Beisert 2012-07-30 14:32:48 +02:00 committed by Sascha Hauer
parent eebc8e41a0
commit 10bfdcc175
2 changed files with 4 additions and 1 deletions

View File

@ -84,7 +84,7 @@ config DRIVER_SERIAL_S3C_IMPROVED
config DRIVER_SERIAL_S3C
bool "Samsung S3C serial driver"
depends on ARCH_SAMSUNG
select DRIVER_SERIAL_S3C_IMPROVED if (CPU_S5PC110 || CPU_S5PV210)
select DRIVER_SERIAL_S3C_IMPROVED if (CPU_S5PC110 || CPU_S5PV210 || CPU_S3C6410)
default y
help
Say Y here if you want to use the CONS on a Samsung S3C CPU

View File

@ -58,6 +58,9 @@ static unsigned s3c_select_arch_input_clock(void)
/* S3C24xx: 0=2=PCLK, 1=UEXTCLK, 3=FCLK/n */
if (IS_ENABLED(CONFIG_ARCH_S3C24xx))
return 0; /* use the internal PCLK */
/* S3C64xx: 0=2=PCLK, 1=UCLK0, 3=UCLK1 */
if (IS_ENABLED(CONFIG_ARCH_S3C64xx))
return 3; /* use the internal UCLK1 */
/* S5PCxx: 0=PCLK, 1=SCLK_UART */
if (IS_ENABLED(CONFIG_ARCH_S5PCxx))
return 0; /* use the internal PCLK */