Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OS
U-Boot.Mirror
提交
09e4b0c5
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,发现更多精彩内容 >>
提交
09e4b0c5
编写于
3月 17, 2006
作者:
W
Wolfgang Denk
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Add support for Lite5200B board.
Patch by Patch by Jose Maria (Txema) Lopez, 16 Jan 2006
上级
ff7fefe6
变更
11
隐藏空白更改
内联
并排
Showing
11 changed file
with
192 addition
and
83 deletion
+192
-83
CHANGELOG
CHANGELOG
+3
-0
MAKEALL
MAKEALL
+4
-3
Makefile
Makefile
+14
-0
README
README
+38
-38
board/icecube/flash.c
board/icecube/flash.c
+2
-0
board/icecube/icecube.c
board/icecube/icecube.c
+9
-4
board/icecube/mt46v32m16.h
board/icecube/mt46v32m16.h
+37
-0
board/mpc8349ads/pci.c
board/mpc8349ads/pci.c
+6
-6
fs/jffs2/jffs2_private.h
fs/jffs2/jffs2_private.h
+2
-2
include/configs/IceCube.h
include/configs/IceCube.h
+48
-1
include/configs/RPXlite_DW.h
include/configs/RPXlite_DW.h
+29
-29
未找到文件。
CHANGELOG
浏览文件 @
09e4b0c5
...
@@ -2,6 +2,9 @@
...
@@ -2,6 +2,9 @@
Changes since U-Boot 1.1.4:
Changes since U-Boot 1.1.4:
======================================================================
======================================================================
* Add support for Lite5200B board.
Patch by Patch by Jose Maria (Txema) Lopez, 16 Jan 2006
* Apply SoC concept to arm926ejs CPUs, i.e. move the SoC specific
* Apply SoC concept to arm926ejs CPUs, i.e. move the SoC specific
timer and cpu_reset code from cpu/$(CPU) into the new
timer and cpu_reset code from cpu/$(CPU) into the new
cpu/$(CPU)/$(SOC) directories
cpu/$(CPU)/$(SOC) directories
...
...
MAKEALL
浏览文件 @
09e4b0c5
...
@@ -25,9 +25,10 @@ LIST_5xx=" \
...
@@ -25,9 +25,10 @@ LIST_5xx=" \
#########################################################################
#########################################################################
LIST_5xxx
=
"
\
LIST_5xxx
=
"
\
cpci5200 icecube_5100 icecube_5200 EVAL5200
\
cpci5200 EVAL5200 icecube_5100 icecube_5200
\
mcc200 o2dnt pf5200 PM520
\
lite5200b mcc200 o2dnt pf5200
\
Total5100 Total5200 Total5200_Rev2 TQM5200_auto
\
PM520 Total5100 Total5200 Total5200_Rev2
\
TQM5200_auto
\
"
"
#########################################################################
#########################################################################
...
...
Makefile
浏览文件 @
09e4b0c5
...
@@ -303,6 +303,20 @@ icecube_5100_config: unconfig
...
@@ -303,6 +303,20 @@ icecube_5100_config: unconfig
inka4x0_config
:
unconfig
inka4x0_config
:
unconfig
@
./mkconfig inka4x0 ppc mpc5xxx inka4x0
@
./mkconfig inka4x0 ppc mpc5xxx inka4x0
lite5200b_config
\
lite5200b_LOWBOOT_config
:
unconfig
@
>
include/config.h
@
echo
"#define CONFIG_MPC5200_DDR"
>>
include/config.h
@
echo
"... DDR memory revision"
@
echo
"#define CONFIG_MPC5200"
>>
include/config.h
@
echo
"#define CONFIG_LITE5200B"
>>
include/config.h
@
[
-z
"
$(
findstring
LOWBOOT_,
$@
)
"
]
||
\
{
echo
"TEXT_BASE = 0xFF000000"
>
board/icecube/config.tmp
;
\
echo
"... with LOWBOOT configuration"
;
\
}
@
echo
"... with MPC5200B processor"
@
./mkconfig
-a
IceCube ppc mpc5xxx icecube
mcc200_config
\
mcc200_config
\
mcc200_lowboot_config
:
unconfig
mcc200_lowboot_config
:
unconfig
@
>
include/config.h
@
>
include/config.h
...
...
README
浏览文件 @
09e4b0c5
...
@@ -261,44 +261,44 @@ The following options need to be configured:
...
@@ -261,44 +261,44 @@ The following options need to be configured:
PowerPC based boards:
PowerPC based boards:
---------------------
---------------------
CONFIG_ADCIOP CONFIG_GEN860T CONFIG_PCI
PPC2
CONFIG_ADCIOP CONFIG_GEN860T CONFIG_PCI
405
CONFIG_ADS860 CONFIG_GENIETV CONFIG_PCIPPC
6
CONFIG_ADS860 CONFIG_GENIETV CONFIG_PCIPPC
2
CONFIG_AMX860 CONFIG_GTH CONFIG_
pcu_e
CONFIG_AMX860 CONFIG_GTH CONFIG_
PCIPPC6
CONFIG_AP1000 CONFIG_gw8260 CONFIG_
PIP405
CONFIG_AP1000 CONFIG_gw8260 CONFIG_
pcu_e
CONFIG_AR405 CONFIG_hermes CONFIG_P
M826
CONFIG_AR405 CONFIG_hermes CONFIG_P
IP405
CONFIG_BAB7xx CONFIG_hymod CONFIG_
ppmc8260
CONFIG_BAB7xx CONFIG_hymod CONFIG_
PM826
CONFIG_c2mon CONFIG_IAD210 CONFIG_
QS823
CONFIG_c2mon CONFIG_IAD210 CONFIG_
ppmc8260
CONFIG_CANBT CONFIG_ICU862 CONFIG_QS8
50
CONFIG_CANBT CONFIG_ICU862 CONFIG_QS8
23
CONFIG_CCM CONFIG_IP860 CONFIG_QS8
60T
CONFIG_CCM CONFIG_IP860 CONFIG_QS8
50
CONFIG_CMI CONFIG_IPHASE4539 CONFIG_
RBC823
CONFIG_CMI CONFIG_IPHASE4539 CONFIG_
QS860T
CONFIG_cogent_mpc8260 CONFIG_IVML24 CONFIG_R
PXClassic
CONFIG_cogent_mpc8260 CONFIG_IVML24 CONFIG_R
BC823
CONFIG_cogent_mpc8xx CONFIG_IVML24_128 CONFIG_RPX
lite
CONFIG_cogent_mpc8xx CONFIG_IVML24_128 CONFIG_RPX
Classic
CONFIG_CPCI405 CONFIG_IVML24_256 CONFIG_RPX
super
CONFIG_CPCI405 CONFIG_IVML24_256 CONFIG_RPX
lite
CONFIG_CPCI4052 CONFIG_IVMS8 CONFIG_
rsdproto
CONFIG_CPCI4052 CONFIG_IVMS8 CONFIG_
RPXsuper
CONFIG_CPCIISER4 CONFIG_IVMS8_128 CONFIG_
sacsng
CONFIG_CPCIISER4 CONFIG_IVMS8_128 CONFIG_
rsdproto
CONFIG_CPU86 CONFIG_IVMS8_256 CONFIG_
Sandpoint8240
CONFIG_CPU86 CONFIG_IVMS8_256 CONFIG_
sacsng
CONFIG_CRAYL1 CONFIG_JSE CONFIG_Sandpoint824
5
CONFIG_CRAYL1 CONFIG_JSE CONFIG_Sandpoint824
0
CONFIG_CSB272 CONFIG_LANTEC CONFIG_
sbc8260
CONFIG_CSB272 CONFIG_LANTEC CONFIG_
Sandpoint8245
CONFIG_CU824 CONFIG_
lwmon CONFIG_sbc85
60
CONFIG_CU824 CONFIG_
LITE5200B CONFIG_sbc82
60
CONFIG_DASA_SIM CONFIG_
MBX CONFIG_SM85
0
CONFIG_DASA_SIM CONFIG_
lwmon CONFIG_sbc856
0
CONFIG_DB64360 CONFIG_MBX
860T CONFIG_SPD823TS
CONFIG_DB64360 CONFIG_MBX
CONFIG_SM850
CONFIG_DB64460 CONFIG_M
HPC CONFIG_STXGP3
CONFIG_DB64460 CONFIG_M
BX860T CONFIG_SPD823TS
CONFIG_DU405 CONFIG_M
IP405 CONFIG_SXNI855T
CONFIG_DU405 CONFIG_M
HPC CONFIG_STXGP3
CONFIG_DUET_ADS CONFIG_M
OUSSE CONFIG_TQM823L
CONFIG_DUET_ADS CONFIG_M
IP405 CONFIG_SXNI855T
CONFIG_EBONY CONFIG_M
PC8260ADS CONFIG_TQM8260
CONFIG_EBONY CONFIG_M
OUSSE CONFIG_TQM823L
CONFIG_ELPPC CONFIG_MPC8
540ADS CONFIG_TQM850L
CONFIG_ELPPC CONFIG_MPC8
260ADS CONFIG_TQM8260
CONFIG_ELPT860 CONFIG_MPC8540
EVAL CONFIG_TQM855
L
CONFIG_ELPT860 CONFIG_MPC8540
ADS CONFIG_TQM850
L
CONFIG_ep8260 CONFIG_MPC85
60ADS CONFIG_TQM860
L
CONFIG_ep8260 CONFIG_MPC85
40EVAL CONFIG_TQM855
L
CONFIG_ERIC CONFIG_M
USENKI CONFIG_TTTech
CONFIG_ERIC CONFIG_M
PC8560ADS CONFIG_TQM860L
CONFIG_ESTEEM192E CONFIG_M
VS1 CONFIG_UTX8245
CONFIG_ESTEEM192E CONFIG_M
USENKI CONFIG_TTTech
CONFIG_ETX094 CONFIG_
NETPHONE CONFIG_V37
CONFIG_ETX094 CONFIG_
MVS1 CONFIG_UTX8245
CONFIG_EVB64260 CONFIG_NET
TA CONFIG_W7OLMC
CONFIG_EVB64260 CONFIG_NET
PHONE CONFIG_V37
CONFIG_FADS823 CONFIG_NET
VIA CONFIG_W7OLMG
CONFIG_FADS823 CONFIG_NET
TA CONFIG_W7OLMC
CONFIG_FADS850SAR CONFIG_N
X823 CONFIG_WALNUT
CONFIG_FADS850SAR CONFIG_N
ETVIA CONFIG_W7OLMG
CONFIG_FADS860T CONFIG_
OCRTC CONFIG_ZPC1900
CONFIG_FADS860T CONFIG_
NX823 CONFIG_WALNUT
CONFIG_FLAGADM CONFIG_O
RSG CONFIG_ZUMA
CONFIG_FLAGADM CONFIG_O
CRTC CONFIG_ZPC1900
CONFIG_FPS850L CONFIG_O
XC
CONFIG_FPS850L CONFIG_O
RSG CONFIG_ZUMA
CONFIG_FPS860L CONFIG_
PCI405
CONFIG_FPS860L CONFIG_
OXC
ARM based boards:
ARM based boards:
-----------------
-----------------
...
...
board/icecube/flash.c
浏览文件 @
09e4b0c5
...
@@ -23,6 +23,7 @@
...
@@ -23,6 +23,7 @@
#include <common.h>
#include <common.h>
#ifndef CFG_FLASH_CFI_DRIVER
flash_info_t
flash_info
[
CFG_MAX_FLASH_BANKS
];
/* info for FLASH chips */
flash_info_t
flash_info
[
CFG_MAX_FLASH_BANKS
];
/* info for FLASH chips */
/* NOTE - CONFIG_FLASH_16BIT means the CPU interface is 16-bit, it
/* NOTE - CONFIG_FLASH_16BIT means the CPU interface is 16-bit, it
...
@@ -489,3 +490,4 @@ static int write_word_amd (flash_info_t *info, FPWV *dest, FPW data)
...
@@ -489,3 +490,4 @@ static int write_word_amd (flash_info_t *info, FPWV *dest, FPW data)
return
(
res
);
return
(
res
);
}
}
#endif
/*CFG_FLASH_CFI_DRIVER*/
board/icecube/icecube.c
浏览文件 @
09e4b0c5
...
@@ -28,12 +28,15 @@
...
@@ -28,12 +28,15 @@
#include <mpc5xxx.h>
#include <mpc5xxx.h>
#include <pci.h>
#include <pci.h>
#if defined(CONFIG_
MPC5200_DDR
)
#if defined(CONFIG_
LITE5200B
)
#include "mt46v
16m16-75
.h"
#include "mt46v
32m16
.h"
#else
#else
# if defined(CONFIG_MPC5200_DDR)
# include "mt46v16m16-75.h"
# else
#include "mt48lc16m16a2-75.h"
#include "mt48lc16m16a2-75.h"
# endif
#endif
#endif
#ifndef CFG_RAMBOOT
#ifndef CFG_RAMBOOT
static
void
sdram_start
(
int
hi_addr
)
static
void
sdram_start
(
int
hi_addr
)
{
{
...
@@ -236,7 +239,9 @@ long int initdram (int board_type)
...
@@ -236,7 +239,9 @@ long int initdram (int board_type)
int
checkboard
(
void
)
int
checkboard
(
void
)
{
{
#if defined(CONFIG_MPC5200)
#if defined (CONFIG_LITE5200B)
puts
(
"Board: Freescale Lite5200B
\n
"
);
#elif defined(CONFIG_MPC5200)
puts
(
"Board: Motorola MPC5200 (IceCube)
\n
"
);
puts
(
"Board: Motorola MPC5200 (IceCube)
\n
"
);
#elif defined(CONFIG_MGT5100)
#elif defined(CONFIG_MGT5100)
puts
(
"Board: Motorola MGT5100 (IceCube)
\n
"
);
puts
(
"Board: Motorola MGT5100 (IceCube)
\n
"
);
...
...
board/icecube/mt46v32m16.h
0 → 100644
浏览文件 @
09e4b0c5
/*
* (C) Copyright 2004
* Mark Jonas, Freescale Semiconductor, mark.jonas@motorola.com.
*
* See file CREDITS for list of people who contributed to this
* project.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License as
* published by the Free Software Foundation; either version 2 of
* the License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston,
* MA 02111-1307 USA
*/
#define SDRAM_DDR 1
/* is DDR */
#if defined(CONFIG_MPC5200)
/* Settings for XLB = 132 MHz */
#define SDRAM_MODE 0x018D0000
#define SDRAM_EMODE 0x40090000
#define SDRAM_CONTROL 0x704f0f00
#define SDRAM_CONFIG1 0x73722930
#define SDRAM_CONFIG2 0x47770000
#define SDRAM_TAPDELAY 0x10000000
#else
#error CONFIG_MPC5200 not defined
#endif
board/mpc8349ads/pci.c
浏览文件 @
09e4b0c5
...
@@ -246,9 +246,9 @@ pci_init_board(void)
...
@@ -246,9 +246,9 @@ pci_init_board(void)
/* System memory space */
/* System memory space */
pci_set_region
(
hose
->
regions
+
3
,
pci_set_region
(
hose
->
regions
+
3
,
CONFIG_PCI_SYS_MEM_BUS
,
CONFIG_PCI_SYS_MEM_BUS
,
CONFIG_PCI_SYS_MEM_PHYS
,
CONFIG_PCI_SYS_MEM_PHYS
,
gd
->
ram_size
,
gd
->
ram_size
,
PCI_REGION_MEM
|
PCI_REGION_MEMORY
);
PCI_REGION_MEM
|
PCI_REGION_MEMORY
);
hose
->
region_count
=
4
;
hose
->
region_count
=
4
;
...
@@ -342,9 +342,9 @@ pci_init_board(void)
...
@@ -342,9 +342,9 @@ pci_init_board(void)
/* System memory space */
/* System memory space */
pci_set_region
(
hose
->
regions
+
3
,
pci_set_region
(
hose
->
regions
+
3
,
CONFIG_PCI_SYS_MEM_BUS
,
CONFIG_PCI_SYS_MEM_BUS
,
CONFIG_PCI_SYS_MEM_PHYS
,
CONFIG_PCI_SYS_MEM_PHYS
,
gd
->
ram_size
,
gd
->
ram_size
,
PCI_REGION_MEM
|
PCI_REGION_MEMORY
);
PCI_REGION_MEM
|
PCI_REGION_MEMORY
);
hose
->
region_count
=
4
;
hose
->
region_count
=
4
;
...
...
fs/jffs2/jffs2_private.h
浏览文件 @
09e4b0c5
...
@@ -89,8 +89,8 @@ static inline int
...
@@ -89,8 +89,8 @@ static inline int
data_crc
(
struct
jffs2_raw_inode
*
node
)
data_crc
(
struct
jffs2_raw_inode
*
node
)
{
{
if
(
node
->
data_crc
!=
crc32_no_comp
(
0
,
(
unsigned
char
*
)
if
(
node
->
data_crc
!=
crc32_no_comp
(
0
,
(
unsigned
char
*
)
((
int
)
&
node
->
node_crc
+
sizeof
(
node
->
node_crc
)),
((
int
)
&
node
->
node_crc
+
sizeof
(
node
->
node_crc
)),
node
->
csize
))
{
node
->
csize
))
{
return
0
;
return
0
;
}
else
{
}
else
{
return
1
;
return
1
;
...
...
include/configs/IceCube.h
浏览文件 @
09e4b0c5
...
@@ -122,9 +122,13 @@
...
@@ -122,9 +122,13 @@
# define CFG_LOWBOOT16 1
# define CFG_LOWBOOT16 1
#endif
#endif
#if (TEXT_BASE == 0xFF800000)
/* Boot low with 8 MB Flash */
#if (TEXT_BASE == 0xFF800000)
/* Boot low with 8 MB Flash */
#if defined(CONFIG_LITE5200B)
# error CFG_LOWBOOT08 is incompatible with the Lite5200B
#else
# define CFG_LOWBOOT 1
# define CFG_LOWBOOT 1
# define CFG_LOWBOOT08 1
# define CFG_LOWBOOT08 1
#endif
#endif
#endif
/*
/*
* Autobooting
* Autobooting
...
@@ -160,8 +164,12 @@
...
@@ -160,8 +164,12 @@
/*
/*
* IPB Bus clocking configuration.
* IPB Bus clocking configuration.
*/
*/
#undef CFG_IPBSPEED_133
/* define for 133MHz speed */
#if defined(CONFIG_LITE5200B)
#define CFG_IPBSPEED_133
/* define for 133MHz speed */
#else
#undef CFG_IPBSPEED_133
/* define for 133MHz speed */
#endif
#endif
#endif
/* CONFIG_MPC5200 */
/*
/*
* I2C configuration
* I2C configuration
*/
*/
...
@@ -182,6 +190,20 @@
...
@@ -182,6 +190,20 @@
/*
/*
* Flash configuration
* Flash configuration
*/
*/
#if defined(CONFIG_LITE5200B)
#define CFG_FLASH_BASE 0xFE000000
#define CFG_FLASH_SIZE 0x01000000
#if !defined(CFG_LOWBOOT)
#define CFG_ENV_ADDR (CFG_FLASH_BASE + 0x01760000 + 0x00800000)
#else
/* CFG_LOWBOOT */
#if defined(CFG_LOWBOOT08)
# error CFG_LOWBOOT08 is incompatible with the Lite5200B
#endif
#if defined(CFG_LOWBOOT16)
#define CFG_ENV_ADDR (CFG_FLASH_BASE + 0x01060000)
#endif
#endif
/* CFG_LOWBOOT */
#else
/* !CONFIG_LITE5200B (IceCube)*/
#define CFG_FLASH_BASE 0xFF000000
#define CFG_FLASH_BASE 0xFF000000
#define CFG_FLASH_SIZE 0x01000000
#define CFG_FLASH_SIZE 0x01000000
#if !defined(CFG_LOWBOOT)
#if !defined(CFG_LOWBOOT)
...
@@ -194,6 +216,7 @@
...
@@ -194,6 +216,7 @@
#define CFG_ENV_ADDR (CFG_FLASH_BASE + 0x00040000)
#define CFG_ENV_ADDR (CFG_FLASH_BASE + 0x00040000)
#endif
#endif
#endif
/* CFG_LOWBOOT */
#endif
/* CFG_LOWBOOT */
#endif
/* CONFIG_LITE5200B */
#define CFG_MAX_FLASH_BANKS 2
/* max num of memory banks */
#define CFG_MAX_FLASH_BANKS 2
/* max num of memory banks */
#define CFG_MAX_FLASH_SECT 128
/* max num of sects on one chip */
#define CFG_MAX_FLASH_SECT 128
/* max num of sects on one chip */
...
@@ -203,13 +226,23 @@
...
@@ -203,13 +226,23 @@
#undef CONFIG_FLASH_16BIT
/* Flash is 8-bit */
#undef CONFIG_FLASH_16BIT
/* Flash is 8-bit */
#if defined(CONFIG_LITE5200B)
#define CFG_FLASH_CFI_DRIVER
#define CFG_FLASH_CFI
#define CFG_FLASH_BANKS_LIST {CFG_CS1_START,CFG_CS0_START}
#endif
/*
/*
* Environment settings
* Environment settings
*/
*/
#define CFG_ENV_IS_IN_FLASH 1
#define CFG_ENV_IS_IN_FLASH 1
#define CFG_ENV_SIZE 0x10000
#define CFG_ENV_SIZE 0x10000
#if defined(CONFIG_LITE5200B)
#define CFG_ENV_SECT_SIZE 0x20000
#else
#define CFG_ENV_SECT_SIZE 0x10000
#define CFG_ENV_SECT_SIZE 0x10000
#endif
#define CONFIG_ENV_OVERWRITE 1
#define CONFIG_ENV_OVERWRITE 1
/*
/*
...
@@ -246,6 +279,9 @@
...
@@ -246,6 +279,9 @@
*/
*/
/* #define CONFIG_FEC_10MBIT 1 */
/* #define CONFIG_FEC_10MBIT 1 */
#define CONFIG_PHY_ADDR 0x00
#define CONFIG_PHY_ADDR 0x00
#if defined(CONFIG_LITE5200B)
#define CONFIG_FEC_MII100 1
#endif
/*
/*
* GPIO configuration
* GPIO configuration
...
@@ -288,6 +324,16 @@
...
@@ -288,6 +324,16 @@
#define CFG_HID0_FINAL 0
#define CFG_HID0_FINAL 0
#endif
#endif
#if defined(CONFIG_LITE5200B)
#define CFG_CS1_START CFG_FLASH_BASE
#define CFG_CS1_SIZE CFG_FLASH_SIZE
#define CFG_CS1_CFG 0x00047800
#define CFG_CS0_START (CFG_FLASH_BASE + CFG_FLASH_SIZE)
#define CFG_CS0_SIZE CFG_FLASH_SIZE
#define CFG_BOOTCS_START CFG_CS0_START
#define CFG_BOOTCS_SIZE CFG_FLASH_SIZE
#define CFG_BOOTCS_CFG 0x00047800
#else
/* IceCube aka Lite5200 */
#ifdef CONFIG_MPC5200_DDR
#ifdef CONFIG_MPC5200_DDR
#define CFG_BOOTCS_START (CFG_CS1_START + CFG_CS1_SIZE)
#define CFG_BOOTCS_START (CFG_CS1_START + CFG_CS1_SIZE)
...
@@ -306,6 +352,7 @@
...
@@ -306,6 +352,7 @@
#define CFG_CS0_SIZE CFG_FLASH_SIZE
#define CFG_CS0_SIZE CFG_FLASH_SIZE
#endif
/* CONFIG_MPC5200_DDR */
#endif
/* CONFIG_MPC5200_DDR */
#endif
/*CONFIG_LITE5200B */
#define CFG_CS_BURST 0x00000000
#define CFG_CS_BURST 0x00000000
#define CFG_CS_DEADCYCLE 0x33333333
#define CFG_CS_DEADCYCLE 0x33333333
...
...
include/configs/RPXlite_DW.h
浏览文件 @
09e4b0c5
...
@@ -45,7 +45,7 @@
...
@@ -45,7 +45,7 @@
*/
*/
/* #define DEBUG 1 */
/* #define DEBUG 1 */
/* #define DEPLOYMENT
1 */
/* #define DEPLOYMENT 1 */
#undef CONFIG_MPC860
#undef CONFIG_MPC860
#define CONFIG_MPC823 1
/* This is a MPC823e CPU. */
#define CONFIG_MPC823 1
/* This is a MPC823e CPU. */
...
@@ -61,23 +61,23 @@
...
@@ -61,23 +61,23 @@
#define CONFIG_BAUDRATE 9600
/* console default baudrate = 9600bps */
#define CONFIG_BAUDRATE 9600
/* console default baudrate = 9600bps */
#ifdef DEBUG
#ifdef DEBUG
#define CONFIG_BOOTDELAY
-1
/* autoboot disabled
*/
#define CONFIG_BOOTDELAY
-1
/* autoboot disabled
*/
#else
#else
#define CONFIG_BOOTDELAY
6
/* autoboot after 6 seconds
*/
#define CONFIG_BOOTDELAY
6
/* autoboot after 6 seconds
*/
#ifdef DEPLOYMENT
#ifdef DEPLOYMENT
#define CONFIG_BOOT_RETRY_TIME
-1
#define CONFIG_BOOT_RETRY_TIME
-1
#define CONFIG_AUTOBOOT_KEYED
#define CONFIG_AUTOBOOT_KEYED
#define CONFIG_AUTOBOOT_PROMPT
"autoboot in %d seconds (stop with 'st')...\n"
#define CONFIG_AUTOBOOT_PROMPT
"autoboot in %d seconds (stop with 'st')...\n"
#define CONFIG_AUTOBOOT_STOP_STR
"st"
#define CONFIG_AUTOBOOT_STOP_STR
"st"
#define CONFIG_ZERO_BOOTDELAY_CHECK
#define CONFIG_ZERO_BOOTDELAY_CHECK
#define CONFIG_RESET_TO_RETRY
1
#define CONFIG_RESET_TO_RETRY
1
#define CONFIG_BOOT_RETRY_MIN
1
#define CONFIG_BOOT_RETRY_MIN
1
#endif
/* DEPLOYMENT */
#endif
/* DEPLOYMENT */
#endif
/* DEBUG */
#endif
/* DEBUG */
/* pre-boot commands */
/* pre-boot commands */
#define CONFIG_PREBOOT
"setenv stdout serial;setenv stdin serial"
#define CONFIG_PREBOOT
"setenv stdout serial;setenv stdin serial"
#undef CONFIG_BOOTARGS
#undef CONFIG_BOOTARGS
#define CONFIG_EXTRA_ENV_SETTINGS \
#define CONFIG_EXTRA_ENV_SETTINGS \
...
@@ -117,35 +117,35 @@
...
@@ -117,35 +117,35 @@
#define CONFIG_BOOTP_MASK (CONFIG_BOOTP_DEFAULT | CONFIG_BOOTP_BOOTFILESIZE)
#define CONFIG_BOOTP_MASK (CONFIG_BOOTP_DEFAULT | CONFIG_BOOTP_BOOTFILESIZE)
#if 1
/* Enable this sta
ff could make image enlarge about 25KB. Mask it if you
#if 1
/* Enable this stu
ff could make image enlarge about 25KB. Mask it if you
don't want the advanced function */
don't want the advanced function */
#ifdef
CONFIG_SPLASH_SCREEN
#ifdef
CONFIG_SPLASH_SCREEN
#define CONFIG_COMMANDS
( CONFIG_CMD_DFL
| \
#define CONFIG_COMMANDS
( CONFIG_CMD_DFL
| \
CFG_CMD_ASKENV | \
CFG_CMD_ASKENV | \
CFG_CMD_BMP
| \
CFG_CMD_BMP
| \
CFG_CMD_JFFS2
| \
CFG_CMD_JFFS2
| \
CFG_CMD_PING
| \
CFG_CMD_PING
| \
CFG_CMD_ELF
| \
CFG_CMD_ELF
| \
CFG_CMD_REGINFO | \
CFG_CMD_REGINFO | \
CFG_CMD_DHCP
)
CFG_CMD_DHCP
)
#else
#else
#define CONFIG_COMMANDS
( CONFIG_CMD_DFL
| \
#define CONFIG_COMMANDS
( CONFIG_CMD_DFL
| \
CFG_CMD_ASKENV
| \
CFG_CMD_ASKENV
| \
CFG_CMD_JFFS2
| \
CFG_CMD_JFFS2
| \
CFG_CMD_PING
| \
CFG_CMD_PING
| \
CFG_CMD_ELF
| \
CFG_CMD_ELF
| \
CFG_CMD_REGINFO | \
CFG_CMD_REGINFO | \
CFG_CMD_DHCP
)
CFG_CMD_DHCP
)
#endif
/* CONFIG_SPLASH_SCREEN */
#endif
/* CONFIG_SPLASH_SCREEN */
/* test-only */
/* test-only */
#define CFG_JFFS2_FIRST_BANK
0
/* use for JFFS2 */
#define CFG_JFFS2_FIRST_BANK
0
/* use for JFFS2 */
#define CFG_JFFS2_NUM_BANKS
1
/* ! second bank contains U-Boot */
#define CFG_JFFS2_NUM_BANKS
1
/* ! second bank contains U-Boot */
#define CONFIG_NETCONSOLE
#define CONFIG_NETCONSOLE
#endif
/* 1 */
#endif
/* 1 */
/* this must be included AFTER the definition of CONFIG_COMMANDS (if any) */
/* this must be included AFTER the definition of CONFIG_COMMANDS (if any) */
#include <cmd_confdefs.h>
#include <cmd_confdefs.h>
...
@@ -310,7 +310,7 @@
...
@@ -310,7 +310,7 @@
#if defined(RPXlite_64MHz)
#if defined(RPXlite_64MHz)
#define CFG_SCCR ( SCCR_TBS | SCCR_EBDF01 )
/* %%%SCCR:0x02020000 */
#define CFG_SCCR ( SCCR_TBS | SCCR_EBDF01 )
/* %%%SCCR:0x02020000 */
#else
#else
#define CFG_SCCR
( SCCR_TBS | SCCR_EBDF00 )
/* %%%SCCR:0x02000000 */
#define CFG_SCCR
( SCCR_TBS | SCCR_EBDF00 )
/* %%%SCCR:0x02000000 */
#endif
#endif
/*-----------------------------------------------------------------------
/*-----------------------------------------------------------------------
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录