summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2007-08-18Merge with /home/wd/git/u-boot/custodian/u-boot-mpc85xxWolfgang Denk
2007-08-18Merge with /home/wd/git/u-boot/custodian/u-boot-mpc83xxWolfgang Denk
2007-08-18Merge with git+ssh://gemini_vpn/home/wd/git/u-boot/masterWolfgang Denk
2007-08-18lib_ppc: make board_add_ram_info weakKim Phillips
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>
2007-08-18PCI_READ_VIA_DWORD_OP: Fix *val uninitialized bugShinya Kuribayashi
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>
2007-08-17mpc83xx: fix typo in DDR2 programmingKim Phillips
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>
2007-08-16mpc83xx: move freescale boards to boards/freescaleKim Phillips
includes build fixes. Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
2007-08-16mpc83xx: suppress unused variable 'val8' warningKim Phillips
Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
2007-08-16mpc83xx: implement board_add_ram_infoKim Phillips
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>
2007-08-16mpc83xx: Split PIB init code from pci.c and add Qoc3 ATM card supportTony Li
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>
2007-08-16Add CONFIG_HAS_ETH0 to all boards with TSECAndy Fleming
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>
2007-08-16Update MPC8544 DS PCI memory mapKumar Gala
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>
2007-08-16Fix up some fdt issues on 8544DSKumar Gala
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>
2007-08-16Merge with git://www.denx.de/git/u-boot.gitStefan Roese
2007-08-16PPC4xx:HCU4/5 cleanupNiklaus Giger
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>
2007-08-16PPC4xx:HCU4/5 cleanup ecc/sdram initNiklaus Giger
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>
2007-08-16fdt: suppress unused variable 'bd' warningKim Phillips
Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
2007-08-16Fix warnings from of_data copy fixAndy Fleming
Forgot to cast of_flat_tree to ulong. Signed-off-by: Andy Fleming <afleming@freescale.com>
2007-08-16Don't wait for disconnected TSECsAndy Fleming
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-16Fix numerous bugs in the 8568 UEC supportAndy Fleming
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-16Define tsec flag values in config filesAndy Fleming
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-16Add support for building all boards with a TSECAndy Fleming
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-16Fix of_data copying for CONFIG_OF_FLAT_TREE-using boardsAndy Fleming
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-16mpc885ads: Don't define CONFIG_BZIP2.Scott Wood
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-16Merge with /home/wd/git/u-boot/masterWolfgang Denk
2007-08-16Bios emulator - fix microblaze toolchain problemMichal Simek
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-16Minor Coding Style fix; Update CHANGELOG file.Wolfgang Denk
Signed-off-by: Wolfgang Denk <wd@denx.de>
2007-08-16Merge with /home/wd/git/u-boot/custodian/u-boot-nand-flashWolfgang Denk
2007-08-16ppc4xx: Remove #warning in esd auto_update.cStefan Roese
Signed-off-by: Stefan Roese <sr@denx.de>
2007-08-16ppc7xx: Update CPCI750 boardStefan Roese
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-16ppc4xx: Only enable POST FPU test on Sequoia and not RainierStefan Roese
Signed-off-by: Stefan Roese <sr@denx.de>
2007-08-16Add missing rainier (PPC440GRx) target to MAKEALL and MAINTAINERs filesStefan Roese
Signed-off-by: Stefan Roese <sr@denx.de>
2007-08-16ppc4xx: Update Sequoia/Rainier bootstrap commandStefan Roese
As suggested by David Mitchell, here an update for the Sequoia/Rainier bootstrap command. Signed-off-by: Stefan Roese <sr@denx.de>
2007-08-16Merge with git://www.denx.de/git/u-boot.gitStefan Roese
2007-08-15mpc83xx: enable libfdt by default on freescale boardsKim Phillips
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-15mpc83xx: migrate remaining freescale boards to libfdtKim Phillips
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-15mpc83xx: move common /memory node update mechanism to cpu.cKim Phillips
also adds common prototypes to include/common.h. Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
2007-08-15mpc83xx: remaining 8360 libfdt fixesKim Phillips
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-15mpc83xx: fix UEC2->1 typo in libfdt setup codeKim Phillips
Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
2007-08-15mpc83xx: add MAINTAINER and MAKEALL entries for the mpc8323erdbKim Phillips
and reorder the existing 83xx maintainers alpha. Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
2007-08-15Merge with git://www.denx.de/git/u-boot.gitStefan Roese
2007-08-15Merge with git://www.denx.de/git/u-boot.gitStefan Roese
2007-08-15Merge with /home/wd/git/u-boot/custodian/u-boot-mpc86xxWolfgang Denk
2007-08-1586xx: Fix lingering CFG_CMD_* references in sbc8641d.hJon Loeliger
Remove a leftover in net/tftp.c while we're at it. Signed-off-by: Jon Loeliger <jdl@freescale.com>
2007-08-15Move the MPC8641HPCN board under board/freescale.Jon Loeliger
Minor path corrections needed to ensure buildability. Signed-off-by: Jon Loeliger <jdl@freescale.com>
2007-08-1586xx: Fix lingering CFG_CMD_* references in sbc8641d.hJon Loeliger
Remove a leftover in net/tftp.c while we're at it. Signed-off-by: Jon Loeliger <jdl@freescale.com>
2007-08-15Fix where the #ifdef CFG_BOOTMAPSZ is placed.Jerry Van Baren
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>
2007-08-15PPC4xx:HCU4/5-Board fix compile warningNiklaus Giger
Signed-off-by: Niklaus Giger <niklaus.giger@netstal.com>
2007-08-14Fix malloc size error in ahci_init_one.Ed Swarthout
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-14TI DaVinci - fix unsupported %hhx formatksi@koi8.net
Signed-off-by: Sergey Kubushyn <ksi@koi8.net>