Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
U
u-boot-2015.04
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container Registry
Model registry
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
vesta
u-boot-2015.04
Commits
2853d29b
Commit
2853d29b
authored
21 years ago
by
Stefan Roese
Browse files
Options
Downloads
Patches
Plain Diff
Update configuration.
parent
428c5639
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
include/configs/CPCI405AB.h
+18
-28
18 additions, 28 deletions
include/configs/CPCI405AB.h
include/configs/PCI405.h
+2
-0
2 additions, 0 deletions
include/configs/PCI405.h
include/configs/PMC405.h
+14
-0
14 additions, 0 deletions
include/configs/PMC405.h
with
34 additions
and
28 deletions
include/configs/CPCI405AB.h
+
18
−
28
View file @
2853d29b
...
...
@@ -57,7 +57,7 @@
#undef CONFIG_BOOTARGS
#define CONFIG_BOOTCOMMAND "bootm 100000"
/* default boot command */
#def
ine
CONFIG_LOADS_ECHO
1
/* echo on for serial download */
#
un
def
CONFIG_LOADS_ECHO
/* echo on for serial download */
#define CFG_LOADS_BAUD_CHANGE 1
/* allow baudrate change */
#define CONFIG_MII 1
/* MII PHY management */
...
...
@@ -228,44 +228,34 @@
#define CFG_JFFS2_FIRST_BANK 0
/* use for JFFS2 */
#define CFG_JFFS2_NUM_BANKS 1
/* ! second bank contains U-Boot */
#if 0 /* Use NVRAM for environment variables */
/*-----------------------------------------------------------------------
*
NVRAM organization
*
I2C EEPROM (CAT24WC32) for environment
*/
#define CFG_ENV_IS_IN_NVRAM 1 /* use NVRAM for environment vars */
#define CFG_ENV_SIZE 0x0ff8 /* Size of Environment vars */
#define CFG_ENV_ADDR \
(CFG_NVRAM_BASE_ADDR+CFG_NVRAM_SIZE-(CFG_ENV_SIZE+8)) /* Env */
#define CONFIG_HARD_I2C
/* I2c with hardware support */
#define CFG_I2C_SPEED 400000
/* I2C speed and slave address */
#define CFG_I2C_SLAVE 0x7F
#else
/* Use EEPROM for environment variables */
#define CFG_I2C_EEPROM_ADDR 0x50
/* EEPROM CAT28WC32 */
#define CFG_I2C_EEPROM_ADDR_LEN 2
/* Bytes of address */
/* mask of address bits that overflow into the "EEPROM chip address" */
#define CFG_I2C_EEPROM_ADDR_OVERFLOW 0x01
#define CFG_EEPROM_PAGE_WRITE_BITS 5
/* The Catalyst CAT24WC32 has */
/* 32 byte page write mode using*/
/* last 5 bits of the address */
#define CFG_EEPROM_PAGE_WRITE_DELAY_MS 10
/* and takes up to 10 msec */
#define CFG_EEPROM_PAGE_WRITE_ENABLE
/* Use EEPROM for environment variables */
#define CFG_ENV_IS_IN_EEPROM 1
/* use EEPROM for environment vars */
#define CFG_ENV_OFFSET 0x000
/* environment starts at the beginning of the EEPROM */
#define CFG_ENV_SIZE 0x400
/* 1024 bytes may be used for env vars*/
/* total size of a CAT24WC08 is 1024 bytes */
#endif
#define CFG_ENV_SIZE 0x800
/* 2048 bytes may be used for env vars*/
/* total size of a CAT24WC32 is 4096 bytes */
#define CFG_NVRAM_BASE_ADDR 0xf0200000
/* NVRAM base address */
#define CFG_NVRAM_SIZE (32*1024)
/* NVRAM size */
#define CFG_NVRAM_VXWORKS_OFFS 0x6900
/* Offset for VxWorks eth-addr */
/*-----------------------------------------------------------------------
* I2C EEPROM (CAT24WC08) for environment
*/
#define CONFIG_HARD_I2C
/* I2c with hardware support */
#define CFG_I2C_SPEED 400000
/* I2C speed and slave address */
#define CFG_I2C_SLAVE 0x7F
#define CFG_I2C_EEPROM_ADDR 0x50
/* EEPROM CAT28WC08 */
#define CFG_I2C_EEPROM_ADDR_LEN 1
/* Bytes of address */
/* mask of address bits that overflow into the "EEPROM chip address" */
#define CFG_I2C_EEPROM_ADDR_OVERFLOW 0x07
#define CFG_EEPROM_PAGE_WRITE_BITS 4
/* The Catalyst CAT24WC08 has */
/* 16 byte page write mode using*/
/* last 4 bits of the address */
#define CFG_EEPROM_PAGE_WRITE_DELAY_MS 10
/* and takes up to 10 msec */
#define CFG_EEPROM_PAGE_WRITE_ENABLE
/*-----------------------------------------------------------------------
* Cache Configuration
*/
...
...
This diff is collapsed.
Click to expand it.
include/configs/PCI405.h
+
2
−
0
View file @
2853d29b
...
...
@@ -133,6 +133,8 @@
#undef CONFIG_ZERO_BOOTDELAY_CHECK
/* check for keypress on bootdelay==0 */
#define CONFIG_VERSION_VARIABLE 1
/* include version env variable */
/*-----------------------------------------------------------------------
* PCI stuff
*-----------------------------------------------------------------------
...
...
This diff is collapsed.
Click to expand it.
include/configs/PMC405.h
+
14
−
0
View file @
2853d29b
...
...
@@ -63,6 +63,7 @@
#define CONFIG_PHY_ADDR 0
/* PHY address */
#define CONFIG_COMMANDS ( CONFIG_CMD_DFL | \
CFG_CMD_BSP | \
CFG_CMD_PCI | \
CFG_CMD_IRQ | \
CFG_CMD_ELF | \
...
...
@@ -254,6 +255,19 @@
#define CFG_EBC_PB3AP 0x010059C0
/* BWT=2,WBN=1,WBF=1,TH=1,RE=1,SOR=1,BEM=1 */
#define CFG_EBC_PB3CR CF_BA | 0x1A000
/* BAS=0xF01,BS=1MB,BU=R/W,BW=16bit */
/*-----------------------------------------------------------------------
* FPGA stuff
*/
#define CFG_FPGA_XC95XL 1
/* using Xilinx XC95XL CPLD */
#define CFG_FPGA_MAX_SIZE 32*1024
/* 32kByte is enough for CPLD */
/* FPGA program pin configuration */
#define CFG_FPGA_PRG 0x04000000
/* JTAG TMS pin (ppc output) */
#define CFG_FPGA_CLK 0x02000000
/* JTAG TCK pin (ppc output) */
#define CFG_FPGA_DATA 0x01000000
/* JTAG TDO->TDI data pin (ppc output) */
#define CFG_FPGA_INIT 0x00010000
/* unused (ppc input) */
#define CFG_FPGA_DONE 0x00008000
/* JTAG TDI->TDO pin (ppc input) */
/*-----------------------------------------------------------------------
* Definitions for initial stack pointer and data area (in data cache)
*/
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment