Skip to content

Commit

Permalink
* Patches by Xianghua Xiao, 15 Oct 2003:
Browse files Browse the repository at this point in the history
  - Added Motorola CPU 8540/8560 support (cpu/85xx)
  - Added Motorola MPC8540ADS board support (board/mpc8540ads)
  - Added Motorola MPC8560ADS board support (board/mpc8560ads)

* Minor code cleanup
  • Loading branch information
wdenk committed Oct 15, 2003
1 parent 2d5b561 commit 42d1f03
Show file tree
Hide file tree
Showing 174 changed files with 14,818 additions and 3,542 deletions.
12 changes: 10 additions & 2 deletions CHANGELOG
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,14 @@
Changes for U-Boot 1.0.0:
======================================================================

* Patches by Xianghua Xiao, 15 Oct 2003:

- Added Motorola CPU 8540/8560 support (cpu/85xx)
- Added Motorola MPC8540ADS board support (board/mpc8540ads)
- Added Motorola MPC8560ADS board support (board/mpc8560ads)

* Fix flash timings on TRAB board

* Make sure HUSH is initialized for running auto-update scripts

* Make 5200 reset command _really_ reset the board, without running
Expand Down Expand Up @@ -38,7 +46,7 @@ Changes for U-Boot 1.0.0:
* Patch by Martin Krause, 09 Oct 2003:
Fixes for TRAB board
- /board/trab/rs485.c: correct baudrate
- /board/trab/cmd_trab.c: bug fix for problem with timer overflow in
- /board/trab/cmd_trab.c: bug fix for problem with timer overflow in
udelay(); fix some timing problems with adc controller
- /board/trab/trab_fkt.c: add new commands: gain, eeprom and power;
modify commands: touch and buzzer
Expand Down Expand Up @@ -88,7 +96,7 @@ Changes for U-Boot 1.0.0:
link state to the fault LED.
- In NetLoop, make the Fault LED reflect the link status. The link
status gets updated on entry, and on timeouts.

* Patch by Anders Larsen, 18 Sep 2003:
allow mkimage to build and run on Cygwin-hosted systems

Expand Down
25 changes: 12 additions & 13 deletions CREDITS
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,14 @@ N: Dr. Bruno Achauer
E: [email protected]
D: Support for NetBSD (both as host and target system)

N: Swen Anderson
E: [email protected]
D: ERIC Support

N: Guillaume Alexandre
E: [email protected]
D: Add PCIPPC6 configuration

N: Swen Anderson
E: [email protected]
D: ERIC Support

N: Pantelis Antoniou
E: [email protected]
D: NETVIA board support, ARTOS support.
Expand Down Expand Up @@ -190,6 +190,11 @@ N: Thomas Koeller
E: [email protected]
D: Port to Motorola Sandpoint 3 (MPC8240)

N: Raghu Krishnaprasad
E: [email protected]
D: Support for Adder-II MPC852T evaluation board
W: http://www.forcecomputers.com

N: Thomas Lange
E: [email protected]
D: Support for GTH and dbau1x00 boards; lots of PCMCIA fixes
Expand Down Expand Up @@ -307,12 +312,6 @@ E: [email protected]
D: Overall improvements on StrongARM, ARM720TDMI; Support for Tuxscreen; initial PCMCIA support for ARM
W: www.elinos.com

N: Pantelis Antoniou
E: [email protected]
D: NETVIA board support, ARTOS support.

N: Raghu Krishnaprasad
E: [email protected]
D: Support for Adder-II MPC852T evaluation board
W: http://www.forcecomputers.com

N: Xianghua Xiao
E: [email protected]
D: Support for Motorola 85xx(PowerQUICC III) chip, MPC8540ADS and MPC8560ADS boards.
13 changes: 9 additions & 4 deletions MAINTAINERS
Original file line number Diff line number Diff line change
Expand Up @@ -112,10 +112,6 @@ Dave Ellis <[email protected]>

SXNI855T MPC8xx

Raghu Krishnaprasad <[email protected]>

ADDERII MPC852T

Thomas Frieden <[email protected]>

AmigaOneG3SE MPC7xx
Expand Down Expand Up @@ -158,6 +154,10 @@ Sangmoon Kim <[email protected]>

debris MPC8245

Raghu Krishnaprasad <[email protected]>

ADDERII MPC852T

Nye Liu <[email protected]>

ZUMA MPC7xx_74xx
Expand Down Expand Up @@ -240,6 +240,11 @@ John Zhan <[email protected]>

svm_sc8xx MPC8xx

Xianghua Xiao <[email protected]>

MPC8540ADS MPC8540
MPC8560ADS MPC8560

-------------------------------------------------------------------------

Unknown / orphaned boards:
Expand Down
11 changes: 10 additions & 1 deletion MAKEALL
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,14 @@ LIST_8260=" \
TQM8260_AC TQM8260_AD TQM8260_AE ZPC1900 \
"

#########################################################################
## MPC85xx Systems (includes 8540, 8560 etc.)
#########################################################################

LIST_85xx=" \
MPC8540ADS MPC8560ADS \
"

#########################################################################
## 74xx/7xx Systems
#########################################################################
Expand All @@ -102,6 +110,7 @@ LIST_7xx=" \
LIST_ppc="${LIST_5xx} ${LIST_5xxx} \
${LIST_8xx} \
${LIST_824x} ${LIST_8260} \
${LIST_85xx} \
${LIST_4xx} \
${LIST_74xx} ${LIST_7xx}"

Expand Down Expand Up @@ -180,7 +189,7 @@ build_target() {
for arg in $@
do
case "$arg" in
ppc|5xx|5xxx|8xx|824x|8260|4xx|7xx|74xx| \
ppc|5xx|5xxx|8xx|824x|8260|85xx|4xx|7xx|74xx| \
arm|SA|ARM7|ARM9|pxa|ixp| \
mips| \
x86|I486)
Expand Down
13 changes: 13 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,9 @@ endif
ifeq ($(CPU),ppc4xx)
OBJS += cpu/$(CPU)/resetvec.o
endif
ifeq ($(CPU),mpc85xx)
OBJS += cpu/$(CPU)/resetvec.o
endif

LIBS = board/$(BOARDDIR)/lib$(BOARD).a
LIBS += cpu/$(CPU)/lib$(CPU).a
Expand Down Expand Up @@ -774,6 +777,16 @@ TQM8265_AA_config: unconfig
ZPC1900_config: unconfig
@./mkconfig $(@:_config=) ppc mpc8260 zpc1900

#########################################################################
## MPC85xx Systems
#########################################################################

MPC8540ADS_config: unconfig
@./mkconfig $(@:_config=) ppc mpc85xx mpc8540ads

MPC8560ADS_config: unconfig
@./mkconfig $(@:_config=) ppc mpc85xx mpc8560ads

#########################################################################
## 74xx/7xx Systems
#########################################################################
Expand Down
32 changes: 20 additions & 12 deletions README
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,7 @@ Directory Hierarchy:
- cpu/mpc8xx Files specific to Motorola MPC8xx CPUs
- cpu/mpc824x Files specific to Motorola MPC824x CPUs
- cpu/mpc8260 Files specific to Motorola MPC8260 CPU
- cpu/mpc85xx Files specific to Motorola MPC85xx CPUs
- cpu/ppc4xx Files specific to IBM 4xx CPUs


Expand Down Expand Up @@ -199,6 +200,10 @@ Directory Hierarchy:
- board/mbx8xx Files specific to MBX boards
- board/mpc8260ads
Files specific to MPC8260ADS and PQ2FADS-ZU boards
- board/mpc8540ads
Files specific to MPC8540ADS boards
- board/mpc8560ads
Files specific to MPC8560ADS boards
- board/mpl/ Files specific to boards manufactured by MPL
- board/mpl/common Common files for MPL boards
- board/mpl/pip405 Files specific to PIP405 boards
Expand All @@ -210,7 +215,7 @@ Directory Hierarchy:
- board/oxc Files specific to OXC boards
- board/omap1510inn
Files specific to OMAP 1510 Innovator boards
- board/omap1610inn
- board/omap1610inn
Files specific to OMAP 1610 Innovator boards
- board/pcippc2 Files specific to PCIPPC2/PCIPPC6 boards
- board/pm826 Files specific to PM826 boards
Expand Down Expand Up @@ -306,6 +311,7 @@ The following options need to be configured:
CONFIG_MPC823, CONFIG_MPC850, CONFIG_MPC855, CONFIG_MPC860
or CONFIG_MPC5xx
or CONFIG_MPC824X, CONFIG_MPC8260
or CONFIG_MPC85xx
or CONFIG_IOP480
or CONFIG_405GP
or CONFIG_405EP
Expand Down Expand Up @@ -356,7 +362,8 @@ The following options need to be configured:
CONFIG_IAD210, CONFIG_RPXlite, CONFIG_sbc8260,
CONFIG_EBONY, CONFIG_sacsng, CONFIG_FPS860L,
CONFIG_V37, CONFIG_ELPT860, CONFIG_CMI,
CONFIG_NETVIA, CONFIG_RBC823, CONFIG_ZPC1900
CONFIG_NETVIA, CONFIG_RBC823, CONFIG_ZPC1900,
CONFIG_MPC8540ADS, CONFIG_MPC8560ADS

ARM based boards:
-----------------
Expand Down Expand Up @@ -591,7 +598,7 @@ The following options need to be configured:
CFG_CMD_DHCP DHCP support
CFG_CMD_DIAG * Diagnostics
CFG_CMD_DOC * Disk-On-Chip Support
CFG_CMD_DTT Digital Therm and Thermostat
CFG_CMD_DTT Digital Therm and Thermostat
CFG_CMD_ECHO * echo arguments
CFG_CMD_EEPROM * EEPROM read/write support
CFG_CMD_ELF bootelf, bootvx
Expand Down Expand Up @@ -893,9 +900,9 @@ The following options need to be configured:
images is included. If not, only uncompressed and gzip
compressed images are supported.

NOTE: the bzip2 algorithm requires a lot of RAM, so
the malloc area (as defined by CFG_MALLOC_LEN) should
be at least 4MB.
NOTE: the bzip2 algorithm requires a lot of RAM, so
the malloc area (as defined by CFG_MALLOC_LEN) should
be at least 4MB.

- Ethernet address:
CONFIG_ETHADDR
Expand Down Expand Up @@ -1757,13 +1764,13 @@ the default environment is used; a new CRC is computed as soon as you
use the "saveenv" command to store a valid environment.

- CFG_FAULT_ECHO_LINK_DOWN:
Echo the inverted Ethernet link state to the fault LED.
Echo the inverted Ethernet link state to the fault LED.

Note: If this option is active, then CFG_FAULT_MII_ADDR
also needs to be defined.

- CFG_FAULT_MII_ADDR:
MII address of the PHY to check for the Ethernet link state.
MII address of the PHY to check for the Ethernet link state.

Low Level (hardware related) configuration options:
---------------------------------------------------
Expand All @@ -1774,9 +1781,9 @@ Low Level (hardware related) configuration options:
- CFG_DEFAULT_IMMR:
Default address of the IMMR after system reset.

Needed on some 8260 systems (MPC8260ADS, PQ2FADS-ZU,
and RPXsuper) to be able to adjust the position of
the IMMR register after a reset.
Needed on some 8260 systems (MPC8260ADS, PQ2FADS-ZU,
and RPXsuper) to be able to adjust the position of
the IMMR register after a reset.

- Floppy Disk Support:
CFG_FDC_DRIVE_NUMBER
Expand Down Expand Up @@ -1950,7 +1957,8 @@ configurations; the following names are supported:
GEN860T_config EBONY_config FPS860L_config
ELPT860_config cmi_mpc5xx_config NETVIA_config
at91rm9200dk_config omap1510inn_config MPC8260ADS_config
omap1610inn_config ZPC1900_config
omap1610inn_config ZPC1900_config MPC8540ADS_config
MPC8560ADS_config

Note: for some board special configuration names may exist; check if
additional information is available from the board vendor; for
Expand Down
2 changes: 0 additions & 2 deletions board/adderII/adderII.h
Original file line number Diff line number Diff line change
Expand Up @@ -41,5 +41,3 @@
* | |
* | ... |
*****************************************************************************/


1 change: 0 additions & 1 deletion board/adderII/config.mk
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,3 @@
#

TEXT_BASE = 0xFE000000

1 change: 0 additions & 1 deletion board/adderII/u-boot.lds
Original file line number Diff line number Diff line change
Expand Up @@ -144,4 +144,3 @@ SECTIONS
_end = . ;
PROVIDE (end = .);
}

2 changes: 1 addition & 1 deletion board/dave/PPChameleonEVB/PPChameleonEVB.c
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ int gunzip(void *, int, unsigned char *, int *);
int board_pre_init (void)
{
out32(GPIO0_OR, CFG_NAND0_CE); /* set initial outputs */
out32(GPIO0_OR, CFG_NAND1_CE); /* set initial outputs */
out32(GPIO0_OR, CFG_NAND1_CE); /* set initial outputs */

/*
* IRQ 0-15 405GP internally generated; active high; level sensitive
Expand Down
32 changes: 16 additions & 16 deletions board/dave/PPChameleonEVB/flash.c
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,8 @@ unsigned long flash_init (void)
#else
unsigned long size_b0;
int i;
uint pbcr;
unsigned long base_b0;
uint pbcr;
unsigned long base_b0;
int size_val = 0;

/* Init: no FLASHes known */
Expand All @@ -64,14 +64,14 @@ unsigned long flash_init (void)
size_b0, size_b0<<20);
}

/* Setup offsets */
flash_get_offsets (-size_b0, &flash_info[0]);
/* Setup offsets */
flash_get_offsets (-size_b0, &flash_info[0]);

/* Re-do sizing to get full correct info */
mtdcr(ebccfga, pb0cr);
pbcr = mfdcr(ebccfgd);
mtdcr(ebccfga, pb0cr);
base_b0 = -size_b0;
/* Re-do sizing to get full correct info */
mtdcr(ebccfga, pb0cr);
pbcr = mfdcr(ebccfgd);
mtdcr(ebccfga, pb0cr);
base_b0 = -size_b0;
switch (size_b0) {
case 1 << 20:
size_val = 0;
Expand All @@ -90,15 +90,15 @@ unsigned long flash_init (void)
break;
}
pbcr = (pbcr & 0x0001ffff) | base_b0 | (size_val << 17);
mtdcr(ebccfgd, pbcr);
mtdcr(ebccfgd, pbcr);

/* Monitor protection ON by default */
(void)flash_protect(FLAG_PROTECT_SET,
-CFG_MONITOR_LEN,
0xffffffff,
&flash_info[0]);
/* Monitor protection ON by default */
(void)flash_protect(FLAG_PROTECT_SET,
-CFG_MONITOR_LEN,
0xffffffff,
&flash_info[0]);

flash_info[0].size = size_b0;
flash_info[0].size = size_b0;

return (size_b0);
#endif
Expand Down
Loading

0 comments on commit 42d1f03

Please sign in to comment.