oweals/u-boot.git
17 years agoMerge with /home/wd/git/u-boot/custodian/u-boot-mpc83xx
Wolfgang Denk [Sat, 18 Aug 2007 19:47:33 +0000 (21:47 +0200)]
Merge ... /home/wd/git/u-boot/custodian/u-boot-mpc83xx

17 years agoMerge with git+ssh://gemini_vpn/home/wd/git/u-boot/master
Wolfgang Denk [Sat, 18 Aug 2007 19:42:30 +0000 (21:42 +0200)]
Merge ... git+ssh://gemini_vpn/home/wd/git/u-boot/master

17 years agolib_ppc: make board_add_ram_info weak
Kim Phillips [Fri, 17 Aug 2007 03:52:39 +0000 (22:52 -0500)]
lib_ppc: make board_add_ram_info weak

platforms wishing to display RAM diagnostics in addition to size,
can do so, on one line, in their own board_add_ram_info()
implementation.

this consequently eliminates CONFIG_ADD_RAM_INFO.

Thanks to Stefan for the hint.

Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
17 years agoPCI_READ_VIA_DWORD_OP: Fix *val uninitialized bug
Shinya Kuribayashi [Fri, 17 Aug 2007 03:43:44 +0000 (12:43 +0900)]
PCI_READ_VIA_DWORD_OP: Fix *val uninitialized bug

This patch has been sent on:
- 6 Jun 2007

Many users of PCI config read routines tend to ignore the function
ret value, and are only concerned about the contents of *val. Based
on this, pci_hose_read_config_{byte,word}_via_dword should initialize
the *val on dword read error.

Without this fix, for example, we'll go on scanning bus with vendor or
header_type uninitialized. This brings many unnecessary config trials.

Signed-off-by: Shinya Kuribayashi <shinya.kuribayashi@necel.com>
17 years agompc83xx: fix typo in DDR2 programming
Kim Phillips [Fri, 17 Aug 2007 14:30:00 +0000 (09:30 -0500)]
mpc83xx: fix typo in DDR2 programming

introduced in the implement board_add_ram_info patch as I was cleaning out the
magic numbers.  sorry.

Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
17 years agompc83xx: move freescale boards to boards/freescale
Kim Phillips [Fri, 17 Aug 2007 03:53:09 +0000 (22:53 -0500)]
mpc83xx: move freescale boards to boards/freescale

includes build fixes.

Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
17 years agompc83xx: suppress unused variable 'val8' warning
Kim Phillips [Fri, 17 Aug 2007 03:52:59 +0000 (22:52 -0500)]
mpc83xx: suppress unused variable 'val8' warning

Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
17 years agompc83xx: implement board_add_ram_info
Kim Phillips [Fri, 17 Aug 2007 03:52:48 +0000 (22:52 -0500)]
mpc83xx: implement board_add_ram_info

add board_add_ram_info, to make memory diagnostic output more
consistent. u-boot banner output now looks like:

DRAM:  256 MB (DDR1, 64-bit, ECC on)

and for boards with SDRAM on the local bus, a line such as this is
added:

SDRAM: 64 MB (local bus)

also replaced some magic numbers with their equivalent define names.

Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
17 years agompc83xx: Split PIB init code from pci.c and add Qoc3 ATM card support
Tony Li [Fri, 17 Aug 2007 02:35:59 +0000 (10:35 +0800)]
mpc83xx: Split PIB init code from pci.c and add Qoc3 ATM card support

The patch split the PIB init code from pci.c to a single file board/freescale/common/pq-mds-pib.c
And add Qoc3 ATM card support for MPC8360EMDS and MPC832XEMDS board.

Signed-off-by Tony Li <tony.li@freescale.com>

17 years agoMerge with git://www.denx.de/git/u-boot.git
Stefan Roese [Thu, 16 Aug 2007 17:50:53 +0000 (19:50 +0200)]
Merge with git://www.denx.de/git/u-boot.git

17 years agoPPC4xx:HCU4/5 cleanup
Niklaus Giger [Thu, 16 Aug 2007 13:16:03 +0000 (15:16 +0200)]
PPC4xx:HCU4/5 cleanup

Minor cleanups to confirm to the u-boot coding style.
Some german expressions -> english.
HCU5 enforces a unique IP adress for a given slot in the rack.

Signed-off-by: Niklaus Giger <niklaus.giger@netstal.com>
17 years agoPPC4xx:HCU4/5 cleanup ecc/sdram init
Niklaus Giger [Thu, 16 Aug 2007 13:16:02 +0000 (15:16 +0200)]
PPC4xx:HCU4/5 cleanup ecc/sdram init

Make ecc initialisation robust, as DDR2-ECC errors may be generated
while zeroing the RAM.

Return 16 bytes (a cacheline) less than the available memory, as the
board and/or PPC440EPx might have problems accessing the last bytes.

Signed-off-by: Niklaus Giger <niklaus.giger@netstal.com>
17 years agofdt: suppress unused variable 'bd' warning
Kim Phillips [Thu, 16 Aug 2007 03:29:56 +0000 (22:29 -0500)]
fdt: suppress unused variable 'bd' warning

Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
17 years agoFix warnings from of_data copy fix
Andy Fleming [Thu, 16 Aug 2007 01:06:50 +0000 (20:06 -0500)]
Fix warnings from of_data copy fix

Forgot to cast of_flat_tree to ulong.

Signed-off-by: Andy Fleming <afleming@freescale.com>
17 years agoDon't wait for disconnected TSECs
Andy Fleming [Thu, 16 Aug 2007 01:03:44 +0000 (20:03 -0500)]
Don't wait for disconnected TSECs

The TSEC driver's PHY code waits a long time for autonegotiation to
complete, even if the link is down.  The PHY knows the link is
down or up before autonegotiation completes, so we can short-circuit
the process if the link is down.

Signed-off-by: Andy Fleming <afleming@freescale.com>
17 years agoFix numerous bugs in the 8568 UEC support
Andy Fleming [Thu, 16 Aug 2007 01:03:34 +0000 (20:03 -0500)]
Fix numerous bugs in the 8568 UEC support

Actually, fixed a large bug in the UEC for *all* platforms.
How did this ever work?

uec_init() did not follow the spec for eth_init(), and returned
0 on success.  Switch it to return the link like tsec_init()
(and 0 on error)

The immap for the 8568 was defined based on MPC8568, rather than
CONFIG_MPC8568

CONFIG_QE was off

CONFIG_ETHPRIME was set to "Freescale GETH".  Now is "FSL UEC0"

Fixed a comment about the ranges for CONFIG_ETHPRIME if TSEC_ENET is
enabled

Signed-off-by: Andy Fleming <afleming@freescale.com>
17 years agoDefine tsec flag values in config files
Andy Fleming [Thu, 16 Aug 2007 01:03:25 +0000 (20:03 -0500)]
Define tsec flag values in config files

The tsec_info structure and array has a "flags" field for each
ethernet controller.  This field is the only reason there are
settings.  Switch to defining TSECn_FLAGS for each controller
in the config header, and we can greatly simplify the array, and
also simplify the addition of future boards.

Signed-off-by: Andy Fleming <afleming@freescale.com>
17 years agoAdd support for building all boards with a TSEC
Andy Fleming [Thu, 16 Aug 2007 01:03:13 +0000 (20:03 -0500)]
Add support for building all boards with a TSEC

Changes to the TSEC driver affect almost all 83xx, 85xx, and 86xx boards.
Now we can do a MAKEALL test on all of them!

Signed-off-by: Andy Fleming <afleming@freescale.com>
17 years agoFix of_data copying for CONFIG_OF_FLAT_TREE-using boards
Andy Fleming [Wed, 15 Aug 2007 22:30:56 +0000 (17:30 -0500)]
Fix of_data copying for CONFIG_OF_FLAT_TREE-using boards

The fix, "Fix where the #ifdef CFG_BOOTMAPSZ is placed"
neglected to *also* put the code inside the similar #ifdef
for CONFIG_OF_FLAT_TREE.

Signed-off-by: Andy Fleming <afleming@freescale.com>
17 years agompc885ads: Don't define CONFIG_BZIP2.
Scott Wood [Wed, 15 Aug 2007 20:46:46 +0000 (15:46 -0500)]
mpc885ads: Don't define CONFIG_BZIP2.

bzip2 requires a significant chunk of malloc space, and there isn't
enough room on mpc885ads (with only 8MB RAM) for both bzip2's malloc area
and a downloaded image at 0x400000.

Signed-off-by: Scott Wood <scottwood@freescale.com>
17 years agoMerge with /home/wd/git/u-boot/master
Wolfgang Denk [Thu, 16 Aug 2007 10:04:37 +0000 (12:04 +0200)]
Merge with /home/wd/git/u-boot/master

17 years agoBios emulator - fix microblaze toolchain problem
Michal Simek [Thu, 16 Aug 2007 06:54:10 +0000 (08:54 +0200)]
Bios emulator - fix microblaze toolchain problem

microblaze CPU have problem with bios_emulator code.
Microblaze toolchain doesn't support PRAGMA PACK.

Signed-off-by: Michal Simek <monstr@monstr.eu>
17 years agoMinor Coding Style fix; Update CHANGELOG file.
Wolfgang Denk [Thu, 16 Aug 2007 09:51:04 +0000 (11:51 +0200)]
Minor Coding Style fix; Update CHANGELOG file.

Signed-off-by: Wolfgang Denk <wd@denx.de>
17 years agoMerge with /home/wd/git/u-boot/custodian/u-boot-nand-flash
Wolfgang Denk [Thu, 16 Aug 2007 09:42:47 +0000 (11:42 +0200)]
Merge ... /home/wd/git/u-boot/custodian/u-boot-nand-flash

17 years agoppc4xx: Remove #warning in esd auto_update.c
Stefan Roese [Thu, 16 Aug 2007 09:21:49 +0000 (11:21 +0200)]
ppc4xx: Remove #warning in esd auto_update.c

Signed-off-by: Stefan Roese <sr@denx.de>
17 years agoppc7xx: Update CPCI750 board
Stefan Roese [Fri, 22 Jun 2007 15:32:28 +0000 (17:32 +0200)]
ppc7xx: Update CPCI750 board

This small CPCI750 update extends the board specific command
"show_config" to display the Marvell strapping registers and
extends the PCI IDE controller.

Signed-off-by: Reinhard Arlt <reinhard.arlt@esd-electronics.com>
Signed-off-by: Stefan Roese <sr@denx.de>
17 years agoppc4xx: Only enable POST FPU test on Sequoia and not Rainier
Stefan Roese [Thu, 16 Aug 2007 08:18:33 +0000 (10:18 +0200)]
ppc4xx: Only enable POST FPU test on Sequoia and not Rainier

Signed-off-by: Stefan Roese <sr@denx.de>
17 years agoAdd missing rainier (PPC440GRx) target to MAKEALL and MAINTAINERs files
Stefan Roese [Thu, 16 Aug 2007 07:54:51 +0000 (09:54 +0200)]
Add missing rainier (PPC440GRx) target to MAKEALL and MAINTAINERs files

Signed-off-by: Stefan Roese <sr@denx.de>
17 years agoppc4xx: Update Sequoia/Rainier bootstrap command
Stefan Roese [Thu, 16 Aug 2007 07:52:29 +0000 (09:52 +0200)]
ppc4xx: Update Sequoia/Rainier bootstrap command

As suggested by David Mitchell, here an update for the Sequoia/Rainier
bootstrap command.

Signed-off-by: Stefan Roese <sr@denx.de>
17 years agoMerge with git://www.denx.de/git/u-boot.git
Stefan Roese [Thu, 16 Aug 2007 07:21:48 +0000 (09:21 +0200)]
Merge with git://www.denx.de/git/u-boot.git

17 years agompc83xx: enable libfdt by default on freescale boards
Kim Phillips [Thu, 16 Aug 2007 03:30:39 +0000 (22:30 -0500)]
mpc83xx: enable libfdt by default on freescale boards

this enables libfdt code by default for the
freescale mpc8313erdb, mpc832xemds, mpc8349emds,
mpc8349itx and gp boards.

Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
17 years agompc83xx: migrate remaining freescale boards to libfdt
Kim Phillips [Thu, 16 Aug 2007 03:30:33 +0000 (22:30 -0500)]
mpc83xx: migrate remaining freescale boards to libfdt

this adds libfdt support code for the freescale
mpc8313erdb, mpc832xemds, mpc8349emds, mpc8349itx,
and gp boards.

Boards remain compatible with OF_FLAT_TREE.

Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
17 years agompc83xx: move common /memory node update mechanism to cpu.c
Kim Phillips [Thu, 16 Aug 2007 03:30:26 +0000 (22:30 -0500)]
mpc83xx: move common /memory node update mechanism to cpu.c

also adds common prototypes to include/common.h.

Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
17 years agompc83xx: remaining 8360 libfdt fixes
Kim Phillips [Thu, 16 Aug 2007 03:30:19 +0000 (22:30 -0500)]
mpc83xx: remaining 8360 libfdt fixes

PCI clocks and QE frequencies weren't being updated, and the core clock
was being updated incorrectly.  This patch also adds a /memory node if
it doesn't already exist prior to update.

plus some cosmetic trimming to single line comments.

Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
17 years agompc83xx: fix UEC2->1 typo in libfdt setup code
Kim Phillips [Thu, 16 Aug 2007 03:30:12 +0000 (22:30 -0500)]
mpc83xx: fix UEC2->1 typo in libfdt setup code

Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
17 years agompc83xx: add MAINTAINER and MAKEALL entries for the mpc8323erdb
Kim Phillips [Thu, 16 Aug 2007 03:30:05 +0000 (22:30 -0500)]
mpc83xx: add MAINTAINER and MAKEALL entries for the mpc8323erdb

and reorder the existing 83xx maintainers alpha.

Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
17 years agoMerge with git://www.denx.de/git/u-boot.git
Stefan Roese [Wed, 15 Aug 2007 19:11:45 +0000 (21:11 +0200)]
Merge with git://www.denx.de/git/u-boot.git

17 years agoMerge with git://www.denx.de/git/u-boot.git
Stefan Roese [Wed, 15 Aug 2007 19:06:27 +0000 (21:06 +0200)]
Merge with git://www.denx.de/git/u-boot.git

17 years agoMerge with /home/wd/git/u-boot/custodian/u-boot-mpc86xx
Wolfgang Denk [Wed, 15 Aug 2007 18:59:31 +0000 (20:59 +0200)]
Merge ... /home/wd/git/u-boot/custodian/u-boot-mpc86xx

17 years ago86xx: Fix lingering CFG_CMD_* references in sbc8641d.h
Jon Loeliger [Wed, 15 Aug 2007 16:55:35 +0000 (11:55 -0500)]
86xx: Fix lingering CFG_CMD_* references in sbc8641d.h

Remove a leftover in net/tftp.c while we're at it.

Signed-off-by: Jon Loeliger <jdl@freescale.com>
17 years agoMove the MPC8641HPCN board under board/freescale.
Jon Loeliger [Wed, 15 Aug 2007 17:20:40 +0000 (12:20 -0500)]
Move the MPC8641HPCN board under board/freescale.

Minor path corrections needed to ensure buildability.

Signed-off-by: Jon Loeliger <jdl@freescale.com>
17 years ago86xx: Fix lingering CFG_CMD_* references in sbc8641d.h
Jon Loeliger [Wed, 15 Aug 2007 16:46:22 +0000 (11:46 -0500)]
86xx: Fix lingering CFG_CMD_* references in sbc8641d.h

Remove a leftover in net/tftp.c while we're at it.

Signed-off-by: Jon Loeliger <jdl@freescale.com>
17 years agoFix where the #ifdef CFG_BOOTMAPSZ is placed.
Jerry Van Baren [Wed, 15 Aug 2007 15:13:15 +0000 (11:13 -0400)]
Fix where the #ifdef CFG_BOOTMAPSZ is placed.

Commit 073e1b509980cefe6f53c2d7fbbcd135df1e3924 "Fix initrd/dtb
interaction" put the new code outside of the #if defined(CONFIG_OF_LIBFDT)
when it should have gone inside of the conditional.  As a result, it
broke non-LIBFDT board builds.

Also added a missing "not." to the comment.

Signed-off-by: Gerald Van Baren <vanbaren@cideas.com>
17 years agoPPC4xx:HCU4/5-Board fix compile warning
Niklaus Giger [Wed, 15 Aug 2007 10:14:23 +0000 (12:14 +0200)]
PPC4xx:HCU4/5-Board fix compile warning

Signed-off-by: Niklaus Giger <niklaus.giger@netstal.com>
17 years agoFix malloc size error in ahci_init_one.
Ed Swarthout [Tue, 14 Aug 2007 19:06:45 +0000 (14:06 -0500)]
Fix malloc size error in ahci_init_one.

Typically this causes scsi init to corrupt the
devlist and break the coninfo command.
Fix a compiler size warning.

Signed-off-by: Jason Jin <jason.jin@freescale.com>
Signed-off-by: Ed Swarthout <Ed.Swarthout@freescale.com>
Acked-by: Andy Fleming <afleming@freescale.com>
17 years agoTI DaVinci - fix unsupported %hhx format
ksi@koi8.net [Tue, 14 Aug 2007 17:02:16 +0000 (10:02 -0700)]
TI DaVinci - fix unsupported %hhx format

Signed-off-by: Sergey Kubushyn <ksi@koi8.net>
17 years agoMerge with /home/wd/git/u-boot/custodian/u-boot-ppc4xx
Wolfgang Denk [Tue, 14 Aug 2007 16:43:14 +0000 (18:43 +0200)]
Merge ... /home/wd/git/u-boot/custodian/u-boot-ppc4xx

17 years agoCoding style cleanup. Update CHANGELOG.
Wolfgang Denk [Tue, 14 Aug 2007 16:42:36 +0000 (18:42 +0200)]
Coding style cleanup. Update CHANGELOG.

Signed-off-by: Wolfgang Denk <wd@denx.de>
17 years agoMerge with /home/wd/git/u-boot/custodian/u-boot-arm
Wolfgang Denk [Tue, 14 Aug 2007 16:03:48 +0000 (18:03 +0200)]
Merge ... /home/wd/git/u-boot/custodian/u-boot-arm

17 years agoMerge with /home/wd/git/u-boot/work
Wolfgang Denk [Tue, 14 Aug 2007 15:38:34 +0000 (17:38 +0200)]
Merge with /home/wd/git/u-boot/work

17 years agoFix initrd/dtb interaction
Andy Fleming [Tue, 14 Aug 2007 15:32:59 +0000 (10:32 -0500)]
Fix initrd/dtb interaction

The original code would wrongly relocate the blob to be right before
the initrd if it existed.  The blob *must* be within CFG_BOOTMAPSZ,
if it is defined.  So we make two changes:

1) flag the blob for relocation whenever its address is above BOOTMAPSZ

2) If the blob is being relocated, relocate it before kbd, not initrd

Signed-off-by: Andy Fleming <afleming@freescale.com>
17 years agoSupply spi interface in at45.c
Peter Pearse [Tue, 14 Aug 2007 14:40:00 +0000 (15:40 +0100)]
Supply spi interface in at45.c

17 years agoMerge with git://www.denx.de/git/u-boot.git
Stefan Roese [Tue, 14 Aug 2007 14:36:29 +0000 (16:36 +0200)]
Merge with git://www.denx.de/git/u-boot.git

17 years agoPOST: Fix merge problem
Stefan Roese [Tue, 14 Aug 2007 13:12:01 +0000 (15:12 +0200)]
POST: Fix merge problem

Signed-off-by: Stefan Roese <sr@denx.de>
17 years agoCoding style cleanup
Stefan Roese [Tue, 14 Aug 2007 13:03:17 +0000 (15:03 +0200)]
Coding style cleanup

Signed-off-by: Stefan Roese <sr@denx.de>
17 years agoMerge with /home/stefan/git/u-boot/zeus
Stefan Roese [Tue, 14 Aug 2007 13:00:42 +0000 (15:00 +0200)]
Merge with /home/stefan/git/u-boot/zeus

17 years agoppc4xx: Add initial Zeus (PPC405EP) board support
Stefan Roese [Tue, 14 Aug 2007 12:44:41 +0000 (14:44 +0200)]
ppc4xx: Add initial Zeus (PPC405EP) board support

Signed-off-by: Stefan Roese <sr@denx.de>
17 years agoPOST: Add option for external ethernet loopback test
Stefan Roese [Tue, 14 Aug 2007 12:41:55 +0000 (14:41 +0200)]
POST: Add option for external ethernet loopback test

When CFG_POST_ETHER_EXT_LOOPBACK is defined, the ethernet POST
is not done using an internal loopback connection, but by assuming
that an external loopback connector is plugged into the board.

Signed-off-by: Stefan Roese <sr@denx.de>
17 years agoPOST: Add ppc405 support to cache and UART POST
Stefan Roese [Tue, 14 Aug 2007 12:39:44 +0000 (14:39 +0200)]
POST: Add ppc405 support to cache and UART POST

Signed-off-by: Stefan Roese <sr@denx.de>
17 years agoReplace lost end of at45.c.
Peter Pearse [Tue, 14 Aug 2007 09:46:32 +0000 (10:46 +0100)]
Replace lost end of at45.c.

17 years agoUpdate Makefiles for merged and split at45.c.
Peter Pearse [Tue, 14 Aug 2007 09:30:06 +0000 (10:30 +0100)]
Update Makefiles for merged and split at45.c.

17 years agoDelete the merged files.
Peter Pearse [Tue, 14 Aug 2007 09:21:06 +0000 (10:21 +0100)]
Delete the merged files.

17 years agoAdd the files.
Peter Pearse [Tue, 14 Aug 2007 09:14:05 +0000 (10:14 +0100)]
Add the files.

17 years agoAdd MACH_TYPE records for several AT91 boards.
Peter Pearse [Tue, 14 Aug 2007 09:10:52 +0000 (10:10 +0100)]
Add MACH_TYPE records for several AT91 boards.
Merge to two at45.c files into a common file, split to at45.c and spi.c
Fix spelling error in DM9161 PHY Support.
Initialize at91rm9200 board (and set LED).
Add PIO control for at91rm9200dk LEDs and Mux.
Change dataflash partition boundaries to be compatible with Linux 2.6.

Signed-off-by: Peter Pearse <peter.pearse@arm.com>
Signed-off-by: Ulf Samuelsson <ulf@atmel.com>

17 years agoCoding style cleanup, update CHANGELOG
Wolfgang Denk [Tue, 14 Aug 2007 07:54:46 +0000 (09:54 +0200)]
Coding style cleanup, update CHANGELOG

Signed-off-by: Wolfgang Denk <wd@denx.de>
17 years agoMerge with /home/wd/git/u-boot/custodian/u-boot-mpc85xx
Wolfgang Denk [Tue, 14 Aug 2007 07:53:38 +0000 (09:53 +0200)]
Merge ... /home/wd/git/u-boot/custodian/u-boot-mpc85xx

17 years agoCoding style cleanup; rebuild CHANGELOG
Wolfgang Denk [Tue, 14 Aug 2007 07:47:27 +0000 (09:47 +0200)]
Coding style cleanup; rebuild CHANGELOG

17 years ago85xxCDS: Add make targets for legacy systems.
Randy Vinson [Wed, 28 Feb 2007 02:42:22 +0000 (19:42 -0700)]
85xxCDS: Add make targets for legacy systems.

The PCI ID select values on the Arcadia main board differ depending
on the version of the hardware. The standard configuration supports
Rev 3.1. The legacy target supports Rev 2.x.

Signed-off-by Randy Vinson <rvinson@mvista.com>

17 years ago85xxCDS: Enable the VIA PCI-to-ISA bridge.
Andy Fleming [Tue, 14 Aug 2007 06:50:09 +0000 (01:50 -0500)]
85xxCDS: Enable the VIA PCI-to-ISA bridge.

Author: Randy Vinson <rvinson@linuxbox.(none)>

Enable the PCI-to-ISA bridge in the VIA Southbridge located on the
Arcadia main board.

Signed-off-by: Randy Vinson <rvinson@mvista.com>
Signed-off-by: York Sun <yorksun@freescale.com>
17 years agoAdd support for UEC to 8568
Andy Fleming [Tue, 14 Aug 2007 05:14:25 +0000 (00:14 -0500)]
Add support for UEC to 8568

Signed-off-by: Haiying Wang <Haiying.Wang@freescale.com>
Signed-off-by: Andy Fleming <afleming@freescale.com>
17 years agoAdd PCI support for MPC8568MDS board
Haiying Wang [Tue, 19 Jun 2007 18:18:34 +0000 (14:18 -0400)]
Add PCI support for MPC8568MDS board

This patch is against u-boot-mpc85xx.git of www.denx.com

Signed-off-by: Haiying Wang <Haiying.Wang@freescale.com>
Signed-off-by: Ebony Zhu <ebony.zhu@freescale.com>
17 years agoEmpirically set cpo and clk_adjust for mpc85xx DDR2 support
Haiying Wang [Tue, 19 Jun 2007 18:18:32 +0000 (14:18 -0400)]
Empirically set cpo and clk_adjust for mpc85xx DDR2 support

This patch is against u-boot-mpc85xx.git of www.denx.com

Setting cpo to 0x9 for frequencies higher than 333MHz is verified on
both MPC8548CDS board and MPC8568MDS board, especially for supporting
533MHz DDR2.

Setting clk_adjust to 0x6(3/4 late cycle) for MPC8568MDS board is for
DDR2 on all current board versions especially ver 1.92 or later to bring
up.

Signed-off-by: Haiying Wang <Haiying.Wang@freescale.com>
17 years agoUse an absolute address when jumping out of 4k boot page
Kumar Gala [Tue, 7 Aug 2007 23:07:27 +0000 (18:07 -0500)]
Use an absolute address when jumping out of 4k boot page

On e500 when we leave the 4k boot page we should use an absolute address since
we don't know where the board code may want us to be really running at.

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
17 years agoMPC85xx BA bits not set for 3-bit bank address DIMM
Andy Fleming [Mon, 13 Aug 2007 19:49:59 +0000 (14:49 -0500)]
MPC85xx BA bits not set for 3-bit bank address DIMM

The current implementation does not set the number of bank address bits
(BA) in the processor. The default assumes 2 logical bank bits. This
works fine for a DIMM that uses devices with 4 internal banks (SPD
byte17 = 0x4) but needs to be set appropriately for a DIMM that uses
devices with 8 internal banks (SPD byte17 = 0x8).

Signed-off-by: Greg Davis <DavisG@embeddedplanet.com>
17 years agoFix minor 85xx warnings
Andy Fleming [Mon, 13 Aug 2007 19:38:06 +0000 (14:38 -0500)]
Fix minor 85xx warnings

Some patches had inserted warnings into the build:
* mpc8560ads declared data without using it
* cpu_init declared ecm and immap without using it in all CONFIGs
* MPC8548CDS.h had its default filenames changed so that they contained
  "\m" in the paths.  Made the defaults not Windows-specific (or
  anything-specific)

Signed-off-by: Andy Fleming <afleming@freescale.com>
17 years ago8548cds PCIE support.
Ed Swarthout [Fri, 27 Jul 2007 06:50:52 +0000 (01:50 -0500)]
8548cds PCIE support.

Make the early L1 cache stack region guarded to prevent speculative
fetches outside the locked range.

Use _PHYS defines, not _MEM for cpu-side PCI memory mapped regions.
init.S whitespace cleanup.

Allow TEXT_BASE value to be specified on command line.  This allows it
to be set to 0xfffc0000 which cuts the uboot binary in half.

Clear and enable lbc and ecm errors.

Update last_busno in device-tree for pci and pcie.

Remove load of obsolete cpu/mpc85xx/pci.0

Signed-off-by: Ed Swarthout <Ed.Swarthout@freescale.com>
Acked-by: Andy Fleming <afleming@freescale.com>
17 years ago8544ds PCIE support
Ed Swarthout [Fri, 27 Jul 2007 06:50:51 +0000 (01:50 -0500)]
8544ds PCIE support

PCI1 LAW mapping should use CFG_PCI1_MEM_PHY and not _BASE address.

Enable LBC and ECM errors and clear error registers.

Add tftpflash env var to get uboot from tftp server and flash it.

Add pci/pcie convenience env vars to display register space:
  "run pcie3regs" to see all pcie3 ccsr registers
  "run pcie3cfg" to see all cfg registers
Whitespace cleanup and MPC8544DS.h

Enable CONFIG_INTERRUPTS.

Signed-off-by: Ed Swarthout <Ed.Swarthout@freescale.com>
Acked-by: Andy Fleming <afleming@freescale.com>
17 years ago85xx start.S cleanup and exception support
Andy Fleming [Tue, 14 Aug 2007 06:34:21 +0000 (01:34 -0500)]
85xx start.S cleanup and exception support

From: Ed Swarthout <Ed.Swarthout@freescale.com>

Support external interrupts from platform to eliminate system hangs.
Define CONFIG_INTERRUPTS board configure option to enable.
Enable ecm, ddr, lbc, and pci/pcie error interrupts in PIC.

Remove extra cpu initialization redundant with hardware initialization.
Whitespace cleanup.

Define and use _START_OFFSET consistent with other processors using
ppc_asm.tmpl

Move additional code from .text to boot page to make room for
exception vectors at start of image.

Handle Machine Check, External and Critical exceptions.

Fix e500 machine check error determination in traps.c

TEXT_BASE can now be 0xfffc_0000 - which cuts binary image in half.

Signed-off-by: Ed Swarthout <Ed.Swarthout@freescale.com>
Acked-by: Andy Fleming <afleming@freescale.com>
17 years agoAdd MPC8544DS README
Andy Fleming [Tue, 14 Aug 2007 06:33:18 +0000 (01:33 -0500)]
Add MPC8544DS README

Signed-off-by: Andy Fleming <afleming@freescale.com>
17 years ago85xx allow debugger to configure ddr.
Ed Swarthout [Fri, 27 Jul 2007 06:50:48 +0000 (01:50 -0500)]
85xx allow debugger to configure ddr.

Only check for mpc8548 rev 1 when compiled for 8548.

Signed-off-by: Ed Swarthout <Ed.Swarthout@freescale.com>
Acked-by: Andy Fleming <afleming@freescale.com>
17 years agompc85xx L2 cache reporting and SRAM relocation option.
Ed Swarthout [Fri, 27 Jul 2007 06:50:47 +0000 (01:50 -0500)]
mpc85xx L2 cache reporting and SRAM relocation option.

Allow debugger to override flash cs0/cs1 settings to enable alternate
boot regions

Signed-off-by: Ed Swarthout <Ed.Swarthout@freescale.com>
Acked-by: Andy Fleming <afleming@freescale.com>
17 years agoe500 needs ppc_asm.tmp MCK_EXCEPTION
Ed Swarthout [Fri, 27 Jul 2007 06:50:46 +0000 (01:50 -0500)]
e500 needs ppc_asm.tmp MCK_EXCEPTION

Always define MCK_EXCEPTION macro - so e500 can use it too.

Signed-off-by: Ed Swarthout <Ed.Swarthout@freescale.com>
Acked-by: Andy Fleming <afleming@freescale.com>
17 years agomulticast tftp: RFC2090
David Updegraff [Mon, 11 Jun 2007 15:41:07 +0000 (10:41 -0500)]
multicast tftp: RFC2090

Implemented IETF RFC2090, Multicast TFTP.  Initial implementation
on Realtek RTL8139 and Freescale TSEC.

Signed-off-by: David Updegraff <dave@cray.com>
Signed-off-by: Ben Warren <bwarren@qstreams.com>
17 years agoNew CONFIG_BOOTP_SERVERIP option
Wilson Callan [Sat, 28 Jul 2007 14:56:13 +0000 (10:56 -0400)]
New CONFIG_BOOTP_SERVERIP option

Added CONFIG_BOOTP_SERVERIP to allow the tftp server to be different
from the bootp server

Signed-off-by: Wilson Callan <wcallan@savantav.com>
Signed-off-by: Ben Warren <bwarren@qstreams.com>
17 years agoAdd ability to take MAC address from the environment to DM9000 driver
Mike Rapoport [Sun, 12 Aug 2007 05:48:27 +0000 (08:48 +0300)]
Add ability to take MAC address from the environment to DM9000 driver

Signed-off-by: Mike Rapoport <mike@compulab.co.il>
Signed-off-by: Ben Warren <bwarren@qstreams.com>
17 years agoSync'd u-boot-net with mainline
Ben Warren [Tue, 14 Aug 2007 01:26:03 +0000 (21:26 -0400)]
Sync'd u-boot-net with mainline

Merge git://www.denx.de/git/u-boot

Conflicts:

drivers/bcm570x.c
drivers/tigon3.c

17 years agoMerge with /home/wd/git/u-boot/custodian/u-boot-mpc86xx
Wolfgang Denk [Mon, 13 Aug 2007 20:00:25 +0000 (22:00 +0200)]
Merge ... /home/wd/git/u-boot/custodian/u-boot-mpc86xx

17 years agoMinor coding style cleanup. Update CHANGELOG.
Wolfgang Denk [Mon, 13 Aug 2007 19:57:53 +0000 (21:57 +0200)]
Minor coding style cleanup. Update CHANGELOG.

Signed-off-by: Wolfgang Denk <wd@denx.de>
17 years agoMerge commit 'remotes/wd/master'
Jon Loeliger [Mon, 13 Aug 2007 16:01:52 +0000 (11:01 -0500)]
Merge commit 'remotes/wd/master'

Conflicts:

MAKEALL

With any luck, this is the last MAKEALL merge conflict!

17 years agoModify SBC8641D to use new Freescale PCI routines
Joe Hamman [Sat, 11 Aug 2007 11:54:58 +0000 (06:54 -0500)]
Modify SBC8641D to use new Freescale PCI routines

PCI-Express sockets 1 and 2 verified working with Intel Pro/1000 PT
adapter.

Signed-off-by: Joe Hamman <joe.hamman@embeddedspecialties.com>
Signde-off-by: Jon Loeliger <jdl@freescale.com>
17 years agoatmel_mci: Fix data timeout value
Haavard Skinnemoen [Fri, 29 Jun 2007 16:38:51 +0000 (18:38 +0200)]
atmel_mci: Fix data timeout value

Calculate the data timeout based on values from the CSD instead of
just using a hardcoded DTOR value. This is a backport of a similar fix
in BSP 2.0, with one additional fix: the DTOCYC value is rounded up
instead of down.

Signed-off-by: Haavard Skinnemoen <hskinnemoen@atmel.com>
17 years agoAVR32: Include <div64.h> instead of <asm/div64.h>
Haavard Skinnemoen [Mon, 13 Aug 2007 15:22:31 +0000 (17:22 +0200)]
AVR32: Include <div64.h> instead of <asm/div64.h>

include/asm-avr32/div64.h was recently moved to include/div64.h, but
cpu/at32ap/interrupts.c wasn't properly updated (an earlier version of
the patch was merged perhaps?)

This patch updates cpu/at32ap/interrupts.c so that the avr32 port
compiles again.

Signed-off-by: Haavard Skinnemoen <hskinnemoen@atmel.com>
17 years agoMerge commit 'upstream/master'
Haavard Skinnemoen [Mon, 13 Aug 2007 14:34:33 +0000 (16:34 +0200)]
Merge commit 'upstream/master'

17 years agoatmel_mci: Use 512 byte blocksize if possible
Haavard Skinnemoen [Wed, 27 Jun 2007 11:34:26 +0000 (13:34 +0200)]
atmel_mci: Use 512 byte blocksize if possible

Instead of always using the largest blocksize the card supports, check
if it can support smaller block sizes and use 512 bytes if possible.
Most cards do support this, and other parts of u-boot seem to have
trouble with block sizes different from 512 bytes.

Also enable underrun/overrun protection.

Signed-off-by: Haavard Skinnemoen <hskinnemoen@atmel.com>
Acked-by: Hans-Christian Egtvedt <hcegtvedt@atmel.com>
17 years agoppc4xx: Fix problem in PLL clock calculation
Stefan Roese [Mon, 13 Aug 2007 07:05:33 +0000 (09:05 +0200)]
ppc4xx: Fix problem in PLL clock calculation

This patch was originall provided by David Mitchell <dmitchell@amcc.com>
and fixes a bug in the PLL clock calculation.

Signed-off-by: Stefan Roese <sr@denx.de>
17 years agoUpdate CHANGELOG
Wolfgang Denk [Sun, 12 Aug 2007 19:34:50 +0000 (21:34 +0200)]
Update CHANGELOG

17 years agoMinor alignment of output, 2nd try.
Wolfgang Denk [Sun, 12 Aug 2007 19:34:34 +0000 (21:34 +0200)]
Minor alignment of output, 2nd try.
Also update CHANGELOG

Signed-off-by: Wolfgang Denk <wd@denx.de>
17 years agoMinor alignment of output
Wolfgang Denk [Sun, 12 Aug 2007 18:35:49 +0000 (20:35 +0200)]
Minor alignment of output

Signed-off-by: Wolfgang Denk <wd@denx.de>
17 years agoCleanup output on ADS5121 board
Wolfgang Denk [Sun, 12 Aug 2007 16:28:18 +0000 (18:28 +0200)]
Cleanup output on ADS5121 board

Signed-off-by: Wolfgang Denk
17 years agoMerge with git+ssh://gemini_vpn/home/wd/git/u-boot/master
Wolfgang Denk [Sun, 12 Aug 2007 16:12:38 +0000 (18:12 +0200)]
Merge ... git+ssh://gemini_vpn/home/wd/git/u-boot/master