summaryrefslogtreecommitdiffstats
path: root/cpu/mpc5xxx
Commit message (Collapse)AuthorAgeFilesLines
* PPC: Use r2 instead of r29 as global data pointerWolfgang Denk2008-02-141-1/+1
| | | | | | | | | | | | R29 was an unlucky choice as with recent toolchains (gcc-4.2.x) gcc will refuse to use load/store multiple insns; instead, it issues a list of simple load/store instructions upon function entry and exit, resulting in bigger code size, which in turn makes the build for a few boards fail. Use r2 instead. Signed-off-by: Wolfgang Denk <wd@denx.de>
* MPC5200: don't use hardcoded MBAR address in Bestcomm firmwareOliver Weber2008-01-121-4/+4
| | | | Signed-off-by: Oliver Weber <almoeli@gmx.de>
* Fix linker scripts: add NOLOAD atribute to .bss/.sbss sectionsWolfgang Denk2008-01-122-2/+2
| | | | | | | | | | | | | | | | | | | With recent toolchain versions, some boards would not build because or errors like this one (here for ocotea board when building with ELDK 4.2 beta): ppc_4xx-ld: section .bootpg [fffff000 -> fffff23b] overlaps section .bss [fffee900 -> fffff8ab] For many boards, the .bss section is big enough that it wraps around at the end of the address space (0xFFFFFFFF), so the problem will not be visible unless you use a 64 bit tool chain for development. On some boards however, changes to the code size (due to different optimizations) we bail out with section overlaps like above. The fix is to add the NOLOAD attribute to the .bss and .sbss sections, telling the linker that .bss does not consume any space in the image. Signed-off-by: Wolfgang Denk <wd@denx.de>
* added basic support for the MUNICes board.Heiko Schocher2008-01-121-3/+4
| | | | Signed-off-by: Heiko Schocher <hs@denx.de>
* Move do_fixup* for libfdt into common codeKumar Gala2007-11-211-31/+9
| | | | | | | | | | Moved the generic fixup handling code out of cpu/mpc5xxx and cpu/mpc8260 into common/fdt_support.c and renamed: do_fixup() -> do_fixup_by_path() do_fixup_u32() -> do_fixup_by_path_u32() Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
* Revert "Correct fixup relocation for MPC5xxx"Grant Likely2007-11-153-1/+3
| | | | | This reverts commit 6f7576b20ecf0d040c3ac3b032b5cbc860e38a90. Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
* Migrate 5xxx boards from CONFIG_OF_FLAT_TREE to CONFIG_OF_LIBFDTGrant Likely2007-09-061-25/+41
| | | | | | | | | | | | | | Affects boards: icecube (lite5200), jupiter, motionpro, tqm5200 Tested on: lite5200b Note: the fixup functions have not been moved to a common place. This patch is targeted for immediate merging as in solves a build issue, but the final name/location of the fixups is still subject to debate. I propose to merge this now, and move the fixups in the next merge window to be usable by all targets. Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
* MPC5xxx: fix some compiler warnings in USB codeMartin Krause2007-08-291-3/+3
| | | | | | | | | 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>
* Minor coding style cleanup.Wolfgang Denk2007-08-291-1/+1
| | | | Signed-off-by: Wolfgang Denk <wd@denx.de>
* [UC101] Fix: if no CF in the board, U-Boot resets sometimes.Heiko Schocher2007-08-281-0/+8
| | | | Signed-off-by: Heiko Schocher <hs@denx.de>
* Merge with git://www.denx.de/git/u-boot.gitMarkus Klotzbuecher2007-08-079-25/+294
|\
| * Merge with /home/tur/git/u-boot#cm5200-siWolfgang Denk2007-08-071-1/+1
| |\
| | * cm1_qp1 -> cm5200: single U-Boot image for modules from the cm5200 family.Bartlomiej Sieka2007-08-031-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add the ability for modules from the Schindler cm5200 family to use a single U-Boot image: - rename cm1_qp1 to cm5200 - add run-time module detection - parametrize SDRAM configuration according to the module we are running on Few minor, board-specific fixes included in this patch: - better MAC address handling - updated default environment ('update' command uses +{filesize} now) - improved error messages in the auto-update code - allow booting U-Boot from RAM (CFG_RAMBOOT) Signed-off-by: Grzegorz Bernacki <gjb@semihalf.com> Signed-off-by: Piotr Kruszynski <ppk@semihalf.com> Signed-off-by: Bartlomiej Sieka <tur@semihalf.com>
| * | Merge with /home/wd/git/u-boot/custodian/u-boot-testingWolfgang Denk2007-08-068-16/+278
| |\ \ | | |/ | |/|
| | * cpu/ rtc/ include/: Remove lingering references to CFG_CMD_* symbols.Jon Loeliger2007-07-101-2/+2
| | | | | | | | | | | | Signed-off-by: Jon Loeliger <jdl@freescale.com>
| | * cpu/m*: Remove obsolete references to CONFIG_COMMANDSJon Loeliger2007-07-094-13/+13
| | | | | | | | | | | | Signed-off-by: Jon Loeliger <jdl@freescale.com>
| | * Correct fixup relocation for MPC5xxxGrant Likely2007-07-043-3/+1
| | | | | | | | | | | | Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
| | * Consolidate mpc5xxx linker scriptsGrant Likely2007-07-043-0/+264
| | | | | | | | | | | | Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
| | * cpu/mpc*/ : Augment CONFIG_COMMANDS tests with defined(CONFIG_CMD_*).Jon Loeliger2007-07-044-13/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is a compatibility step that allows both the older form and the new form to co-exist for a while until the older can be removed entirely. All transformations are of the form: Before: #if (CONFIG_COMMANDS & CFG_CMD_AUTOSCRIPT) After: #if (CONFIG_COMMANDS & CFG_CMD_AUTOSCRIPT) || defined(CONFIG_CMD_AUTOSCRIPT) Signed-off-by: Jon Loeliger <jdl@freescale.com>
| * | CM1.QP1: Support for the Schindler CM1.QP1 board.Bartlomiej Sieka2007-07-111-7/+14
| |/ | | | | | | | | Signed-off-by: Piotr Kruszynski <ppk@semihalf.com> Signed-off-by: Bartlomiej Sieka <tur@semihalf.com>
| * [ppc] Fix build breakage for all non-4xx PowerPC variants.Rafal Jaworowski2007-06-221-2/+2
| | | | | | | | | | - adapt to the more generic EXCEPTION_PROLOG and CRIT_EXCEPTION macros - minor 4xx cleanup
* | USB: ohci fixes and cleanup for mpc5xxx and IceCube board configMarkus Klotzbuecher2007-06-061-0/+54
| |
* | Merge git://www.denx.de/git/u-boot into 2007_05_15-testingMarkus Klotzbuecher2007-05-292-4/+11
|\|
| * Merge with /home/tur/git/u-boot#motionproWolfgang Denk2007-05-282-8/+4
| |\
| | * MPC5XXX, Motion-PRO: Fix PHY initialization problem.Bartlomiej Sieka2007-05-271-4/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | After being reset in mpc5xxx_fec_init_phy(), PHY goes into FX mode, in which networking does not function. This commit switches PHY to TX mode by clearing the FX_SEL bit of Mode Control Register. It also reverses commit 008861a2f3ef2c062744d733787c7e530a1b8761, i.e., a temporary workaround. Signed-off-by: Grzegorz Bernacki <gjb@semihalf.com> Acked-by: Bartlomiej Sieka <tur@semihalf.com>
| | * MPC5xxx: Change names of defines related to IPB and PCI clocks.Bartlomiej Sieka2007-05-271-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Both CFG_PCISPEED_66 and CFG_IPBSPEED_133 are misnamed, as defining them does not cause PCI or IPB clocks to run at the specified speed. Instead, they configure divisors used to calculate said clocks. This patch renames the defines according to their real function. Signed-off-by: Grzegorz Bernacki <gjb@semihalf.com> Acked-by: Bartlomiej Sieka <tur@semihalf.com>
| * | Merge with /home/tur/git/u-boot#motionproWolfgang Denk2007-05-151-0/+11
| |\|
| | * [MPC5xxx] There are networking problems on the Motion-PRO board withBartlomiej Sieka2007-05-071-0/+11
| | | | | | | | | | | | | | | | | | current PHY initalization code (tftp timeouts all the time). This commit temporarily disables PHY initalization sequence to make the networking operational, until a fix is found.
* | | Merge with git://www.denx.de/git/u-boot.gitMarkus Klotzbuecher2007-05-071-4/+12
|\| |
| * | 5xxx: write MAC address to mac-address and local-mac-addressTimur Tabi2007-05-051-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Some device trees have a mac-address property, some have local-mac-address, and some have both. To support all of these device trees, ftp_cpu_setup() should write the MAC address to mac-address and local-mac-address, if they exist. Signed-off-by: Timur Tabi <timur@freescale.com> Acked-by: Grant Likely <grant.likely@secretlab.ca>
| * | [PATCH] Use PVR to distinguish MPC5200B from MPC5200 in boot messageGrzegorz Wianecki2007-05-051-4/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | MPC5200B systems are incorrectly reported as MPC5200 in U-Boot start-up message. Use PVR to distinguish between the two variants, and print proper CPU information. Signed-off-by: Grzegorz Wianecki <grzegorz.wianecki@gmail.com> Signed-off-by: Bartlomiej Sieka <tur@semihalf.com> Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
* | | Merge with git://www.denx.de/git/u-boot.gitMarkus Klotzbuecher2007-04-231-0/+4
|\| |
| * | [Fix] Set the LED status register on the UC101 for the LXT971 PHY.Heiko Schocher2007-04-141-0/+4
| | | | | | | | | | | | | | | | | | clear the Display after reset. Signed-off-by: Heiko Schocher <hs@denx.de>
* | | Merge with git://www.denx.de/git/u-boot.git#testing-USBMarkus Klotzbuecher2007-03-231-1/+1
|\ \ \ | |/ / |/| |
| * | Merge with /home/mk/git/u-boot-generic_ohci#generic_ohciWolfgang Denk2006-11-271-1/+1
| |\ \
| | * | Modified the mpc5xxx and the ppc4xx cpu to use the generic OHCI driverMarkus Klotzbuecher2006-11-271-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | and adapted board configs TQM5200 and yosemite accordingly. This commit also makes the maximum number of root hub ports configurable (CFG_USB_OHCI_MAX_ROOT_PORTS).
* | | | Merge with /home/hs/jupiter/u-bootWolfgang Denk2007-03-081-6/+7
|\ \ \ \ | |_|_|/ |/| | |
| * | | [PATCH] Added support for the jupiter board.Heiko Schocher2007-02-161-0/+1
| | | | | | | | | | | | | | | | Signed-off-by: Heiko Schocher <hs@denx.de>
* | | | [Motion-PRO] Preliminary support for the Motion-PRO board.Bartlomiej Sieka2007-02-091-4/+4
|/ / /
* | | [PATCH] Add support for the UC101 board from MAN.Heiko Schocher2006-12-212-4/+5
| | | | | | | | | | | | Signed-off-by: Heiko Schocher <hs@denx.de>
* | | [PATCH] [MPC52xx] Use IPB bus frequency for SOC peripheralsGrant Likely2006-11-291-5/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The soc node of the mpc52xx needs to be loaded with the IPB bus frequency, not the XLB frequency. This patch depends on the previous patches for MPC52xx device tree support Signed-off-by: Grant Likely <grant.likely@secretlab.ca> Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
* | | [PATCH] Enable the IceCube/lite5200 variants to pass a device tree to Linux.Stefan Roese2006-11-281-0/+28
|/ / | | | | | | | | | | | | | | This patch adds the code and configuration necessary to boot with an arch/powerpc Linux kernel. Signed-off-by: Grant Likely <grant.likely@gmail.com> Acked-by: Jon Loeliger <jdl@freescale.com>
* | Merge with /home/tur/proj/051_uboot_linux_v38b/u-bootWolfgang Denk2006-10-181-1/+1
|\ \
| * | Preliminary patch adding support for the MarelV38B board.Bartlomiej Sieka2006-10-131-1/+1
| | |
* | | Move "ar" flags to config.mk to allow for silent "make -s"Wolfgang Denk2006-10-091-1/+1
| | | | | | | | | | | | Based on patch by Mike Frysinger, 20 Jun 2006
* | | Coding style cleanupWolfgang Denk2006-10-091-1/+1
|/ /
* | Merge with /home/m8/git/u-bootWolfgang Denk2006-09-041-9/+13
|\ \
| * | Add support for a saving build objects in a separate directory.Marian Balakowicz2006-09-011-9/+13
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Modifications are based on the linux kernel approach and support two use cases: 1) Add O= to the make command line 'make O=/tmp/build all' 2) Set environement variable BUILD_DIR to point to the desired location 'export BUILD_DIR=/tmp/build' 'make' The second approach can also be used with a MAKEALL script 'export BUILD_DIR=/tmp/build' './MAKEALL' Command line 'O=' setting overrides BUILD_DIR environent variable. When none of the above methods is used the local build is performed and the object files are placed in the source directory.
* | Added interrupt handling capabilities for mpc5xxx processors.Detlev Zundel2006-09-011-15/+277
| | | | | | | | Also added Linux like BUG() macros.
* | Add splashscreen support for MCC200 board.Wolfgang Denk2006-08-301-0/+56
|/