Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OS
U-Boot.Mirror
提交
d3e55d07
U
U-Boot.Mirror
项目概览
OS
/
U-Boot.Mirror
通知
1
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
U
U-Boot.Mirror
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
d3e55d07
编写于
3月 30, 2009
作者:
J
Jean-Christophe PLAGNIOL-VILLARD
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
imx: move serial driver to drivers/serial
Signed-off-by:
N
Jean-Christophe PLAGNIOL-VILLARD
<
plagnioj@jcrosoft.com
>
上级
a6ef3dde
变更
6
隐藏空白更改
内联
并排
Showing
6 changed file
with
6 addition
and
8 deletion
+6
-8
cpu/arm920t/imx/Makefile
cpu/arm920t/imx/Makefile
+1
-1
drivers/serial/Makefile
drivers/serial/Makefile
+1
-0
drivers/serial/serial_imx.c
drivers/serial/serial_imx.c
+0
-6
include/configs/mx1ads.h
include/configs/mx1ads.h
+1
-0
include/configs/mx1fs2.h
include/configs/mx1fs2.h
+2
-1
include/configs/scb9328.h
include/configs/scb9328.h
+1
-0
未找到文件。
cpu/arm920t/imx/Makefile
浏览文件 @
d3e55d07
...
...
@@ -25,7 +25,7 @@ include $(TOPDIR)/config.mk
LIB
=
$(obj)
lib
$(SOC)
.a
COBJS
=
generic.o interrupts.o s
erial.o s
peed.o
COBJS
=
generic.o interrupts.o speed.o
SRCS
:=
$(SOBJS:.o=.S)
$(COBJS:.o=.c)
OBJS
:=
$(
addprefix
$(obj)
,
$(SOBJS)
$(COBJS)
)
...
...
drivers/serial/Makefile
浏览文件 @
d3e55d07
...
...
@@ -34,6 +34,7 @@ COBJS-$(CONFIG_DRIVER_S3C4510_UART) += s3c4510b_uart.o
COBJS-$(CONFIG_S3C64XX)
+=
s3c64xx.o
COBJS-$(CONFIG_SYS_NS16550_SERIAL)
+=
serial.o
COBJS-$(CONFIG_CLPS7111_SERIAL)
+=
serial_clps7111.o
COBJS-$(CONFIG_IMX_SERIAL)
+=
serial_imx.o
COBJS-$(CONFIG_IXP_SERIAL)
+=
serial_ixp.o
COBJS-$(CONFIG_KS8695_SERIAL)
+=
serial_ks8695.o
COBJS-$(CONFIG_LPC2292_SERIAL)
+=
serial_lpc2292.o
...
...
cpu/arm920t/imx/serial
.c
→
drivers/serial/serial_imx
.c
浏览文件 @
d3e55d07
...
...
@@ -18,12 +18,8 @@
*/
#include <common.h>
#if defined (CONFIG_IMX)
#include <asm/arch/imx-regs.h>
#ifndef CONFIG_IMX_SERIAL_NONE
#if defined CONFIG_IMX_SERIAL1
#define UART_BASE IMX_UART1_BASE
#elif defined CONFIG_IMX_SERIAL2
...
...
@@ -223,5 +219,3 @@ serial_puts (const char *s)
serial_putc
(
*
s
++
);
}
}
#endif
/* CONFIG_IMX_SERIAL_NONE */
#endif
/* defined CONFIG_IMX */
include/configs/mx1ads.h
浏览文件 @
d3e55d07
...
...
@@ -40,6 +40,7 @@
/*
* Select serial console configuration
*/
#define CONFIG_IMX_SERIAL
#define CONFIG_IMX_SERIAL1
/* internal uart 1 */
/* #define _CONFIG_UART2 */
/* internal uart 2 */
/* #define CONFIG_SILENT_CONSOLE */
/* use this to disable output */
...
...
include/configs/mx1fs2.h
浏览文件 @
d3e55d07
...
...
@@ -289,11 +289,12 @@
0x000b00b ->3<- -> 64MHz/4=16MHz */
#ifdef _CONFIG_UART1
#define CONFIG_IMX_SERIAL
#define CONFIG_IMX_SERIAL1
#elif defined _CONFIG_UART2
#define CONFIG_IMX_SERIAL
#define CONFIG_IMX_SERIAL2
#elif defined _CONFIG_UART3 | defined _CONFIG_UART4
#define CONFIG_IMX_SERIAL_NONE
#define CONFIG_SYS_NS16550
#define CONFIG_SYS_NS16550_SERIAL
#define CONFIG_SYS_NS16550_CLK 3686400
...
...
include/configs/scb9328.h
浏览文件 @
d3e55d07
...
...
@@ -29,6 +29,7 @@
#define CONFIG_SCB9328 1
/* on a scb9328tronix board */
#undef CONFIG_USE_IRQ
/* don't need use IRQ/FIQ */
#define CONFIG_IMX_SERIAL
#define CONFIG_IMX_SERIAL1
/*
* Select serial console configuration
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录