Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OS
U-Boot.Mirror
提交
854bc8da
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,发现更多精彩内容 >>
提交
854bc8da
编写于
9月 13, 2006
作者:
S
Stefan Roese
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Add support for AMCC Rainier PPX440GRx eval board
Patch by Stefan Roese, 13 Sep 2006
上级
aeec782b
变更
6
隐藏空白更改
内联
并排
Showing
6 changed file
with
40 addition
and
3 deletion
+40
-3
CHANGELOG
CHANGELOG
+3
-0
Makefile
Makefile
+15
-0
board/amcc/sequoia/sequoia.c
board/amcc/sequoia/sequoia.c
+8
-0
cpu/ppc4xx/4xx_enet.c
cpu/ppc4xx/4xx_enet.c
+1
-1
cpu/ppc4xx/vecnum.h
cpu/ppc4xx/vecnum.h
+1
-1
include/configs/sequoia.h
include/configs/sequoia.h
+12
-1
未找到文件。
CHANGELOG
浏览文件 @
854bc8da
...
...
@@ -7,6 +7,9 @@ Changes since U-Boot 1.1.4:
* Cleanup examples binaries
* Add support for AMCC Rainier PPX440GRx eval board
Patch by Stefan Roese, 13 Sep 2006
* Add NAND environment support for PPC440EPx Sequoia NAND boot config
Patch by Stefan Roese, 12 Sep 2006
...
...
Makefile
浏览文件 @
854bc8da
...
...
@@ -1142,6 +1142,21 @@ PPChameleonEVB_HI_33_config: unconfig
}
@
$(MKCONFIG)
-a
$(
call
xtract_4xx,
$@
)
ppc ppc4xx PPChameleonEVB dave
rainier_config
:
unconfig
@
echo
"#define CONFIG_RAINIER"
>
include/config.h
@
echo
"Configuring for rainier board as subset of sequoia..."
@
$(MKCONFIG)
-a
sequoia ppc ppc4xx sequoia amcc
rainier_nand_config
:
unconfig
@
echo
"#define CONFIG_RAINIER"
>
include/config.h
@
echo
"Configuring for rainier board as subset of sequoia..."
@
ln
-s
board/amcc/sequoia/Makefile nand_spl/Makefile
@
echo
"#define CONFIG_NAND_U_BOOT"
>>
include/config.h
@
echo
"Compile NAND boot image for sequoia"
@
$(MKCONFIG)
-a
sequoia ppc ppc4xx sequoia amcc
@
echo
"TEXT_BASE = 0x01000000"
>
board/amcc/sequoia/config.tmp
@
echo
"CONFIG_NAND_U_BOOT = y"
>>
include/config.mk
sbc405_config
:
unconfig
@
$(MKCONFIG)
$
(
@:_config
=)
ppc ppc4xx sbc405
...
...
board/amcc/sequoia/sequoia.c
浏览文件 @
854bc8da
...
...
@@ -140,10 +140,12 @@ int misc_init_r(void)
{
uint
pbcr
;
int
size_val
=
0
;
#ifdef CONFIG_440EPX
unsigned
long
usb2d0cr
=
0
;
unsigned
long
usb2phy0cr
,
usb2h0cr
=
0
;
unsigned
long
sdr0_pfc1
;
char
*
act
=
getenv
(
"usbact"
);
#endif
/*
* FLASH stuff...
...
...
@@ -211,6 +213,7 @@ int misc_init_r(void)
/*
* USB suff...
*/
#ifdef CONFIG_440EPX
if
(
act
==
NULL
||
strcmp
(
act
,
"hostdev"
)
==
0
)
{
/* SDR Setting */
mfsdr
(
SDR0_PFC1
,
sdr0_pfc1
);
...
...
@@ -322,6 +325,7 @@ int misc_init_r(void)
printf
(
"USB: Device(int phy)
\n
"
);
}
#endif
/* CONFIG_440EPX */
return
0
;
}
...
...
@@ -330,7 +334,11 @@ int checkboard(void)
{
char
*
s
=
getenv
(
"serial#"
);
#ifdef CONFIG_440EPX
printf
(
"Board: Sequoia - AMCC PPC440EPx Evaluation Board"
);
#else
printf
(
"Board: Rainier - AMCC PPC440GRx Evaluation Board"
);
#endif
if
(
s
!=
NULL
)
{
puts
(
", serial# "
);
puts
(
s
);
...
...
cpu/ppc4xx/4xx_enet.c
浏览文件 @
854bc8da
...
...
@@ -133,7 +133,7 @@
#define BI_PHYMODE_GMII 3
#define BI_PHYMODE_RTBI 4
#define BI_PHYMODE_TBI 5
#if defined
(CONFIG_440EP
X)
#if defined
(CONFIG_440EPX) || defined(CONFIG_440GR
X)
#define BI_PHYMODE_SMII 6
#define BI_PHYMODE_MII 7
#endif
...
...
cpu/ppc4xx/vecnum.h
浏览文件 @
854bc8da
...
...
@@ -31,7 +31,7 @@
#ifndef _VECNUMS_H_
#define _VECNUMS_H_
#if defined(CONFIG_440EPX) || defined(CONFIG_440
_
GRX)
#if defined(CONFIG_440EPX) || defined(CONFIG_440GRX)
/* UIC 0 */
#define VECNUM_U0 0
/* UART 0 */
...
...
include/configs/sequoia.h
浏览文件 @
854bc8da
...
...
@@ -31,8 +31,13 @@
/*-----------------------------------------------------------------------
* High Level Configuration Options
*----------------------------------------------------------------------*/
/* This config file is used for Sequoia (440EPx) and Rainier (440GRx) */
#ifndef CONFIG_RAINIER
#define CONFIG_SEQUOIA 1
/* Board is Sequoia */
#define CONFIG_440EPX 1
/* Specific PPC440EPx */
#else
#define CONFIG_440GRX 1
/* Specific PPC440GRx */
#endif
#define CONFIG_4xx 1
/* ... PPC4xx family */
#define CONFIG_SYS_CLK_FREQ 33333333
/* external freq to pll */
...
...
@@ -272,12 +277,18 @@
#define CONFIG_PHY1_ADDR 1
/* USB */
#ifdef CONFIG_440EPX
#define CONFIG_USB_OHCI
#define CONFIG_USB_STORAGE
/* Comment this out to enable USB 1.1 device */
#define USB_2_0_DEVICE
#define CMD_USB CFG_CMD_USB
#else
#define CMD_USB 0
/* no USB on 440GRx */
#endif
/* CONFIG_440EPX */
/* Partitions */
#define CONFIG_MAC_PARTITION
#define CONFIG_DOS_PARTITION
...
...
@@ -301,7 +312,7 @@
CFG_CMD_PING | \
CFG_CMD_REGINFO | \
CFG_CMD_SDRAM | \
C
FG_CMD_USB
)
C
MD_USB
)
#define CONFIG_SUPPORT_VFAT
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录