summaryrefslogtreecommitdiff
path: root/board
Commit message (Collapse)AuthorAgeLines
* Use out_be32() and friends to access memory-mapped registers in sequoia.cLarry Johnson2007-12-27-29/+29
| | | | Signed-off-by: Larry Johnson <lrj@acm.org>
* Use definitions from "asm-ppc/mmu.h" in init.S for SequoiaLarry Johnson2007-12-27-49/+1
| | | | Signed-off-by: Larry Johnson <lrj@acm.org>
* ppc4xx: Add fdt support to AMCC Katmai eval boardStefan Roese2007-12-27-0/+23
| | | | Signed-off-by: Stefan Roese <sr@denx.de>
* ppc4xx: Bring 4xx fdt support up-to-dateStefan Roese2007-12-27-1/+25
| | | | | | | | This patch update the 4xx fdt support. It enabled fdt booting on the AMCC Kilauea and Sequoia for now. More can follow later quite easily. Signed-off-by: Stefan Roese <sr@denx.de>
* Merge commit 'u-boot/master' into for-1.3.1Stefan Roese2007-12-11-154/+543
|\ | | | | | | | | | | Conflicts: drivers/rtc/Makefile
| * Merge commit '87ddedd'Wolfgang Denk2007-11-26-6/+6
| |\
| | * drivers/net : move net drivers to drivers/netJean-Christophe PLAGNIOL-VILLARD2007-11-25-6/+6
| | | | | | | | | | | | Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
| * | Update libfdt from device tree compiler (dtc)Kumar Gala2007-11-21-7/+7
| |/ | | | | | | | | | | | | Update libfdt to commit 8eaf5e358366017aa2e846c5038d1aa19958314e from the device tree compiler (dtc) project. Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
| * [MIPS] board/gth2/lowlevel_init.S: Fix a build warningShinya Kuribayashi2007-11-19-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | lowlevel_init.S: Assembler messages: lowlevel_init.S:413: Warning: Pretending global symbol used as branch target is local. Looking at codes, the `memtest' and `clearmem' are intentional mixed use of `global symbols' and `label' for debugging purpose. To make it build, just disable global-symbols-use for now. As a result `memtest' still remains as unused, but leave it be... Signed-off-by: Shinya Kuribayashi <shinya.kuribayashi@necel.com>
| * pb1x00 board: Fix u16 status declaration when PCMCIA is definedJean-Christophe PLAGNIOL-VILLARD2007-11-18-0/+2
| | | | | | | | Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
| * Fix compiler warnings for ARM systems.Wolfgang Denk2007-11-18-6/+9
| | | | | | | | Signed-off-by: Wolfgang Denk <wd@denx.de>
| * Fix compiler warnings for PPC systems. Update CHANGELOG.Wolfgang Denk2007-11-18-2/+4
| | | | | | | | Signed-off-by: Wolfgang Denk <wd@denx.de>
| * [MIPS] gth2.c: Fix a warning on gth2 build.Shinya Kuribayashi2007-11-17-1/+1
| | | | | | | | | | | | | | gth2.c: In function 'misc_init_r': gth2.c:434: warning: pointer targets in passing argument 2 of 'setenv' differ in signedness Signed-off-by: Shinya Kuribayashi <skuribay@ruby.dti.ne.jp>
| * [MIPS] pb1000: Replace obsolete memsetup.S with lowlevel_init.SShinya Kuribayashi2007-11-17-3/+3
| | | | | | | | Signed-off-by: Shinya Kuribayashi <skuribay@ruby.dti.ne.jp>
| * [MIPS] u-boot.lds: Cleanup __u_boot_cmd_{start,end}Shinya Kuribayashi2007-11-17-22/+30
| | | | | | | | Signed-off-by: Shinya Kuribayashi <skuribay@ruby.dti.ne.jp>
| * Merge branch 'master' of git://www.denx.de/git/u-boot-coldfireWolfgang Denk2007-11-17-0/+285
| |\
| | * ColdFire: MCF5445x - Update correct RAMBAR and missing linker filesTsiChungLiew2007-11-07-0/+285
| | | | | | | | | | | | Signed-off-by: TsiChungLiew <Tsi-Chung.Liew@freescale.com>
| * | Fix the i2c frequency and default address in rsdproto boardLuotao Fu2007-11-17-2/+2
| | | | | | | | | | | | | | | | | | | | | rsdproto board support has wrong I2C frequency and wrong return value handling. Signed-off-by: Luotao Fu <l.fu@pengutronix.de>
| * | powerpc: Backout relocation changes for MPC5121, too.Wolfgang Denk2007-11-17-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | Apply Grant Likely's backout to MPC5121 code, too. Pointed out by Rafal Jaworowski <raj@semihalf.com> Signed-off-by: Wolfgang Denk <wd@denx.de>
| * | powerpc: Backout relocation changes.Grant Likely2007-11-17-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Ugh. I *hate* to back this change out, but these compiler flags don't work for relocation on all versions of GCC. I've not been able to reproduce the environment in my setup (and hence, not been able to find a combination that *does* work), so I've got no choice but to go back to the old gcc flags and linker script. Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
| * | Fixed mips_io_port_base build errors.Jean-Christophe PLAGNIOL-VILLARD2007-11-17-8/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch has been sent on: - 29 Sep 2007 Although mips_io_port_base is currently a part of IDE command, it is quite fundamental for MIPS I/O port access such as in[bwl] and out[bwl]. So move it to MIPS general part, and introduce `set_io_port_base()' from Linux. This patch is triggered by multiple definition of `mips_io_port_base' build error on gth2 (and tb0229 also needs this fix.) board/gth2/libgth2.a(gth2.o): In function `log_serial_char': /home/skuribay/devel/u-boot.git/board/gth2/gth2.c:47: multiple definition of `mips_io_port_base' common/libcommon.a(cmd_ide.o):/home/skuribay/devel/u-boot.git/common/cmd_ide.c:712: first defined here make: *** [u-boot] Error 1 Signed-off-by: Shinya Kuribayashi <skuribay@ruby.dti.ne.jp> Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
| * | Merge branch 'master' of git://www.denx.de/git/u-boot-ppc4xxWolfgang Denk2007-11-17-9/+17
| |\ \
| | * | ppc4xx: lwmon5: Change PHY reset sequence for PHY MDIO address latchingStefan Roese2007-11-13-9/+17
| | |/ | | | | | | | | | Signed-off-by: Stefan Roese <sr@denx.de>
| * | Unify pixis_reset altbank across board familiesJason Jin2007-11-17-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | Basically, refactor the CFG_PIXIS_VBOOT_MASK values into the separate board config files. Signed-off-by: Jason Jin <Jason.jin@freescale.com> Signed-off-by: Jon Loeliger <jdl@freescale.com>
| * | Fix warning: pointer targets in assignment differ in signednessJean-Christophe PLAGNIOL-VILLARD2007-11-17-1/+1
| |/ | | | | | | Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
| * TQM5200: Call usb_cpu_init() during board initMarian Balakowicz2007-11-03-2/+8
| | | | | | | | | | | | | | | | | | | | usb_cpu_init() configures GPS USB pins, clocks, etc. and is required for proper operation of kernel USB subsystem. This setup was previously done in the kernel by the fixup code which is being removed, thus low level init must be done by U-boot now. Signed-off-by: Marian Balakowicz <m8@semihalf.com>
| * changes for IDS8247 board supportSergej Stepanov2007-11-03-33/+73
| | | | | | | | | | | | | | | | | | | | | | | | To get the IDS8247 board working following are done: - FCC2 is deactivated - FCC1 is activated - I2C is activated - CFI driver is activated - Adapted for use with LIBFDT Signed-off-by: Sergej Stepanov <Sergej.Stepanov@ids.de> --
| * Merge branch 'master' of /home/wd/git/u-boot/workWolfgang Denk2007-11-02-51/+61
| |\
| | * Merge branch 'master' of /home/wd/git/u-boot/custodiansWolfgang Denk2007-11-02-1/+4
| | |\
| | | * Merge branch 'master' of git://www.denx.de/git/u-boot-coldfireWolfgang Denk2007-11-01-1/+4
| | | |\
| | | | * ColdFire 54455: Fix correct boot location for atmel and intelTsiChungLiew2007-10-25-1/+3
| | | | | | | | | | | | | | | | | | | | Signed-off-by: TsiChungLiew <Tsi-Chung.Liew@freescale.com>
| | | | * ColdFire 5282: Fix external flash boot and return dramsizeTsiChungLiew2007-10-25-0/+1
| | | | | | | | | | | | | | | | | | | | Signed-off-by: TsiChungLiew <Tsi-Chung.Liew@freescale.com>
| | | * | Merge branch 'master' of git://www.denx.de/git/u-boot-tq-groupWolfgang Denk2007-11-01-7/+12
| | | |\ \
| | | | * | TQM5200S: fix commands for STK52xx base board because of missing SM501 ↵Martin Krause2007-10-24-7/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | grafic controller Some commands for the STK52xx base board try to access the SM501 grafic controller. But the TQM5200S has no grafic controller (only the TQM5200 and the TQM5200B have). This patch deactivates the commands accessing the SM501 for the TQM5200S. Signed-off-by: Martin Krause <martin.krause@tqs.de> Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
| | | | * | Merge branch 'u-boot' of /home/mkr/git/u-boot-tq-group into bugfixMartin Krause2007-10-23-21/+36
| | | | |\ \ | | | | | |/
| | * | | | Merge branch 'master' of /home/wd/git/u-boot/custodiansWolfgang Denk2007-11-01-50/+57
| | |\ \ \ \ | | | |/ / /
| | | * | | Merge branch 'master' of git://www.denx.de/git/u-boot-mipsWolfgang Denk2007-11-01-42/+42
| | | |\ \ \
| | | | * | | [MIPS] u-boot.lds: Define _gp in a standard mannerShinya Kuribayashi2007-10-21-6/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Shinya Kuribayashi <shinya.kuribayashi@necel.com>
| | | | * | | [MIPS] u-boot.lds: Fix __got_start and __got_endShinya Kuribayashi2007-10-21-18/+30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Ensure that __got_start points to top of the `.got', and __got_end points to bottom as well, so that we never fail to count num_got_entries. Signed-off-by: Shinya Kuribayashi <shinya.kuribayashi@necel.com>
| | | | * | | [MIPS] u-boot.lds: Remove duplicated .sdata sectionShinya Kuribayashi2007-10-21-18/+0
| | | | | |/ | | | | |/| | | | | | | | | | | | | Signed-off-by: Shinya Kuribayashi <shinya.kuribayashi@necel.com>
| | | * | | Merge branch 'master' of git://www.denx.de/git/u-boot-mpc85xxWolfgang Denk2007-11-01-8/+15
| | | |\ \ \
| | | | * | | Improve handling of PCI interrupt device tree fixup on MPC85xx CDSKumar Gala2007-10-19-8/+15
| | | | |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | On the MPC85xx CDS we have two issues: 1. The device tree fixup code did not check to see if the property we are trying to update is actually found. Its possible that it would update random memory starting at 0. 2. Newer Linux kernel's have moved the location of the PCI nodes to be sibilings of the soc node and not children. The explicit PATH to the PCI node would not be found for these device trees. Add the ability to handle both paths. In the future we shouldn't handle such fixups by explicit path. Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
* | | | | | ppc4xx: 405EX: Correctly enable USB pinsStefan Roese2007-12-08-0/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch selects the USB data pins in the 405EX GPIO and MFC (multi function control) registers. This is done for the AMCC Kilauea and Makalu eval boards. Signed-off-by: Stefan Roese <sr@denx.de>
* | | | | | ppc4xx: Enable hardware-fix for PCI/DMA errata on AMCC 440SP/SPe boardsStefan Roese2007-12-06-8/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch enables the hardware-fix for the PCI/DMA errata's 19+22 by setting the FIXD bit in the SDR0_MFR register. Here a description of the symptoms: Problem Description ------------------------------ If a DMA is performed between memory and PCI with the DMA 1 Controller using prefetch, and as a result uses a special purpose buffer selected by the PCIXn Bridge Options 1 Register (PCIXn_BRDGOPT1[RBP7] - bits 31-29), the first part of the transfer sequence is performed twice. The PPC440SPe PCI Controller requests more data than was needed such that in the case of enforce memory protection, a host CPU exception can occur. No data is corrupted, because data transfer is stopped in the PCI Controller. Prefetch enable is specified by setting DMA Configuration Register (I2O0_DMAx_CFG[DXEPD] - bit 31) to 0. Behavior that may be observed in a running system --------------------------------------------------------------------------- 1. DMA performance is decreased because of the double access on the PCI bus interface. 2. If an illegal access to some address on the PCI bus is detected at the system level, a machine check or similar system error may occur. Workarounds Available ---------------------------------- 1. Do not program prefetch. Note that a prefetch command cannot be programmed without selecting a special purpose buffer. 2. To avoid crossing a physical boundary of the PCI slave device, add 512 bytes of address to the PCI address range. This patch was originally provided by Pravin M. Bathija <pbathija@amcc.com> from AMCC and slighly changed. Signed-off-by: Pravin M. Bathija <pbathija@amcc.com> Signed-off-by: Stefan Roese <sr@denx.de>
* | | | | | ppc4xx: Kilauea: Add PCIe reset assertion upon power-upStefan Roese2007-11-30-9/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This manual PCIe reset triggering solves the problem seen with the Intel EPRO/1000 card, which was not detected (link not established) upon power-up reset. Signed-off-by: Stefan Roese <sr@denx.de>
* | | | | | ppc4xx: Update AMCC Makalu for board rev 1.1Stefan Roese2007-11-16-54/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch adds changes needed for Makalu rev 1.1: - Enable 2nd DDR2 bank resulting in 256MByte of SDRAM - Enable 2nd ethernet port EMAC1 - Use generic GPIO configuration framework (CFG_4xx_GPIO_TABLE) - Reset PCIe ports via GPIO upon bootup Signed-off-by: Stefan Roese <sr@denx.de>
* | | | | | ppc4xx: Small AMCC Kilauea cleanupStefan Roese2007-11-15-39/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Remove not needed pci_target_init() function. Signed-off-by: Stefan Roese <sr@denx.de>
* | | | | | ppc4xx: Make output a little shorter on PCIe detectionStefan Roese2007-11-05-17/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Now not max 3 lines but 2 lines are printed per PCIe port. Signed-off-by: Stefan Roese <sr@denx.de>
* | | | | | ppc4xx: Add AMCC Kilauea/Haleakala NAND booting supportStefan Roese2007-11-03-1/+148
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch adds NAND booting support for the AMCC 405EX(r) eval boards. Again, only one image supports both targets. Signed-off-by: Stefan Roese <sr@denx.de>
* | | | | | ppc4xx: Add CONFIG_4xx_DCACHE compile options to enable cached SDRAMStefan Roese2007-10-31-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch adds the CONFIG_4xx_DCACHE options to some SDRAM init files and to the Sequoia TLB init code. Now the cache can be enabled on 44x boards by defining CONFIG_4xx_DCACHE in the board config file. This option will disappear, when more boards use is successfully and no more known problems exist. This is tested successfully on Sequoia and Katmai. The only problem that needs to be fixed is, that USB is not working on Sequoia right now, since it will need some cache handling code too, similar to the 4xx EMAC driver. Signed-off-by: Stefan Roese <sr@denx.de>