Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OS
U-Boot.Mirror
提交
04e5ae79
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,发现更多精彩内容 >>
提交
04e5ae79
编写于
9月 11, 2011
作者:
W
Wolfgang Denk
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Minor coding style cleanup.
Signed-off-by:
N
Wolfgang Denk
<
wd@denx.de
>
上级
3b717552
变更
10
显示空白变更内容
内联
并排
Showing
10 changed file
with
48 addition
and
67 deletion
+48
-67
README
README
+27
-27
arch/arm/cpu/arm920t/at91/at91rm9200_devices.c
arch/arm/cpu/arm920t/at91/at91rm9200_devices.c
+0
-2
arch/arm/cpu/arm920t/at91/clock.c
arch/arm/cpu/arm920t/at91/clock.c
+0
-2
arch/arm/cpu/arm920t/at91/cpu.c
arch/arm/cpu/arm920t/at91/cpu.c
+0
-1
doc/README.SPL
doc/README.SPL
+1
-1
doc/README.at91-soc
doc/README.at91-soc
+0
-1
doc/README.ublimage
doc/README.ublimage
+11
-11
doc/README.usb
doc/README.usb
+9
-9
drivers/gpio/da8xx_gpio.c
drivers/gpio/da8xx_gpio.c
+0
-11
include/linux/mdio.h
include/linux/mdio.h
+0
-2
未找到文件。
README
浏览文件 @
04e5ae79
arch/arm/cpu/arm920t/at91/at91rm9200_devices.c
浏览文件 @
04e5ae79
...
...
@@ -75,11 +75,9 @@ void at91_serial2_hw_init(void)
writel
(
1
<<
ATMEL_ID_USART2
,
&
pmc
->
pcer
);
}
void
at91_seriald_hw_init
(
void
)
{
at91_set_a_periph
(
AT91_PIO_PORTA
,
30
,
PUP
);
/* DRXD */
at91_set_a_periph
(
AT91_PIO_PORTA
,
31
,
1
);
/* DTXD */
/* writing SYS to PCER has no effect on AT91RM9200 */
}
arch/arm/cpu/arm920t/at91/clock.c
浏览文件 @
04e5ae79
...
...
@@ -104,7 +104,6 @@ static u32 at91_pll_rate(u32 freq, u32 reg)
return
freq
;
}
int
at91_clock_init
(
unsigned
long
main_clock
)
{
unsigned
freq
,
mckr
;
...
...
@@ -157,4 +156,3 @@ int at91_clock_init(unsigned long main_clock)
return
0
;
}
arch/arm/cpu/arm920t/at91/cpu.c
浏览文件 @
04e5ae79
...
...
@@ -40,4 +40,3 @@ int arch_cpu_init(void)
{
return
at91_clock_init
(
CONFIG_SYS_AT91_MAIN_CLOCK
);
}
doc/README.SPL
浏览文件 @
04e5ae79
doc/README.at91-soc
浏览文件 @
04e5ae79
...
...
@@ -39,4 +39,3 @@ The method for updating
3. add new structures for SoC access
4. Convert arch, driver and boards file to new SoC
5. remove legacy code, if all boards and drives are ready
doc/README.ublimage
浏览文件 @
04e5ae79
doc/README.usb
浏览文件 @
04e5ae79
drivers/gpio/da8xx_gpio.c
浏览文件 @
04e5ae79
...
...
@@ -27,13 +27,11 @@
#include <asm/arch/hardware.h>
#include <asm/arch/davinci_misc.h>
static
struct
gpio_registry
{
int
is_registered
;
char
name
[
GPIO_NAME_SIZE
];
}
gpio_registry
[
MAX_NUM_GPIOS
];
#define pinmux(x) (&davinci_syscfg_regs->pinmux[x])
static
const
struct
pinmux_config
gpio_pinmux
[]
=
{
...
...
@@ -183,8 +181,6 @@ static const struct pinmux_config gpio_pinmux[] = {
{
pinmux
(
18
),
8
,
2
},
};
int
gpio_request
(
int
gp
,
const
char
*
label
)
{
if
(
gp
>=
MAX_NUM_GPIOS
)
...
...
@@ -202,13 +198,11 @@ int gpio_request(int gp, const char *label)
return
0
;
}
void
gpio_free
(
int
gp
)
{
gpio_registry
[
gp
].
is_registered
=
0
;
}
void
gpio_toggle_value
(
int
gp
)
{
struct
davinci_gpio
*
bank
;
...
...
@@ -217,7 +211,6 @@ void gpio_toggle_value(int gp)
gpio_set_value
(
gp
,
!
gpio_get_value
(
gp
));
}
int
gpio_direction_input
(
int
gp
)
{
struct
davinci_gpio
*
bank
;
...
...
@@ -227,7 +220,6 @@ int gpio_direction_input(int gp)
return
0
;
}
int
gpio_direction_output
(
int
gp
,
int
value
)
{
struct
davinci_gpio
*
bank
;
...
...
@@ -238,7 +230,6 @@ int gpio_direction_output(int gp, int value)
return
0
;
}
int
gpio_get_value
(
int
gp
)
{
struct
davinci_gpio
*
bank
;
...
...
@@ -249,7 +240,6 @@ int gpio_get_value(int gp)
return
ip
?
1
:
0
;
}
void
gpio_set_value
(
int
gp
,
int
value
)
{
struct
davinci_gpio
*
bank
;
...
...
@@ -262,7 +252,6 @@ void gpio_set_value(int gp, int value)
bank
->
clr_data
=
1U
<<
GPIO_BIT
(
gp
);
}
void
gpio_info
(
void
)
{
int
gp
,
dir
,
val
;
...
...
include/linux/mdio.h
浏览文件 @
04e5ae79
...
...
@@ -127,8 +127,6 @@
MDIO_DEVS_DTEXS | \
MDIO_DEVS_AN)
/* Control register 2. */
#define MDIO_PMA_CTRL2_TYPE 0x000f
/* PMA/PMD type selection */
#define MDIO_PMA_CTRL2_10GBCX4 0x0000
/* 10GBASE-CX4 type */
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录