Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OS
U-Boot.Mirror
提交
acf98e7f
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,发现更多精彩内容 >>
提交
acf98e7f
编写于
9月 16, 2003
作者:
W
wdenk
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Make IPB clock on MGT5100/MPC5200 configurable in board config file;
go back to 66 MHz for stability
上级
b56ddc63
变更
4
隐藏空白更改
内联
并排
Showing
4 changed file
with
16 addition
and
5 deletion
+16
-5
CHANGELOG
CHANGELOG
+3
-0
cpu/mpc5xxx/cpu_init.c
cpu/mpc5xxx/cpu_init.c
+2
-0
include/configs/IceCube.h
include/configs/IceCube.h
+6
-0
tools/mkimage.c
tools/mkimage.c
+5
-5
未找到文件。
CHANGELOG
浏览文件 @
acf98e7f
...
...
@@ -2,6 +2,9 @@
Changes for U-Boot 1.0.0:
======================================================================
* Make IPB clock on MGT5100/MPC5200 configurable in board config file;
go back to 66 MHz for stability
* Patches by Jon Diekema, 15 Sep 2003:
- add description for missing CFG_CMD_* entries in the README file
- sacsng tweaks
...
...
cpu/mpc5xxx/cpu_init.c
浏览文件 @
acf98e7f
...
...
@@ -152,6 +152,7 @@ void cpu_init_f (void)
/* enable timebase */
*
(
vu_long
*
)(
MPC5XXX_XLBARB
+
0x40
)
|=
(
1
<<
13
);
#if defined(CFG_IPBSPEED_133)
/* Motorola reports IPB should better run at 133 MHz. */
*
(
vu_long
*
)
MPC5XXX_ADDECR
|=
1
;
/* pci_clk_sel = 0x02, ipb_clk_sel = 0x00; */
...
...
@@ -160,6 +161,7 @@ void cpu_init_f (void)
addecr
|=
0x02
;
*
(
vu_long
*
)
MPC5XXX_CDM_CFG
=
addecr
;
#endif
#endif
}
/*
...
...
include/configs/IceCube.h
浏览文件 @
acf98e7f
...
...
@@ -96,6 +96,12 @@
#define CONFIG_BOOTCOMMAND "bootm 100000"
/* autoboot command */
#define CONFIG_BOOTARGS "root=/dev/ram rw"
#if defined(CONFIG_MPC5200)
/*
* IPB Bus clocking configuration.
*/
#undef CFG_IPBSPEED_133
/* define for 133MHz speed */
#endif
/*
* I2C configuration
*/
...
...
tools/mkimage.c
浏览文件 @
acf98e7f
/*
* (C) Copyright 2000-200
2
* (C) Copyright 2000-200
3
* DENX Software Engineering
* Wolfgang Denk, wd@denx.de
* All rights reserved.
...
...
@@ -39,6 +39,10 @@ typedef unsigned int uint32_t;
#define htonl(a) SWAP_LONG(a)
#endif
/* __WIN32__ */
#ifndef O_BINARY
/* should be define'd on __WIN32__ */
#define O_BINARY 0
#endif
#include <image.h>
extern
int
errno
;
...
...
@@ -265,11 +269,7 @@ NXTARG: ;
if
(
lflag
)
{
ifd
=
open
(
imagefile
,
O_RDONLY
);
}
else
{
#ifdef __WIN32__
ifd
=
open
(
imagefile
,
O_RDWR
|
O_CREAT
|
O_TRUNC
|
O_BINARY
,
0666
);
#else
ifd
=
open
(
imagefile
,
O_RDWR
|
O_CREAT
|
O_TRUNC
,
0666
);
#endif
}
if
(
ifd
<
0
)
{
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录