一、重要文件

1、/arch/arm/plat-omap/include/plat/omap-serial.h    ##串口名称
1)宏定义#define OMAP_MAX_HSUART_PORTS 改为 2,配合4(1)可增加UART1
 
2、/arch/arm/match-omap2/device.c                    ##
 
3、/arch/arm/match-omap2/serial.c                        ##UART底层操作
 
4、/arch/arm/match-omap2/omap_hwmod_81xx_data.c    ##
1)static __initdata struct omap_hwmod *ti81xx_hwmods[] 增加数组成员 &ti816x_uart2_hwmod,
配合1(1)增加UART1
 
二、驱动架构
 
posted on 2018-02-28 11:04  阳光农场皮卡  阅读(293)  评论(0编辑  收藏  举报