linux串口驱动分析

linux-2.6.31/arch/arm/plat-s3c/include/plat/regs-serial.h

#define S3C2410_PA_UART0

(S3C24XX_PA_UART)

#define S3C2410_PA_UART1

(S3C24XX_PA_UART + 0x4000 )

#define S3C2410_PA_UART2

(S3C24XX_PA_UART + 0x8000 )

#define S3C2443_PA_UART3

(S3C24XX_PA_UART + 0xC000 )

linux-2.6.31/arch/arm/plat-s3c/include/plat/map.h

#define S3C24XX_VA_UART

S3C_VA_UART//静态映射后的虚拟地址

#define S3C2410_PA_UART

(0x50000000)//物理地址

#define S3C24XX_SZ_UART SZ_1M#define S3C_UART_OFFSET (0x4000)肯承认错误则错已改了一半

linux串口驱动分析

相关文章:

你感兴趣的文章:

标签云: