Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OS
U-Boot.Mirror
提交
6f5155a9
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,发现更多精彩内容 >>
提交
6f5155a9
编写于
5月 09, 2006
作者:
M
Marian Balakowicz
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Make R5200 specific low level initialization board conditional.
上级
b75ef85f
变更
3
隐藏空白更改
内联
并排
Showing
3 changed file
with
18 addition
and
9 deletion
+18
-9
CHANGELOG
CHANGELOG
+2
-0
cpu/mcf52x2/start.S
cpu/mcf52x2/start.S
+15
-9
include/configs/r5200.h
include/configs/r5200.h
+1
-0
未找到文件。
CHANGELOG
浏览文件 @
6f5155a9
...
...
@@ -2,6 +2,8 @@
Changes since U-Boot 1.1.4:
======================================================================
* Make R5200 specific low level initialization board conditional.
* Update CPU target identification strings for Coldfire family.
* Update register definitions for MCF5271.
...
...
cpu/mcf52x2/start.S
浏览文件 @
6f5155a9
...
...
@@ -55,7 +55,7 @@
*/
_vectors
:
#ifndef CONFIG_
M5271
#ifndef CONFIG_
R5200
.
long
0
x00000000
,
_START
#else
.
long
0
x00000000
,
0x400
/*
Flash
offset
is
0
until
we
setup
CS0
*/
...
...
@@ -142,7 +142,9 @@ _start:
/
*
Initialize
RAMBAR1
:
locate
SRAM
and
validate
it
*/
move.l
#(
CFG_INIT_RAM_ADDR
+
0x21
),
%
d0
movec
%
d0
,
%
RAMBAR1
#ifdef CONFIG_M5271
#endif
#ifdef CONFIG_R5200
move.l
#(
_flash_setup
-
CFG_FLASH_BASE
),
%a0
move.l
#(
_flash_setup_end
-
CFG_FLASH_BASE
),
%a1
move.l
#(
CFG_INIT_RAM_ADDR
),
%a2
...
...
@@ -150,8 +152,6 @@ _copy_flash:
move.l
(
%a0
)+,
(
%a2
)+
cmp.l
%a0
,
%a1
bgt.s
_copy_flash
#endif
jmp
CFG_INIT_RAM_ADDR
_after_flash_copy
:
#endif
...
...
@@ -174,18 +174,24 @@ _after_flash_copy:
bsr
cpu_init_f
/*
run
low
-
level
CPU
init
code
(
from
flash
)
*/
bsr
board_init_f
/*
run
low
-
level
board
init
code
(
from
flash
)
*/
/
*
board_init_f
()
does
not
return
/
*
board_init_f
()
does
not
return
*/
/*------------------------------------------------------------------------------*/
#ifdef CONFIG_
M5271
#ifdef CONFIG_
R5200
_flash_setup
:
move.l
#
0x1000
,
%
d0
/
*
CSAR0
*/
move.l
#((
CFG_FLASH_BASE
&
0xffff0000
)
>>
16
),
%
d0
move.w
%
d0
,
0x40000080
move.l
#
0x2180
,
%
d0
/
*
CSCR0
*/
move.l
#
0x2180
,
%
d0
/*
8
wait
states
,
16
bit
port
,
auto
ack
,
*/
move.w
%
d0
,
0x4000008A
move.l
#
0x3f0001
,
%
d0
/
*
CSMR0
*/
move.l
#
0x001f0001
,
%
d0
/*
2
MB
,
valid
*/
move.l
%
d0
,
0x40000084
jmp
_after_flash_copy
.
L
_flash_setup_end
:
#endif
...
...
include/configs/r5200.h
浏览文件 @
6f5155a9
...
...
@@ -37,6 +37,7 @@
*/
#define CONFIG_MCF52x2
/* define processor family */
#define CONFIG_M5271
/* define processor type */
#define CONFIG_R5200
/* define board type */
#define FEC_ENET
#define CONFIG_NET_RETRY_COUNT 5
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录