uboot源代码
include/configs/smdk2410.h
/*
* select serial console configuration
*/
#define CONFIG_S3C24X0_SERIAL
#define CONFIG_SERIAL1 1 /* we use SERIAL 1 on SMDK2410 */
drivers/serial/serial_s3c2410.c
#ifdef CONFIG_SERIAL1
#define UART_NR S3C24X0_UART0
#elif defined(CONFIG_SERIAL2)
#define UART_NR S3C24X0_UART1
#elif defined(CONFIG_SERIAL3)
#define UART_NR S3C24X0_UART2
#else
#error "Bad: you didn't configure serial ..."
#endif