summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeLines
* lib_ppc: make board_add_ram_info weakKim Phillips2007-08-18-18/+6
| | | | | | | | | | | | 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>
* PCI_READ_VIA_DWORD_OP: Fix *val uninitialized bugShinya Kuribayashi2007-08-18-1/+3
| | | | | | | | | | | | | | | 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>
* fdt: suppress unused variable 'bd' warningKim Phillips2007-08-16-1/+0
| | | | Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
* Fix warnings from of_data copy fixAndy Fleming2007-08-16-2/+2
| | | | | | Forgot to cast of_flat_tree to ulong. Signed-off-by: Andy Fleming <afleming@freescale.com>
* Don't wait for disconnected TSECsAndy Fleming2007-08-16-13/+17
| | | | | | | | | 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>
* Fix numerous bugs in the 8568 UEC supportAndy Fleming2007-08-16-7/+7
| | | | | | | | | | | | | | | | | | | | | 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>
* Define tsec flag values in config filesAndy Fleming2007-08-16-37/+64
| | | | | | | | | | 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>
* Add support for building all boards with a TSECAndy Fleming2007-08-16-1/+7
| | | | | | | 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>
* Fix of_data copying for CONFIG_OF_FLAT_TREE-using boardsAndy Fleming2007-08-16-0/+9
| | | | | | | | 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>
* mpc885ads: Don't define CONFIG_BZIP2.Scott Wood2007-08-16-0/+3
| | | | | | | | 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>
* Merge with /home/wd/git/u-boot/masterWolfgang Denk2007-08-16-477/+826
|\
| * Minor Coding Style fix; Update CHANGELOG file.Wolfgang Denk2007-08-16-3/+580
| | | | | | | | Signed-off-by: Wolfgang Denk <wd@denx.de>
| * Merge with /home/wd/git/u-boot/custodian/u-boot-nand-flashWolfgang Denk2007-08-16-474/+246
| |\
| | * Merge with git://www.denx.de/git/u-boot.gitStefan Roese2007-08-15-176/+174
| | |\
| | * \ Merge with git://www.denx.de/git/u-boot.gitStefan Roese2007-08-15-133217/+75485
| | |\ \
| | * | | Small coding style cleanupStefan Roese2007-07-09-2/+0
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Stefan Roese <sr@denx.de>
| | * | | Migrate esd 405EP boards to new NAND subsystemMatthias Fuchs2007-07-09-9/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Remove unused CFG_NAND_LEGACY define These boards to not have NAND. Signed-off-by: Matthias Fuchs <matthias.fuchs@esd-electronics.com>
| | * | | Migrate esd 405EP boards to new NAND subsystemMatthias Fuchs2007-07-09-456/+120
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Migrate esd 405EP boards to new NAND subsystem -cleanup -use correct io accessors (in/out_be32()) Signed-off-by: Matthias Fuchs <matthias.fuchs@esd-electronics.com>
| | * | | Migrate esd 405EP boards to new NAND subsystemMatthias Fuchs2007-07-09-0/+91
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch prepares the migration from the legacy NAND driver to U-Boot's new NAND subsystem for esd boards. Signed-off-by: Matthias Fuchs <matthias.fuchs@esd-electronics.com>
| | * | | [NAND] Bad block skipping for command nbootThomas Knobloch2007-07-06-5/+32
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The old implementation of command nboot does not support reading the image from NAND flash with skipping of bad blocks. The patch implements a new version of the nboot command: by calling nboot.jffs2 from the u-boot command line the command will load the image from NAND flash with respect to bad blocks (by using nand_read_opts()). This is similar to e.g. the NAND read command: "nand read.jffs2 ...". Signed-off-by: Thomas Knobloch <knobloch@siemens.com> Signed-off-by: Stefan Roese <sr@denx.de>
| | * | | Merge with git://www.denx.de/git/u-boot.gitStefan Roese2007-07-06-313/+2061
| | |\ \ \
| | * \ \ \ Merge with git://www.denx.de/git/u-boot.gitStefan Roese2007-07-04-510/+2448
| | |\ \ \ \
| | * | | | | [patch] add nand_init() prototype to nand.hMike Frysinger2007-06-22-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | since nand_init() is expected to be called by other parts of u-boot, there should be a prototype for it in nand.h Signed-off-by: Mike Frysinger <vapier@gentoo.org> Signed-off-by: Stefan Roese <sr@denx.de>
| | * | | | | Merge with git://www.denx.de/git/u-boot.gitStefan Roese2007-06-22-1524/+7212
| | |\ \ \ \ \
| | * \ \ \ \ \ Merge with git://www.denx.de/git/u-boot.gitStefan Roese2007-06-04-126/+245
| | |\ \ \ \ \ \
| | * | | | | | | [PATCH][NAND] Define the Vendor Id for Micron NAND FlashUlf Samuelsson2007-05-24-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Ulf Samuelsson <ulf@atmel.com> Signed-off-by: Ladislav Michl <ladis@linux-mips.org> Signed-off-by: Stefan Roese <sr@denx.de>
* | | | | | | | | Bios emulator - fix microblaze toolchain problemMichal Simek2007-08-16-10/+30
|/ / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | microblaze CPU have problem with bios_emulator code. Microblaze toolchain doesn't support PRAGMA PACK. Signed-off-by: Michal Simek <monstr@monstr.eu>
* | | | | | | | ppc7xx: Update CPCI750 boardStefan Roese2007-08-16-4/+87
| |_|_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* | | | | | | Merge with /home/wd/git/u-boot/custodian/u-boot-mpc86xxWolfgang Denk2007-08-15-6/+7
|\ \ \ \ \ \ \
| * | | | | | | Move the MPC8641HPCN board under board/freescale.Jon Loeliger2007-08-15-6/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Minor path corrections needed to ensure buildability. Signed-off-by: Jon Loeliger <jdl@freescale.com>
| * | | | | | | 86xx: Fix lingering CFG_CMD_* references in sbc8641d.hJon Loeliger2007-08-15-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Remove a leftover in net/tftp.c while we're at it. Signed-off-by: Jon Loeliger <jdl@freescale.com>
* | | | | | | | 86xx: Fix lingering CFG_CMD_* references in sbc8641d.hJon Loeliger2007-08-15-4/+4
|/ / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Remove a leftover in net/tftp.c while we're at it. Signed-off-by: Jon Loeliger <jdl@freescale.com>
* | | | | | | Fix where the #ifdef CFG_BOOTMAPSZ is placed.Jerry Van Baren2007-08-15-2/+3
| |_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* | | | | | Fix malloc size error in ahci_init_one.Ed Swarthout2007-08-14-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* | | | | | TI DaVinci - fix unsupported %hhx formatksi@koi8.net2007-08-14-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Sergey Kubushyn <ksi@koi8.net>
* | | | | | Merge with /home/wd/git/u-boot/custodian/u-boot-ppc4xxWolfgang Denk2007-08-14-1431/+9729
|\ \ \ \ \ \
| * \ \ \ \ \ Merge with git://www.denx.de/git/u-boot.gitStefan Roese2007-08-14-131219/+61767
| |\ \ \ \ \ \
| * | | | | | | POST: Fix merge problemStefan Roese2007-08-14-4/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Stefan Roese <sr@denx.de>
| * | | | | | | Coding style cleanupStefan Roese2007-08-14-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Stefan Roese <sr@denx.de>
| * | | | | | | Merge with /home/stefan/git/u-boot/zeusStefan Roese2007-08-14-43/+4149
| |\ \ \ \ \ \ \
| | * | | | | | | ppc4xx: Add initial Zeus (PPC405EP) board supportStefan Roese2007-08-14-44/+1344
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Stefan Roese <sr@denx.de>
| | * | | | | | | POST: Add option for external ethernet loopback testStefan Roese2007-08-14-1/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
| | * | | | | | | POST: Add ppc405 support to cache and UART POSTStefan Roese2007-08-14-7/+186
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Stefan Roese <sr@denx.de>
| | * | | | | | | ppc4xx: Add support for AMCC 405EP Taihu boardJohn Otken2007-07-26-6/+2622
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: John Otken <john@softadvances.com>
| * | | | | | | | ppc4xx: Fix problem in PLL clock calculationStefan Roese2007-08-13-18/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
| * | | | | | | | Coding style cleanupStefan Roese2007-08-10-152/+153
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Stefan Roese <sr@denx.de>
| * | | | | | | | Add PPC4xx-HCU4 and HCU5 boards: HCU5 filesNiklaus Giger2007-08-10-0/+906
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Niklaus Giger <niklaus.giger@netstal.com>
| * | | | | | | | Add PPC4xx-HCU4 and HCU5 boards: HCU4 filesNiklaus Giger2007-08-10-0/+393
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Niklaus Giger <niklaus.giger@netstal.com>
| * | | | | | | | Add PPC4xx-HCU4 and HCU5 boards: common filesNiklaus Giger2007-08-10-0/+570
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Niklaus Giger <niklaus.giger@netstal.com>
| * | | | | | | | Add PPC4xx-HCU4 and HCU5 boards: make relatedNiklaus Giger2007-08-10-0/+448
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Niklaus Giger <niklaus.giger@netstal.com>