summaryrefslogtreecommitdiff
path: root/cpu/mpc5xxx
AgeCommit message (Collapse)Author
2008-02-14PPC: Use r2 instead of r29 as global data pointerWolfgang Denk
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>
2008-01-12MPC5200: don't use hardcoded MBAR address in Bestcomm firmwareOliver Weber
Signed-off-by: Oliver Weber <almoeli@gmx.de>
2008-01-12Fix linker scripts: add NOLOAD atribute to .bss/.sbss sectionsWolfgang Denk
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>
2008-01-12added basic support for the MUNICes board.Heiko Schocher
Signed-off-by: Heiko Schocher <hs@denx.de>
2007-11-21Move do_fixup* for libfdt into common codeKumar Gala
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>
2007-11-15Revert "Correct fixup relocation for MPC5xxx"Grant Likely
This reverts commit 6f7576b20ecf0d040c3ac3b032b5cbc860e38a90. Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
2007-09-06Migrate 5xxx boards from CONFIG_OF_FLAT_TREE to CONFIG_OF_LIBFDTGrant Likely
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>
2007-08-29MPC5xxx: fix some compiler warnings in USB codeMartin Krause
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>
2007-08-29Minor coding style cleanup.Wolfgang Denk
Signed-off-by: Wolfgang Denk <wd@denx.de>
2007-08-28[UC101] Fix: if no CF in the board, U-Boot resets sometimes.Heiko Schocher
Signed-off-by: Heiko Schocher <hs@denx.de>
2007-08-07Merge with git://www.denx.de/git/u-boot.gitMarkus Klotzbuecher
2007-08-07Merge with /home/tur/git/u-boot#cm5200-siWolfgang Denk
2007-08-06Merge with /home/wd/git/u-boot/custodian/u-boot-testingWolfgang Denk
2007-08-03cm1_qp1 -> cm5200: single U-Boot image for modules from the cm5200 family.Bartlomiej Sieka
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>
2007-07-11CM1.QP1: Support for the Schindler CM1.QP1 board.Bartlomiej Sieka
Signed-off-by: Piotr Kruszynski <ppk@semihalf.com> Signed-off-by: Bartlomiej Sieka <tur@semihalf.com>
2007-07-10cpu/ rtc/ include/: Remove lingering references to CFG_CMD_* symbols.Jon Loeliger
Signed-off-by: Jon Loeliger <jdl@freescale.com>
2007-07-09cpu/m*: Remove obsolete references to CONFIG_COMMANDSJon Loeliger
Signed-off-by: Jon Loeliger <jdl@freescale.com>
2007-07-04Correct fixup relocation for MPC5xxxGrant Likely
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
2007-07-04Consolidate mpc5xxx linker scriptsGrant Likely
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
2007-07-04cpu/mpc*/ : Augment CONFIG_COMMANDS tests with defined(CONFIG_CMD_*).Jon Loeliger
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>
2007-06-22[ppc] Fix build breakage for all non-4xx PowerPC variants.Rafal Jaworowski
- adapt to the more generic EXCEPTION_PROLOG and CRIT_EXCEPTION macros - minor 4xx cleanup
2007-06-06USB: ohci fixes and cleanup for mpc5xxx and IceCube board configMarkus Klotzbuecher
2007-05-29Merge git://www.denx.de/git/u-boot into 2007_05_15-testingMarkus Klotzbuecher
2007-05-28Merge with /home/tur/git/u-boot#motionproWolfgang Denk
2007-05-27MPC5XXX, Motion-PRO: Fix PHY initialization problem.Bartlomiej Sieka
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>
2007-05-27MPC5xxx: Change names of defines related to IPB and PCI clocks.Bartlomiej Sieka
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>
2007-05-15Merge with /home/tur/git/u-boot#motionproWolfgang Denk
2007-05-07[MPC5xxx] There are networking problems on the Motion-PRO board withBartlomiej Sieka
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.
2007-05-07Merge with git://www.denx.de/git/u-boot.gitMarkus Klotzbuecher
2007-05-055xxx: write MAC address to mac-address and local-mac-addressTimur Tabi
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>
2007-05-05[PATCH] Use PVR to distinguish MPC5200B from MPC5200 in boot messageGrzegorz Wianecki
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>
2007-04-23Merge with git://www.denx.de/git/u-boot.gitMarkus Klotzbuecher
2007-04-14[Fix] Set the LED status register on the UC101 for the LXT971 PHY.Heiko Schocher
clear the Display after reset. Signed-off-by: Heiko Schocher <hs@denx.de>
2007-03-23Merge with git://www.denx.de/git/u-boot.git#testing-USBMarkus Klotzbuecher
2007-03-08Merge with /home/hs/jupiter/u-bootWolfgang Denk
2007-02-16[PATCH] Added support for the jupiter board.Heiko Schocher
Signed-off-by: Heiko Schocher <hs@denx.de>
2007-02-09[Motion-PRO] Preliminary support for the Motion-PRO board.Bartlomiej Sieka
2006-12-21[PATCH] Add support for the UC101 board from MAN.Heiko Schocher
Signed-off-by: Heiko Schocher <hs@denx.de>
2006-11-29[PATCH] [MPC52xx] Use IPB bus frequency for SOC peripheralsGrant Likely
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>
2006-11-28[PATCH] Enable the IceCube/lite5200 variants to pass a device tree to Linux.Stefan Roese
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>
2006-11-27Merge with /home/mk/git/u-boot-generic_ohci#generic_ohciWolfgang Denk
2006-11-27Modified the mpc5xxx and the ppc4xx cpu to use the generic OHCI driverMarkus Klotzbuecher
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).
2006-10-18Merge with /home/tur/proj/051_uboot_linux_v38b/u-bootWolfgang Denk
2006-10-13Preliminary patch adding support for the MarelV38B board.Bartlomiej Sieka
2006-10-09Move "ar" flags to config.mk to allow for silent "make -s"Wolfgang Denk
Based on patch by Mike Frysinger, 20 Jun 2006
2006-10-09Coding style cleanupWolfgang Denk
2006-09-04Merge with /home/m8/git/u-bootWolfgang Denk
2006-09-01Add support for a saving build objects in a separate directory.Marian Balakowicz
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.
2006-09-01Added interrupt handling capabilities for mpc5xxx processors.Detlev Zundel
Also added Linux like BUG() macros.
2006-08-30Add splashscreen support for MCC200 board.Wolfgang Denk