project/bcm63xx/u-boot.git
17 years ago85xx io out functions need sync after write.
Ed Swarthout [Wed, 26 Sep 2007 21:35:54 +0000 (16:35 -0500)]
85xx io out functions need sync after write.

This fixes the mc146818 rtc_read/write functions for 85xx.

Signed-off-by: Ed Swarthout <Ed.Swarthout@freescale.com>
17 years agoFix ULI RTC support on MPC8544 DS
Kumar Gala [Thu, 30 Aug 2007 21:18:18 +0000 (16:18 -0500)]
Fix ULI RTC support on MPC8544 DS

The RTC on the M1575 ULI chipset requires a dummy read before
we are able to talk to the RTC.  We accomplish this by adding a
second memory region to the PHB the ULI is on and read from it.

The second region is added to maintain compatiabilty with Linux's
view of the PCI memory map.

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
17 years agoft_board_setup update 85xx/86xx of pci/pcie bus-range property.
Ed Swarthout [Thu, 30 Aug 2007 06:58:48 +0000 (01:58 -0500)]
ft_board_setup update 85xx/86xx of pci/pcie bus-range property.

pcie is now differentiated from pci.  Add 8641 bus-range updates.

Signed-off-by: Ed Swarthout <Ed.Swarthout@freescale.com>
17 years agoFix TFTP OACK code for short packets.
Wolfgang Denk [Fri, 31 Aug 2007 08:01:51 +0000 (10:01 +0200)]
Fix TFTP OACK code for short packets.

The old code had a loop limit overflow bug which caused a semi-
infinite loop for small packets, because in "i<len-8", "i" was signed,
but "len" was unsigned, and "len-8" became a huge number for small
values of "len".

This is a workaround which replaces broken commit 8f1bc284.

Signed-off-by: Wolfgang Denk <wd@denx.de>
17 years agoBackout commit 8f1bc284 as it causes TFTP to fail.
Wolfgang Denk [Thu, 30 Aug 2007 12:42:15 +0000 (14:42 +0200)]
Backout commit 8f1bc284 as it causes TFTP to fail.

Signed-off-by: Wolfgang Denk <wd@denx.de>
17 years agoRevert "Fix MPC8544DS PCIe3 scsi."
Ed Swarthout [Thu, 30 Aug 2007 07:26:17 +0000 (02:26 -0500)]
Revert "Fix MPC8544DS PCIe3 scsi."

This reverts commit 9468e680.
Commit 16e23c3f5da removing allocation of PCSRBAR is sufficient.

Signed-off-by: Ed Swarthout <Ed.Swarthout@freescale.com>
17 years agotftp: don't implicity trust the format of recevied packets
Grant Likely [Thu, 30 Aug 2007 00:26:24 +0000 (18:26 -0600)]
tftp: don't implicity trust the format of recevied packets

The TFTP OACK code trusts that the incoming packet is formated as
ASCII text and can be processed by string functions. It also has a
loop limit overflow bug where if the packet length is less than 8, it
ends up looping over *all* of memory to find the 'blksize' string.

This patch solves the problem by forcing the packet to be null
terminated and using strstr() to search for the sub string.

Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
17 years agoMerge with git+ssh://gemini/home/wd/git/u-boot/master
Wolfgang Denk [Wed, 29 Aug 2007 14:22:54 +0000 (16:22 +0200)]
Merge ... git+ssh://gemini/home/wd/git/u-boot/master

17 years agosbc8641: remove unused OF_FLAT_TREE_MAX_SIZE
Kim Phillips [Wed, 29 Aug 2007 14:06:05 +0000 (09:06 -0500)]
sbc8641: remove unused OF_FLAT_TREE_MAX_SIZE

this had slipped through the cracks, since the sbc board was added
after I wrote the original patch to remove all these symbols, and
before it was merged.

Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
17 years agoAdd mii_init() prototype
Wolfgang Denk [Wed, 29 Aug 2007 12:05:30 +0000 (14:05 +0200)]
Add mii_init() prototype

to get rid of a *lot* of compiler warnings.

Signed-off-by: Wolfgang Denk <wd@denx.de>
17 years agoDisable network support on cmi_mpc5xx board
Wolfgang Denk [Wed, 29 Aug 2007 11:35:03 +0000 (13:35 +0200)]
Disable network support on cmi_mpc5xx board

..because it caused compiler errors and there seems to be no
board maintainer to take care of this.

Signed-off-by: Wolfgang Denk <wd@denx.de>
17 years agoFix MPC8544DS PCIe3 scsi.
Kumar Gala [Mon, 20 Aug 2007 14:44:00 +0000 (09:44 -0500)]
Fix MPC8544DS PCIe3 scsi.

<ed.swarthout@freescale.com>

The problem is pciauto_setup_device() getting called from fsl_pci_init.c
is allocating memory space it doesn't need.

Signed-off-by: Ed Swarthout <ed.swarthout@freescale.com>
Signed-off-by: Andy Fleming <afleming@freescale.com>
17 years ago8548cds fixes
Ed Swarthout [Tue, 21 Aug 2007 14:38:59 +0000 (09:38 -0500)]
8548cds fixes

Restore CONFIG_EXTRA_ENV_SETTINGS definition which contains the
correct consoledev needed for linux boot.
Standardize on fdt{file,addr} var to hold dtb file name.

Set PCI inbound memory region from CFG_MEMORY_{BUS,PHYS}.

Signed-off-by: Ed Swarthout <Ed.Swarthout@freescale.com>
17 years agoEnable L2 cache for MPC8568MDS board
Haiying Wang [Thu, 23 Aug 2007 19:20:54 +0000 (15:20 -0400)]
Enable L2 cache for MPC8568MDS board

The L2 cache size is 512KB for 8568, print out the correct informaiton.

Signed-off-by: Haiying Wang <Haiying.Wang@freescale.com>
17 years agoRemove the bios emulator binary files from MAI board
Jason Jin [Wed, 22 Aug 2007 09:54:49 +0000 (17:54 +0800)]
Remove the bios emulator binary files from MAI board

Signed-off-by: Jason Jin <Jason.jin@freescale.com>
17 years agosupport board vendor-common makefiles
Kim Phillips [Tue, 21 Aug 2007 22:00:17 +0000 (17:00 -0500)]
support board vendor-common makefiles

if a board/$(VENDOR)/common/Makefile exists, build it.

also add the first such case, board/freescale/common/Makefile, to
handle building board-shared EEPROM, PIXIS, and MDS-PIB code, as
dictated by board configuration.

thusly get rid of alternate build dir errors such as:

FATAL: can't create /work/wd/tmp/u-boot-ppc/board/freescale/mpc8360emds/../common/pq-mds-pib.o: No such file or directory

by putting the common/ mkdir command in its proper place (the common
Makefile). Common bits from existing individual board Makefiles have
been removed.

Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
17 years agoFix: TFTP is not working on little endian systems
stefano babic [Tue, 21 Aug 2007 13:52:33 +0000 (15:52 +0200)]
Fix: TFTP is not working on little endian systems

TFTP does not work anymore after multicast tftp
patch was applied on little endian systems.
This patch fix it.

Signed-off-by: Stefano Babic <sbabic@denx.de>
17 years agoFix MAC address setting in DM9000 driver.
stefano babic [Tue, 21 Aug 2007 13:50:33 +0000 (15:50 +0200)]
Fix MAC address setting in DM9000 driver.

The logic to check if there is a correct MAC address in the DM9000
EEPROM, added in the last patch, is wrong. Now the MAC address is
always taken from the environment, even if a suitable MAC is present
in the EEPROM.

Signed-off-by: Stefano Babic <sbabic@denx.de>
17 years agoMPC5xxx: fix some compiler warnings in USB code
Martin Krause [Tue, 21 Aug 2007 10:40:34 +0000 (12:40 +0200)]
MPC5xxx: fix some compiler warnings in USB code

Fix the following warnings:
- usb.c:xx: warning: function declaration isn't a prototype
- usb_ohci.c:xxx: warning: passing argument 1 of '__fswab32' makes integer
  from pointer wihtout a cast

Signed-off-by: Martin Krause <martin.krase@tqs.de>
17 years agofsl_pci_init - Remove self PCSRBAR allocation
Ed Swarthout [Tue, 21 Aug 2007 04:55:33 +0000 (23:55 -0500)]
fsl_pci_init - Remove self PCSRBAR allocation

CPU physical address space was being wasted by allocating a
PCSRBAR PCI inbound region to it's memory space.

As a rule, PCSRBAR should be left alone since it does not affect
transactions from self and other masters may have changed it.

Signed-off-by: Ed Swarthout <ed.swarthout@freescale.com>
17 years agoFix compiler warning in include/s3c2410.h
Martin Krause [Mon, 20 Aug 2007 11:56:47 +0000 (13:56 +0200)]
Fix compiler warning in include/s3c2410.h

This patch fixes the "type qualifiers ignored on fuction return tpye"
warning for include/s3c2410.h

Signed-off-by: Martin Krause <martin.krause@tqs.de>
17 years agoFix compilation error for omap2420h4_config.
Dirk Behme [Mon, 20 Aug 2007 05:09:05 +0000 (07:09 +0200)]
Fix compilation error for omap2420h4_config.

omap2420h4 switched to cfi, so remove old (already disabled) flash.c
and flash_probe() calls in env_flash.c.

Signed-off-by: Dirk Behme <dirk.behme@gmail.com>
17 years agofdt: remove unused OF_FLAT_TREE_MAX_SIZE references
Kim Phillips [Fri, 10 Aug 2007 19:34:14 +0000 (14:34 -0500)]
fdt: remove unused OF_FLAT_TREE_MAX_SIZE references

and make some minor corrections to the FDT part of the README.

Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
17 years agoMinor coding style cleanup.
Wolfgang Denk [Tue, 28 Aug 2007 23:32:05 +0000 (01:32 +0200)]
Minor coding style cleanup.

Signed-off-by: Wolfgang Denk <wd@denx.de>
17 years agoMerge with /home/wd/git/u-boot/custodian/u-boot-ppc4xx
Wolfgang Denk [Tue, 28 Aug 2007 22:53:51 +0000 (00:53 +0200)]
Merge ... /home/wd/git/u-boot/custodian/u-boot-ppc4xx

17 years ago[UC101] Fix: if no CF in the board, U-Boot resets sometimes.
Heiko Schocher [Tue, 28 Aug 2007 15:40:33 +0000 (17:40 +0200)]
[UC101] Fix: if no CF in the board, U-Boot resets sometimes.

Signed-off-by: Heiko Schocher <hs@denx.de>
17 years agoIDE: - make ide_inb () and ide_outb () "weak", so boards can
Heiko Schocher [Tue, 28 Aug 2007 15:39:14 +0000 (17:39 +0200)]
IDE: - make ide_inb () and ide_outb () "weak", so boards can
          define there own I/O functions.
          (Needed for the pcs440ep board).
        - The default I/O Functions are again 8 Bit accesses.
        - Added CONFIG_CMD_IDE for the pcs440ep Board.

Signed-off-by: Heiko Schocher <hs@denx.de>
17 years agoPOST: limit memory test area to not touch global data anymore
Yuri Tikhonov [Sat, 25 Aug 2007 03:07:16 +0000 (05:07 +0200)]
POST: limit memory test area to not touch global data anymore

As experienced on lwmon5, on some boards the POST memory test can
corrupt the global data buffer (bd). This patch fixes this issue
by checking and limiting this area.

Signed-off-by: Yuri Tikhonov <yur@emcraft.com>
Signed-off-by: Stefan Roese <sr@denx.de>
17 years agoppc4xx: Add RTC POST test to lwmon5 board configuration
Stefan Roese [Fri, 24 Aug 2007 13:41:42 +0000 (15:41 +0200)]
ppc4xx: Add RTC POST test to lwmon5 board configuration

Since this RTC POST test is taking quite a while to complete
it's only initiated upon special keypress same as the complete
memory POST.

Signed-off-by: Stefan Roese <sr@denx.de>
17 years agoppc4xx: Change GPIO signal for watchdog triggering on lwmon5
Stefan Roese [Fri, 24 Aug 2007 13:19:10 +0000 (15:19 +0200)]
ppc4xx: Change GPIO signal for watchdog triggering on lwmon5

Signed-off-by: Stefan Roese <sr@denx.de>
17 years agoppc4xx: Add support for 2nd I2C EEPROM on lwmon5 board
Stefan Roese [Thu, 23 Aug 2007 09:02:37 +0000 (11:02 +0200)]
ppc4xx: Add support for 2nd I2C EEPROM on lwmon5 board

This patch adds support for the 2nd EEPROM (AT24C128) on the lwmon5
board. Now the "eeprom" command can be used to read/write from/to this
device. Additionally a new command was added "eepromwp" to en-/disable
the write-protect of this 2nd EEPROM.

The 1st EEPROM is not affected by this write-protect command.

Signed-off-by: Stefan Roese <sr@denx.de>
17 years agoppc4xx: Remove unused option CFG_INIT_RAM_OCM
Stefan Roese [Wed, 22 Aug 2007 06:56:09 +0000 (08:56 +0200)]
ppc4xx: Remove unused option CFG_INIT_RAM_OCM

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

17 years agoppc4xx: Add matrix kbd support to lwmon5 board (440EPx based)
Stefan Roese [Tue, 21 Aug 2007 14:27:57 +0000 (16:27 +0200)]
ppc4xx: Add matrix kbd support to lwmon5 board (440EPx based)

This patch adds support for the matrix keyboard on the lwmon5 board.
Since the implementation in the dsPCI is kind of compatible with the
"old" lwmon board, most of the code is copied from the lwmon
board directory.

Signed-off-by: Stefan Roese <sr@denx.de>
17 years agoFix some build errors.
Wolfgang Denk [Sun, 19 Aug 2007 08:27:34 +0000 (10:27 +0200)]
Fix some build errors.

Signed-off-by: Wolfgang Denk <wd@denx.de>
17 years agoUpdate CHANGELOG.
Wolfgang Denk [Sat, 18 Aug 2007 20:00:38 +0000 (22:00 +0200)]
Update CHANGELOG.

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

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

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 agoColdFire: Fix some remaining problems with CFG_CMD_
Stefan Roese [Sat, 18 Aug 2007 12:37:52 +0000 (14:37 +0200)]
ColdFire: Fix some remaining problems with CFG_CMD_

Signed-off-by: Stefan Roese <sr@denx.de>
17 years agoCoding style cleanup
Stefan Roese [Sat, 18 Aug 2007 12:33:02 +0000 (14:33 +0200)]
Coding style cleanup

Signed-off-by: Stefan Roese <sr@denx.de>
17 years agoColdFire: Add M5235EVB Platform for MCF523x
TsiChungLiew [Fri, 17 Aug 2007 00:23:50 +0000 (19:23 -0500)]
ColdFire: Add M5235EVB Platform for MCF523x

Signed-off-by: TsiChungLiew <Tsi-Chung.Liew@freescale.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 agoColdFire: Add M54455EVB for MCF5445x
TsiChungLiew [Thu, 16 Aug 2007 20:05:11 +0000 (15:05 -0500)]
ColdFire: Add M54455EVB for MCF5445x

Signed-off-by: TsiChungLiew <Tsi-Chung.Liew@freescale.com>
17 years agoColdFire: Add M5253EVBE platform for MCF52x2
TsiChungLiew [Thu, 16 Aug 2007 18:20:50 +0000 (13:20 -0500)]
ColdFire: Add M5253EVBE platform for MCF52x2

Signed-off-by: TsiChungLiew <Tsi-Chung.Liew@freescale.com>
17 years agoColdFire: Add M5249EVB platform for MCF52x2
TsiChungLiew [Thu, 16 Aug 2007 10:04:31 +0000 (05:04 -0500)]
ColdFire: Add M5249EVB platform for MCF52x2

Signed-off-by: TsiChungLiew <Tsi-Chung.Liew@freescale.com>
17 years agoColdFire: Update Freescale MCF52x2 platforms
TsiChungLiew [Thu, 16 Aug 2007 01:32:06 +0000 (20:32 -0500)]
ColdFire: Update Freescale MCF52x2 platforms

Signed-off-by: TsiChungLiew <Tsi-Chung.Liew@freescale.com>
17 years agoColdFire: Update EB+MCF-EV123 platform
TsiChungLiew [Thu, 16 Aug 2007 00:55:10 +0000 (19:55 -0500)]
ColdFire: Update EB+MCF-EV123 platform

Signed-off-by: TsiChungLiew <Tsi-Chung.Liew@freescale.com>
17 years agoColdFire: update TASREG platform for MCF52x2
TsiChungLiew [Thu, 16 Aug 2007 00:46:38 +0000 (19:46 -0500)]
ColdFire: update TASREG platform for MCF52x2

Signed-off-by: TsiChungLiew <Tsi-Chung.Liew@freescale.com>
17 years agoColdFire: update r5200 platform for MCF52x2
TsiChungLiew [Thu, 16 Aug 2007 00:45:51 +0000 (19:45 -0500)]
ColdFire: update r5200 platform for MCF52x2

Signed-off-by: TsiChungLiew <Tsi-Chung.Liew@freescale.com>
17 years agoColdFire: idmr platform MCF52x2 update
TsiChungLiew [Thu, 16 Aug 2007 00:43:20 +0000 (19:43 -0500)]
ColdFire: idmr platform MCF52x2 update

Signed-off-by: TsiChungLiew <Tsi-Chung.Liew@freescale.com>
17 years agoColdFire: cobra5272 platform for MCF52x2 update
TsiChungLiew [Thu, 16 Aug 2007 00:41:06 +0000 (19:41 -0500)]
ColdFire: cobra5272 platform for MCF52x2 update

Signed-off-by: TsiChungLiew <Tsi-Chung.Liew@freescale.com>
17 years agoColdFire: MCF52x2 Header files update
TsiChungLiew [Thu, 16 Aug 2007 00:38:15 +0000 (19:38 -0500)]
ColdFire: MCF52x2 Header files update

Signed-off-by: TsiChungLiew <Tsi-Chung.Liew@freescale.com>
17 years agoColdFire: MCF52x2 update
TsiChungLiew [Thu, 16 Aug 2007 00:21:21 +0000 (19:21 -0500)]
ColdFire: MCF52x2 update

Signed-off-by: TsiChungLiew <Tsi-Chung.Liew@freescale.com>
17 years agoColdFire: MCF5329 update cache
TsiChungLiew [Wed, 15 Aug 2007 23:46:11 +0000 (18:46 -0500)]
ColdFire: MCF5329 update cache

Signed-off-by: TsiChungLiew <Tsi-Chung.Liew@freescale.com>
17 years agoColdFire: MCF5329 header file clean up
TsiChungLiew [Wed, 15 Aug 2007 20:40:20 +0000 (15:40 -0500)]
ColdFire: MCF5329 header file clean up

Signed-off-by: TsiChungLiew <Tsi-Chung.Liew@freescale.com>
17 years agoColdFire: MCF5329 Update and cleanup
TsiChungLiew [Wed, 15 Aug 2007 20:39:17 +0000 (15:39 -0500)]
ColdFire: MCF5329 Update and cleanup

Signed-off-by: TsiChungLiew <Tsi-Chung.Liew@freescale.com>
17 years agoMerge branch 'denx-coldfire' into coldfire-aug2007
John Rigby [Thu, 16 Aug 2007 23:40:03 +0000 (17:40 -0600)]
Merge branch 'denx-coldfire' into coldfire-aug2007

17 years agoAdd CONFIG_HAS_ETH0 to all boards with TSEC
Andy Fleming [Thu, 16 Aug 2007 21:35:02 +0000 (16:35 -0500)]
Add CONFIG_HAS_ETH0 to all boards with TSEC

The 85xx code now relies on CONFIG_HAS_ETH0 to determine whether
to update TSEC1's device-tree node, so we need to add it
to all the boards with TSECs.  Do this for 83xx and 86xx, too,
since they will eventually do something similar.

Signed-off-by: Andy Fleming <afleming@freescale.com>
17 years agoUpdate MPC8544 DS PCI memory map
Kumar Gala [Thu, 16 Aug 2007 20:05:04 +0000 (15:05 -0500)]
Update MPC8544 DS PCI memory map

The PCIe bus that the ULI M1575 is connected to has no possible way of
needing more than the fixed amount of IO & Memory space needed by the ULI.

So make it use far less IO & memory space and have it use the shared LAW.  This
free's up a LAW for PCIe1 IO space.  Also reduce the amount of IO space needed
by each bus.

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
17 years agoFix up some fdt issues on 8544DS
Kumar Gala [Thu, 16 Aug 2007 16:01:21 +0000 (11:01 -0500)]
Fix up some fdt issues on 8544DS

It looks like we had a merge issue that duplicated a bit of code
in ft_board_setup.  Also, we need to set CONFIG_HAS_ETH0 to get
the MAC address properly set in the device tree on boot for TSEC1

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
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>