Commit Graph

3177 Commits

Author SHA1 Message Date
Andy Fleming
7613afda77 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>
2007-08-16 12:12:53 +02:00
Andy Fleming
b96c83d4ae 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>
2007-08-16 12:12:51 +02:00
Andy Fleming
3a79013e2a 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>
2007-08-16 12:12:49 +02:00
Andy Fleming
ec72382295 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>
2007-08-16 12:12:43 +02:00
Andy Fleming
10aaf716cb 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>
2007-08-16 12:10:56 +02:00
Scott Wood
78f9fef7f4 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>
2007-08-16 12:06:15 +02:00
Wolfgang Denk
592391a6e5 Merge with /home/wd/git/u-boot/master 2007-08-16 12:04:37 +02:00
Michal Simek
002275a3ed 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>
2007-08-16 11:55:27 +02:00
Wolfgang Denk
a5a38f4fd7 Minor Coding Style fix; Update CHANGELOG file.
Signed-off-by: Wolfgang Denk <wd@denx.de>
2007-08-16 11:51:04 +02:00
Wolfgang Denk
4a3c7eb917 Merge with /home/wd/git/u-boot/custodian/u-boot-nand-flash 2007-08-16 11:42:47 +02:00
Stefan Roese
8fb6e80c06 ppc4xx: Remove #warning in esd auto_update.c
Signed-off-by: Stefan Roese <sr@denx.de>
2007-08-16 11:21:49 +02:00
Stefan Roese
2d78074d2e 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>
2007-08-16 11:17:36 +02:00
Stefan Roese
9de469bd96 ppc4xx: Only enable POST FPU test on Sequoia and not Rainier
Signed-off-by: Stefan Roese <sr@denx.de>
2007-08-16 10:18:33 +02:00
Stefan Roese
6da0c5bd4a Add missing rainier (PPC440GRx) target to MAKEALL and MAINTAINERs files
Signed-off-by: Stefan Roese <sr@denx.de>
2007-08-16 09:54:51 +02:00
Stefan Roese
02ba7022f6 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>
2007-08-16 09:52:29 +02:00
Stefan Roese
f31b0aecb5 Merge with git://www.denx.de/git/u-boot.git 2007-08-16 09:21:48 +02:00
Kim Phillips
35cc4e4823 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>
2007-08-15 22:36:33 -05:00
Kim Phillips
3fde9e8b22 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>
2007-08-15 22:36:33 -05:00
Kim Phillips
6a16e0dfcc 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>
2007-08-15 22:36:33 -05:00
Kim Phillips
8f9e0e9f33 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>
2007-08-15 22:36:33 -05:00
Kim Phillips
f4b2ac5ed9 mpc83xx: fix UEC2->1 typo in libfdt setup code
Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
2007-08-15 22:36:33 -05:00
Kim Phillips
19fa1c3536 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>
2007-08-15 22:36:33 -05:00
Stefan Roese
a44e7a97c8 Merge with git://www.denx.de/git/u-boot.git 2007-08-15 21:11:45 +02:00
Stefan Roese
b706d63559 Merge with git://www.denx.de/git/u-boot.git 2007-08-15 21:06:27 +02:00
Wolfgang Denk
ed4058afc8 Merge with /home/wd/git/u-boot/custodian/u-boot-mpc86xx 2007-08-15 20:59:31 +02:00
Jon Loeliger
30b52df9e9 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>
2007-08-15 20:52:49 +02:00
Jon Loeliger
4ce917742b Move the MPC8641HPCN board under board/freescale.
Minor path corrections needed to ensure buildability.

Signed-off-by: Jon Loeliger <jdl@freescale.com>
2007-08-15 12:20:40 -05:00
Jon Loeliger
8662577fe3 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>
2007-08-15 11:49:52 -05:00
Jerry Van Baren
210f463c71 Fix where the #ifdef CFG_BOOTMAPSZ is placed.
Commit 073e1b5099 "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>
2007-08-15 17:44:08 +02:00
Stefan Roese
d61ea14885 Merge with git://www.denx.de/git/u-boot.git 2007-08-15 14:51:27 +02:00
Niklaus Giger
0e19209767 PPC4xx:HCU4/5-Board fix compile warning
Signed-off-by: Niklaus Giger <niklaus.giger@netstal.com>
2007-08-15 13:27:32 +02:00
Ed Swarthout
594e79838c 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>
2007-08-14 21:30:32 +02:00
ksi@koi8.net
b361acd64f TI DaVinci - fix unsupported %hhx format
Signed-off-by: Sergey Kubushyn <ksi@koi8.net>
2007-08-14 20:58:04 +02:00
Wolfgang Denk
541d41b2f2 Merge with /home/wd/git/u-boot/custodian/u-boot-ppc4xx 2007-08-14 18:43:14 +02:00
Wolfgang Denk
f01dbb5424 Coding style cleanup. Update CHANGELOG.
Signed-off-by: Wolfgang Denk <wd@denx.de>
2007-08-14 18:42:36 +02:00
Wolfgang Denk
3f76451b4a Merge with /home/wd/git/u-boot/custodian/u-boot-arm 2007-08-14 18:03:48 +02:00
Wolfgang Denk
71d67f43da Merge with /home/wd/git/u-boot/work 2007-08-14 17:38:34 +02:00
Andy Fleming
073e1b5099 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>
2007-08-14 17:38:19 +02:00
Peter Pearse
e54b970173 Supply spi interface in at45.c 2007-08-14 15:40:00 +01:00
Stefan Roese
3b3bff4cbf Merge with git://www.denx.de/git/u-boot.git 2007-08-14 16:36:29 +02:00
Stefan Roese
4ce846ec59 POST: Fix merge problem
Signed-off-by: Stefan Roese <sr@denx.de>
2007-08-14 15:12:01 +02:00
Stefan Roese
429d9571f6 Coding style cleanup
Signed-off-by: Stefan Roese <sr@denx.de>
2007-08-14 15:03:17 +02:00
Stefan Roese
34886bbea2 Merge with /home/stefan/git/u-boot/zeus 2007-08-14 15:00:42 +02:00
Stefan Roese
779e975117 ppc4xx: Add initial Zeus (PPC405EP) board support
Signed-off-by: Stefan Roese <sr@denx.de>
2007-08-14 14:44:41 +02:00
Stefan Roese
c5a172a5fd 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>
2007-08-14 14:41:55 +02:00
Stefan Roese
eb2b4010ae POST: Add ppc405 support to cache and UART POST
Signed-off-by: Stefan Roese <sr@denx.de>
2007-08-14 14:39:44 +02:00
Peter Pearse
0c42f36f15 Replace lost end of at45.c. 2007-08-14 10:46:32 +01:00
Peter Pearse
65d7ada645 Update Makefiles for merged and split at45.c. 2007-08-14 10:30:06 +01:00
Peter Pearse
3454cece2d Delete the merged files. 2007-08-14 10:21:06 +01:00
Peter Pearse
dcbfd2e564 Add the files. 2007-08-14 10:14:05 +01:00