Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OS
U-Boot.Mirror
提交
4946775c
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,发现更多精彩内容 >>
提交
4946775c
编写于
10月 28, 2009
作者:
W
Wolfgang Denk
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Coding Style cleanup; update CHANGELOG, prepare -rc1
Signed-off-by:
N
Wolfgang Denk
<
wd@denx.de
>
上级
246c6922
变更
16
展开全部
隐藏空白更改
内联
并排
Showing
16 changed file
with
6225 addition
and
71 deletion
+6225
-71
CHANGELOG
CHANGELOG
+6177
-15
Makefile
Makefile
+2
-2
board/davinci/dm6467evm/dm6467evm.c
board/davinci/dm6467evm/dm6467evm.c
+0
-1
board/ep8248/ep8248.c
board/ep8248/ep8248.c
+0
-1
board/logicpd/imx27lite/Makefile
board/logicpd/imx27lite/Makefile
+0
-1
cpu/arm926ejs/mx27/generic.c
cpu/arm926ejs/mx27/generic.c
+0
-1
cpu/arm_cortexa8/start.S
cpu/arm_cortexa8/start.S
+0
-1
cpu/mpc85xx/fixed_ivor.S
cpu/mpc85xx/fixed_ivor.S
+29
-29
doc/README.bitbangMII
doc/README.bitbangMII
+9
-9
doc/README.drivers.eth
doc/README.drivers.eth
+1
-1
doc/README.kwbimage
doc/README.kwbimage
+2
-2
drivers/net/phy/miiphybb.c
drivers/net/phy/miiphybb.c
+4
-4
drivers/net/smc911x.c
drivers/net/smc911x.c
+1
-1
include/asm-arm/arch-davinci/gpio_defs.h
include/asm-arm/arch-davinci/gpio_defs.h
+0
-1
include/configs/P1_P2_RDB.h
include/configs/P1_P2_RDB.h
+0
-1
include/configs/davinci_dm6467evm.h
include/configs/davinci_dm6467evm.h
+0
-1
未找到文件。
CHANGELOG
浏览文件 @
4946775c
此差异已折叠。
点击以展开。
Makefile
浏览文件 @
4946775c
...
...
@@ -22,9 +22,9 @@
#
VERSION
=
2009
PATCHLEVEL
=
08
PATCHLEVEL
=
11
SUBLEVEL
=
EXTRAVERSION
=
EXTRAVERSION
=
-rc1
ifneq
"$(SUBLEVEL)" ""
U_BOOT_VERSION
=
$(VERSION)
.
$(PATCHLEVEL)
.
$(SUBLEVEL)$(EXTRAVERSION)
else
...
...
board/davinci/dm6467evm/dm6467evm.c
浏览文件 @
4946775c
...
...
@@ -28,4 +28,3 @@ int board_init(void)
return
0
;
}
board/ep8248/ep8248.c
浏览文件 @
4946775c
...
...
@@ -268,4 +268,3 @@ void ft_board_setup(void *blob, bd_t *bd)
ft_cpu_setup
(
blob
,
bd
);
}
#endif
/* defined(CONFIG_OF_BOARD_SETUP) && defined(CONFIG_OF_LIBFDT) */
board/logicpd/imx27lite/Makefile
浏览文件 @
4946775c
...
...
@@ -48,4 +48,3 @@ include $(SRCTREE)/rules.mk
sinclude
$(obj).depend
#########################################################################
cpu/arm926ejs/mx27/generic.c
浏览文件 @
4946775c
...
...
@@ -328,4 +328,3 @@ void mx27_sd2_init_pins(void)
}
#endif
/* CONFIG_MXC_MMC */
cpu/arm_cortexa8/start.S
浏览文件 @
4946775c
...
...
@@ -414,4 +414,3 @@ fiq:
bl
do_fiq
#endif
cpu/mpc85xx/fixed_ivor.S
浏览文件 @
4946775c
...
...
@@ -35,22 +35,22 @@
li
r3
,
vector_offset
@
l
; \
mtspr
SPRN_GIVOR
##
vector_number
,
r3
;
SET_IVOR
(0,
0x020
)
/*
Critical
Input
*/
SET_IVOR
(1,
0x000
)
/*
Machine
Check
*/
SET_IVOR
(2,
0x060
)
/*
Data
Storage
*/
SET_IVOR
(3,
0x080
)
/*
Instruction
Storage
*/
SET_IVOR
(4,
0x0a0
)
/*
External
Input
*/
SET_IVOR
(5,
0x0c0
)
/*
Alignment
*/
SET_IVOR
(6,
0x0e0
)
/*
Program
*/
SET_IVOR
(7,
0x100
)
/*
FP
Unavailable
*/
SET_IVOR
(8,
0x120
)
/*
System
Call
*/
SET_IVOR
(9,
0x140
)
/*
Auxiliary
Processor
Unavailable
*/
SET_IVOR
(10,
0x160
)
/*
Decrementer
*/
SET_IVOR
(11,
0x180
)
/*
Fixed
Interval
Timer
*/
SET_IVOR
(12,
0x1a0
)
/*
Watchdog
Timer
*/
SET_IVOR
(13,
0x1c0
)
/*
Data
TLB
Error
*/
SET_IVOR
(14,
0x1e0
)
/*
Instruction
TLB
Error
*/
SET_IVOR
(15,
0x040
)
/*
Debug
*/
SET_IVOR
(0,
0x020
)
/*
Critical
Input
*/
SET_IVOR
(1,
0x000
)
/*
Machine
Check
*/
SET_IVOR
(2,
0x060
)
/*
Data
Storage
*/
SET_IVOR
(3,
0x080
)
/*
Instruction
Storage
*/
SET_IVOR
(4,
0x0a0
)
/*
External
Input
*/
SET_IVOR
(5,
0x0c0
)
/*
Alignment
*/
SET_IVOR
(6,
0x0e0
)
/*
Program
*/
SET_IVOR
(7,
0x100
)
/*
FP
Unavailable
*/
SET_IVOR
(8,
0x120
)
/*
System
Call
*/
SET_IVOR
(9,
0x140
)
/*
Auxiliary
Processor
Unavailable
*/
SET_IVOR
(10,
0x160
)
/*
Decrementer
*/
SET_IVOR
(11,
0x180
)
/*
Fixed
Interval
Timer
*/
SET_IVOR
(12,
0x1a0
)
/*
Watchdog
Timer
*/
SET_IVOR
(13,
0x1c0
)
/*
Data
TLB
Error
*/
SET_IVOR
(14,
0x1e0
)
/*
Instruction
TLB
Error
*/
SET_IVOR
(15,
0x040
)
/*
Debug
*/
/*
e500v1
&
e500v2
only
*/
#ifndef CONFIG_E500MC
...
...
@@ -59,21 +59,21 @@
SET_IVOR
(34,
0x240
)
/*
Embedded
FP
Round
*/
#endif
SET_IVOR
(35,
0x260
)
/*
Performance
monitor
*/
SET_IVOR
(35,
0x260
)
/*
Performance
monitor
*/
/*
e500mc
only
*/
#ifdef CONFIG_E500MC
SET_IVOR
(36,
0x280
)
/*
Processor
doorbell
*/
SET_IVOR
(37,
0x2a0
)
/*
Processor
doorbell
critical
*/
SET_IVOR
(38,
0x2c0
)
/*
Guest
Processor
doorbell
*/
SET_IVOR
(39,
0x2e0
)
/*
Guest
Processor
critical
&
machine
check
*/
SET_IVOR
(40,
0x300
)
/*
Hypervisor
system
call
*/
SET_IVOR
(41,
0x320
)
/*
Hypervisor
Priviledge
*/
SET_IVOR
(36,
0x280
)
/*
Processor
doorbell
*/
SET_IVOR
(37,
0x2a0
)
/*
Processor
doorbell
critical
*/
SET_IVOR
(38,
0x2c0
)
/*
Guest
Processor
doorbell
*/
SET_IVOR
(39,
0x2e0
)
/*
Guest
Processor
critical
&
machine
check
*/
SET_IVOR
(40,
0x300
)
/*
Hypervisor
system
call
*/
SET_IVOR
(41,
0x320
)
/*
Hypervisor
Priviledge
*/
SET_GIVOR
(2,
0x060
)
/*
Guest
Data
Storage
*/
SET_GIVOR
(3,
0x080
)
/*
Guest
Instruction
Storage
*/
SET_GIVOR
(4,
0x0a0
)
/*
Guest
External
Input
*/
SET_GIVOR
(8,
0x120
)
/*
Guest
System
Call
*/
SET_GIVOR
(13,
0x1c0
)
/*
Guest
Data
TLB
Error
*/
SET_GIVOR
(14,
0x1e0
)
/*
Guest
Instruction
TLB
Error
*/
SET_GIVOR
(2,
0x060
)
/*
Guest
Data
Storage
*/
SET_GIVOR
(3,
0x080
)
/*
Guest
Instruction
Storage
*/
SET_GIVOR
(4,
0x0a0
)
/*
Guest
External
Input
*/
SET_GIVOR
(8,
0x120
)
/*
Guest
System
Call
*/
SET_GIVOR
(13,
0x1c0
)
/*
Guest
Data
TLB
Error
*/
SET_GIVOR
(14,
0x1e0
)
/*
Guest
Instruction
TLB
Error
*/
#endif
doc/README.bitbangMII
浏览文件 @
4946775c
...
...
@@ -6,7 +6,7 @@ buses are implemented via bit-banging mode.
The driver requires that the following macros should be defined into the board
configuration file:
CONFIG_BITBANGMII
- Enable the miiphybb driver
CONFIG_BITBANGMII
- Enable the miiphybb driver
CONFIG_BITBANGMII_MULTI - Enable the multi bus support
If the CONFIG_BITBANGMII_MULTI is not defined, the board's config file needs
...
...
@@ -19,7 +19,7 @@ MDIO_TRISTATE - Activate the MDIO pin as input/tristate pin
MDIO_READ - Read the MDIO pin
MDIO(v) - Write v on the MDIO pin
MDC_DECLARE - Declaration needed to access to the MDC pin (optional)
MDC(v)
- Write v on the MDC pin
MDC(v)
- Write v on the MDC pin
The previous macros make the driver compatible with the previous version
(that didn't support the multi-bus).
...
...
@@ -30,17 +30,17 @@ the bb_miiphy_buses_num variable with the number of mii buses.
The record (struct bb_miiphy_bus) has the following fields/callbacks (see
miiphy.h for details):
char name[]
- The symbolic name that must be equal to the MII bus
registered name
int (*init)()
- Initialization function called at startup time (just
before the Ethernet initialization)
char name[]
- The symbolic name that must be equal to the MII bus
registered name
int (*init)()
- Initialization function called at startup time (just
before the Ethernet initialization)
int (*mdio_active)() - Activate the MDIO pin as output
int (*mdio_tristate)() - Activate the MDIO pin as input/tristate pin
int (*set_mdio)() - Write the MDIO pin
int (*get_mdio)() - Read the MDIO pin
int (*set_mdc)() - Write the MDC pin
int (*delay)()
- Delay function
void *priv
- Private data used by board specific code
int (*delay)()
- Delay function
void *priv
- Private data used by board specific code
The board code will look like:
...
...
@@ -50,7 +50,7 @@ struct bb_miiphy_bus bb_miiphy_buses[] = {
...
};
int bb_miiphy_buses_num = sizeof(bb_miiphy_buses) /
sizeof(bb_miiphy_buses[0]);
sizeof(bb_miiphy_buses[0]);
2009 Industrie Dial Face S.p.A.
Luigi 'Comio' Mantellini <luigi.mantellini@idf-hit.com>
doc/README.drivers.eth
浏览文件 @
4946775c
...
...
@@ -88,7 +88,7 @@ The return value for this function should be as follows:
< 0 - failure (hardware failure, not probe failure)
>=0 - number of interfaces detected
You might notice that many drivers seem to use xxx_initialize() rather than
You might notice that many drivers seem to use xxx_initialize() rather than
xxx_register(). This is the old naming convention and should be avoided as it
causes confusion with the driver-specific init function.
...
...
doc/README.kwbimage
浏览文件 @
4946775c
...
...
@@ -17,12 +17,12 @@ Command syntax:
to list the kwb image file details
./tools/mkimage -n <board specific configuration file> \
-T kwbimage -a <start address> -e <execution address> \
-T kwbimage -a <start address> -e <execution address> \
-d <input_raw_binary> <output_kwboot_file>
for ex.
./tools/mkimage -n ./board/Marvell/openrd_base/kwbimage.cfg \
-T kwbimage -a 0x00600000 -e 0x00600000 \
-T kwbimage -a 0x00600000 -e 0x00600000 \
-d u-boot.bin u-boot.kwb
kwimage support available with mkimage utility will generate kirkwood boot
...
...
drivers/net/phy/miiphybb.c
浏览文件 @
4946775c
...
...
@@ -119,7 +119,7 @@ struct bb_miiphy_bus bb_miiphy_buses[] = {
};
int
bb_miiphy_buses_num
=
sizeof
(
bb_miiphy_buses
)
/
sizeof
(
bb_miiphy_buses
[
0
]);
sizeof
(
bb_miiphy_buses
[
0
]);
#endif
void
bb_miiphy_init
(
void
)
...
...
@@ -167,7 +167,7 @@ static inline struct bb_miiphy_bus *bb_miiphy_getbus(char *devname)
* and write).
*/
static
void
miiphy_pre
(
struct
bb_miiphy_bus
*
bus
,
char
read
,
unsigned
char
addr
,
unsigned
char
reg
)
unsigned
char
addr
,
unsigned
char
reg
)
{
int
j
;
...
...
@@ -247,7 +247,7 @@ static void miiphy_pre(struct bb_miiphy_bus *bus, char read,
* 0 on success
*/
int
bb_miiphy_read
(
char
*
devname
,
unsigned
char
addr
,
unsigned
char
reg
,
unsigned
short
*
value
)
unsigned
char
reg
,
unsigned
short
*
value
)
{
short
rdreg
;
/* register working value */
int
v
;
...
...
@@ -328,7 +328,7 @@ int bb_miiphy_read(char *devname, unsigned char addr,
* 0 on success
*/
int
bb_miiphy_write
(
char
*
devname
,
unsigned
char
addr
,
unsigned
char
reg
,
unsigned
short
value
)
unsigned
char
reg
,
unsigned
short
value
)
{
struct
bb_miiphy_bus
*
bus
;
int
j
;
/* counter */
...
...
drivers/net/smc911x.c
浏览文件 @
4946775c
...
...
@@ -148,7 +148,7 @@ static int smc911x_init(struct eth_device *dev, bd_t * bd)
{
struct
chip_id
*
id
=
dev
->
priv
;
printf
(
DRIVERNAME
": detected %s controller
\n
"
,
id
->
name
);
printf
(
DRIVERNAME
": detected %s controller
\n
"
,
id
->
name
);
smc911x_reset
(
dev
);
...
...
include/asm-arm/arch-davinci/gpio_defs.h
浏览文件 @
4946775c
...
...
@@ -50,4 +50,3 @@ struct davinci_gpio_bank {
};
#endif
include/configs/P1_P2_RDB.h
浏览文件 @
4946775c
...
...
@@ -282,7 +282,6 @@ extern unsigned long get_board_sys_clk(unsigned long dummy);
* shorted - index 1
*/
#define CONFIG_CONS_INDEX 1
//#define CONFIG_CONS_INDEX 2
#undef CONFIG_SERIAL_SOFTWARE_FIFO
#define CONFIG_SYS_NS16550
#define CONFIG_SYS_NS16550_SERIAL
...
...
include/configs/davinci_dm6467evm.h
浏览文件 @
4946775c
...
...
@@ -129,4 +129,3 @@
#endif
#endif
/* __CONFIG_H */
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录