Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OS
U-Boot.Mirror
提交
c6676c73
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,发现更多精彩内容 >>
提交
c6676c73
编写于
1月 13, 2007
作者:
W
Wolfgang Denk
提交者:
Wolfgang Denk
1月 13, 2007
浏览文件
操作
浏览文件
下载
差异文件
Merge with /home/git/u-boot
上级
0bba5452
6abaee42
变更
3
隐藏空白更改
内联
并排
Showing
3 changed file
with
29 addition
and
14 deletion
+29
-14
Makefile
Makefile
+5
-0
board/tqm5200/cam5200_flash.c
board/tqm5200/cam5200_flash.c
+2
-2
include/configs/TQM5200.h
include/configs/TQM5200.h
+22
-12
未找到文件。
Makefile
浏览文件 @
c6676c73
...
...
@@ -557,6 +557,7 @@ Total5200_Rev2_lowboot_config: unconfig
@
$(MKCONFIG)
-a
Total5200 ppc mpc5xxx total5200
cam5200_config
\
cam5200_niosflash_config
\
fo300_config
\
MiniFAP_config
\
TQM5200S_config
\
...
...
@@ -574,6 +575,10 @@ TQM5200_STK100_config: unconfig
echo
"#define CONFIG_TQM5200_B"
>>
$(obj)
include/config.h
;
\
echo
"... TQM5200S on Cam5200"
;
\
}
@
[
-z
"
$(
findstring
niosflash,
$@
)
"
]
||
\
{
echo
"#define CONFIG_CAM5200_NIOSFLASH"
>>
$(obj)
include/config.h
;
\
echo
"... with NIOS flash driver"
;
\
}
@
[
-z
"
$(
findstring
fo300,
$@
)
"
]
||
\
{
echo
"#define CONFIG_FO300"
>>
$(obj)
include/config.h
;
\
echo
"... TQM5200 on FO300"
;
\
...
...
board/tqm5200/cam5200_flash.c
浏览文件 @
c6676c73
...
...
@@ -25,7 +25,7 @@
#include <mpc5xxx.h>
#include <asm/processor.h>
#if
def CONFIG_CAM5200
#if
defined(CONFIG_CAM5200) && defined(CONFIG_CAM5200_NIOSFLASH)
#if 0
#define DEBUGF(x...) printf(x)
...
...
@@ -783,4 +783,4 @@ unsigned long flash_init(void)
return
total_b
;
}
#endif
/* if
def CONFIG_CAM5200
*/
#endif
/* if
defined(CONFIG_CAM5200) && defined(CONFIG_CAM5200_NIOSFLASH)
*/
include/configs/TQM5200.h
浏览文件 @
c6676c73
...
...
@@ -231,6 +231,17 @@
"protect on FC000000 +${filesize}\0"
#endif
#ifndef CONFIG_CAM5200
#define CUSTOM_ENV_SETTINGS \
"bootfile=/tftpboot/tqm5200/uImage\0" \
"u-boot=/tftpboot/tqm5200/u-boot.bin\0"
#else
#define CUSTOM_ENV_SETTINGS \
"bootfile=cam5200/uImage\0" \
"u-boot=cam5200/u-boot.bin\0" \
"setup=tftp 200000 cam5200/setup.img; autoscr 200000\0"
#endif
#define CONFIG_EXTRA_ENV_SETTINGS \
"netdev=eth0\0" \
"rootpath=/opt/eldk/ppc_6xx\0" \
...
...
@@ -248,8 +259,7 @@
"bootm ${kernel_addr}\0" \
"net_nfs=tftp 200000 ${bootfile};run nfsargs addip addcons;" \
"bootm\0" \
"bootfile=/tftpboot/tqm5200/uImage\0" \
"u-boot=/tftpboot/tqm5200/u-boot.bin\0" \
CUSTOM_ENV_SETTINGS \
"load=tftp 200000 ${u-boot}\0" \
ENV_UPDT \
""
...
...
@@ -325,15 +335,7 @@
*/
#define CFG_FLASH_BASE 0xFC000000
#ifndef CONFIG_CAM5200
/* use CFI flash driver */
#define CFG_FLASH_CFI 1
/* Flash is CFI conformant */
#define CFG_FLASH_CFI_DRIVER 1
/* Use the common driver */
#define CFG_FLASH_BANKS_LIST { CFG_BOOTCS_START }
#define CFG_MAX_FLASH_BANKS 1
/* max num of flash banks
(= chip selects) */
#define CFG_MAX_FLASH_SECT 512
/* max num of sects on one chip */
#else
/* CONFIG_CAM5200 */
#if defined(CONFIG_CAM5200) && defined(CONFIG_CAM5200_NIOSFLASH)
#define CFG_MAX_FLASH_BANKS 2
/* max num of flash banks
(= chip selects) */
#define CFG_FLASH_WORD_SIZE unsigned int
/* main flash device with */
...
...
@@ -344,7 +346,15 @@
#define CFG_FLASH_ADDR1 0x2AA
#define CFG_FLASH_2ND_16BIT_DEV 1
/* NIOS flash is a 16bit device */
#define CFG_MAX_FLASH_SECT 128
#endif
/* ifndef CONFIG_CAM5200 */
#else
/* use CFI flash driver */
#define CFG_FLASH_CFI 1
/* Flash is CFI conformant */
#define CFG_FLASH_CFI_DRIVER 1
/* Use the common driver */
#define CFG_FLASH_BANKS_LIST { CFG_BOOTCS_START }
#define CFG_MAX_FLASH_BANKS 1
/* max num of flash banks
(= chip selects) */
#define CFG_MAX_FLASH_SECT 512
/* max num of sects on one chip */
#endif
#define CFG_FLASH_EMPTY_INFO
#define CFG_FLASH_SIZE 0x04000000
/* 64 MByte */
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录