summaryrefslogtreecommitdiff
path: root/cpu/mpc8xx
AgeCommit message (Collapse)AuthorFilesLines
2008-12-10Fix compile error in building MBX860T.Ben Warren1-1/+1
Signed-off-by: Ben Warren <biggerbadderben@gmail.com>
2008-12-09video: fix FADS823 and RRvision compiling issuesAnatolij Gustschin1-2/+0
Since commit 561858ee building for FADS823 and RRvision doesn't work. Let's include version.h and timestamp.h unconditionally to fix the problem. Signed-off-by: Anatolij Gustschin <agust@denx.de>
2008-12-06Update U-Boot's build timestamp on every compilePeter Tyser2-2/+7
Use the GNU 'date' command to auto-generate a new U-Boot timestamp on every compile. Signed-off-by: Peter Tyser <ptyser@xes-inc.com>
2008-11-09Moved initialization of MPC8XX SCC to cpu_eth_init()Ben Warren1-0/+4
Removed initialization of the driver from net/eth.c Signed-off-by: Ben Warren <biggerbadderben@gmail.com>
2008-11-09Moved initialization of FCC Ethernet controller to cpu_eth_initBen Warren1-0/+13
Affected boards: Several MPC8xx boards Several MPC8260/MPC8272 boards Several MPC85xx boards Removed initialization of the driver from net/eth.c Signed-off-by: Ben Warren <biggerbadderben@gmail.com>
2008-10-21Cleanup: fix "MHz" spellingWolfgang Denk2-2/+2
Signed-off-by: Wolfgang Denk <wd@denx.de>
2008-10-18rename CFG_ macros to CONFIG_SYSJean-Christophe PLAGNIOL-VILLARD15-254/+254
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
2008-09-22Fix DPRAM memory leak when CFG_ALLOC_DPRAM is defined, whichWolfgang Denk1-4/+6
eventually leads to a machine check. This change assures that DPRAM is allocated only once in that case. Signed-off-by: Gary Jennejohn <garyj@denx.de> Signed-off-by: Wolfgang Denk <wd@denx.de>
2008-09-10rename CFG_ENV_IS_IN_NVRAM in CONFIG_ENV_IS_IN_NVRAMJean-Christophe PLAGNIOL-VILLARD1-1/+1
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
2008-08-21fdt: rework fdt_fixup_ethernet() to use env instead of bd_tKumar Gala1-1/+1
Move to using the environment variables 'ethaddr', 'eth1addr', etc.. instead of bd->bi_enetaddr, bi_enet1addr, etc. This makes the code a bit more flexible to the number of ethernet interfaces. Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
2008-07-14Fix printf() format issues with sizeof_t types by using %zuWolfgang Denk1-2/+2
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Wolfgang Denk <wd@denx.de>
2008-05-21Big white-space cleanup.Wolfgang Denk3-4/+4
This commit gets rid of a huge amount of silly white-space issues. Especially, all sequences of SPACEs followed by TAB characters get removed (unless they appear in print statements). Also remove all embedded "vim:" and "vi:" statements which hide indentation problems. Signed-off-by: Wolfgang Denk <wd@denx.de>
2008-04-02MPC8xx: Fix libfdt support introduced in commit 77ff7b74Jean-Christophe PLAGNIOL-VILLARD1-10/+23
fdt.c: In function 'ft_cpu_setup': fdt.c:33: warning: implicit declaration of function 'do_fixup_by_prop_u32' fdt.c:39: warning: implicit declaration of function 'do_fixup_by_compat_u32' fdt.c:43: warning: implicit declaration of function 'fdt_fixup_ethernet' fdt.c:45: warning: implicit declaration of function 'fdt_fixup_memory' Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
2008-03-26Coding Style cleanyp; update CHANGELOGWolfgang Denk1-2/+0
Signed-off-by: Wolfgang Denk <wd@denx.de>
2008-03-258xx: Update OF support on 8xxBryan O'Donoghue4-12/+72
This patch does some shifting around of OF support on 8xx. Signed-off-by: Bryan O'Donoghue <bodonoghue@codehermit.ie>
2008-02-14PPC: Use r2 instead of r29 as global data pointerWolfgang Denk1-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>
2008-01-13MPC8xx FEC driver: fix compiler warning.Wolfgang Denk1-0/+2
Signed-off-by: Wolfgang Denk <wd@denx.de>
2008-01-12Enable SMC microcode relocation patch for SMC1.Heiko Schocher3-3/+118
Signed-off-by: Heiko Schocher <hs@denx.de>
2008-01-12Added support for the mgsuvd board from keymile.Heiko Schocher1-0/+16
Signed-off-by: Heiko Schocher <hs@denx.de>
2008-01-10Fix Ethernet init() return codesBen Warren1-2/+2
Change return values of init() functions in all Ethernet drivers to conform to the following: >=0: Success <0: Failure All drivers going forward should return 0 on success. Current drivers that return 1 on success were left as-is to minimize changes. Signed-off-by: Ben Warren <biggerbadderben@gmail.com> Acked-by: Stefan Roese <sr@denx.de> Acked-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Acked-by: Kim Phillips <kim.phillips@freescale.com> Acked-by: Haavard Skinnemoen <hskinnemoen@atmel.com> Acked-By: Timur Tabi <timur@freescale.com>
2008-01-09Fix and optimize MII operations on FEC (MPC8xx) controllersGuennadi Liakhovetski1-54/+53
This patch fixes several issues at least on a MPC885 based system with two FEC interfaces used in MII mode. 1. PHY discovery should first read PHY_PHYIDR2 register and only then PHY_PHYIDR1 like cpu/mpc8xx/fec.c::mii_discover_phy() does it, otherwise the values read are wrong. Also notice, that PHY discovery cannot work on MPC88x / MPC87x in setups with both FECs active at all in its present form, because for both interfaces the registers from FEC 1 are used to communicate over MII. 2. Remove code duplication for resetting the FEC by isolating it into a separate function. 3. Initialize MII on FEC 1 when communicating over FEC 2 in fec_init(). 4. Optimize mii_init() to only reset the FEC 1 controller once. 5. Fix a typo in mii_init() using index i instead of j thus potentially leading to unpredictable results. Signed-off-by: Guennadi Liakhovetski <lg@denx.de>
2007-12-27TQM885D: Exchanged SDRAM timing by a more relaxed timing.Jens Gehrlein1-4/+1
CAS-Latency=2, Write Recovery Time tWR=2 The max. supported bus frequency is 66 MHz. Therefore, changed threshold to switch from 1:1 mode to 2:1 from 80 MHz to 66 MHz. Signed-off-by: Martin Krause <martin.krause@tqs.de>
2007-07-10cpu/ rtc/ include/: Remove lingering references to CFG_CMD_* symbols.Jon Loeliger4-4/+4
Signed-off-by: Jon Loeliger <jdl@freescale.com>
2007-07-09cpu/m*: Remove obsolete references to CONFIG_COMMANDSJon Loeliger6-21/+21
Signed-off-by: Jon Loeliger <jdl@freescale.com>
2007-07-04cpu/mpc*/ : Augment CONFIG_COMMANDS tests with defined(CONFIG_CMD_*).Jon Loeliger6-19/+19
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 Jaworowski1-2/+2
- adapt to the more generic EXCEPTION_PROLOG and CRIT_EXCEPTION macros - minor 4xx cleanup
2007-03-21Code cleanup. Update CHANGELOGWolfgang Denk1-2/+2
2007-03-21SPC1920: fix small clock routing bugMarkus Klotzbuecher1-3/+2
Signed-off-by: Markus Klotzbuecher <mk@denx.de>
2007-01-15Merge with /home/hs/SC3/u-bootWolfgang Denk1-3/+3
Some code cleanup.
2007-01-09SMC1 uses external CLK4 instead of BRG on spc1920Markus Klotzbuecher1-2/+11
2006-10-09Move "ar" flags to config.mk to allow for silent "make -s"Wolfgang Denk1-1/+1
Based on patch by Mike Frysinger, 20 Jun 2006
2006-09-01Add support for a saving build objects in a separate directory.Marian Balakowicz1-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.
2006-07-12Add support for TQM885D board.Markus Klotzbuecher2-4/+7
Patch by Martin Krause, 20 Mar 2006 Signed-off-by: Martin Krause <martin.krause@tqs.de>
2006-07-12Bugfix in FEC initialisation:Markus Klotzbuecher1-1/+3
All MII configuration is done via FEC1 registers. But MII_SPEED was configured according to FEC used. So if only FEC2 was used, this caused the real MII_SPEED register in FEC1 to stay uninitalised, what lead to "mii_send STUCK!" messages. Fix: always configure MII_SPEED on FEC1 only.
2006-07-12Support for spc1920 board.Markus Klotzbuecher3-2/+10
Patch by Markus Klotzbuecher, 12 Jul 2006
2006-03-31GCC-4.x fixes: clean up global data pointer initialization for all boards.Wolfgang Denk8-40/+18
2006-03-18Add support for MPC859/866 Rev. A.0Wolfgang Denk1-3/+8
2005-12-04Code cleanup, especially MIPS for GCC 4.xWolfgang Denk1-1/+1
2005-10-28Add support for multiple PHYs.Marian Balakowicz1-4/+21
2005-10-13Cleanup for GCC-4.xWolfgang Denk4-7/+7
2005-08-12measure_gclk() is needed when DEBUG is enabledWolfgang Denk1-1/+1
Patch by Bryan O'Donoghue, 25 Apr 2005
2005-07-04* Patch by Detlev Zundel, 30 Jun 2005:wdenk1-5/+6
Fix LCD logo for lwmon board which got lost in the merge of 8xx and PXA LCD code
2005-05-09On LWMON we must use the watchdog to reset the board as the CPUwdenk1-0/+31
genereated HRESET pulse is too short to reset the external circuitry.
2004-12-31* Code cleanup, mostly for GCC-3.3.xwdenk1-1/+1
* Cleanup confusing use of CONFIG_ETH*ADDR - ust his only to pre-define a MAC address; use CONFIG_HAS_ETH* to enable support for additional ethernet addresses. * Cleanup drivers/i82365.c - avoid duplication of code * Fix bogus "cannot span across banks" flash error message * Add support for CompactFlash for the CPC45 Board.
2004-12-18Add support for UC100 boardwdenk1-0/+7
2004-10-09* Clean up tools/bmp_logo.c to not add trailing white spacewdenk1-811/+35
* Patch by Hinko Kocevar, 21 Aug 2004: - Group common framebuffer functions in common/lcd.c - Group common framebuffer macros and #defines in include/lcd.h - Provide calc_fbsize() for video ATAG
2004-09-28* Patch by Yuli Barcohen, 13 Jul 2004:wdenk2-22/+22
Allow clock setting on MPC866/MPC885 series chips according to environment variable `cpuclk' * Patch by Yuli Barcohen, 20 Apr 2004: Remove unnecessary redefine of CPM_DATAONLY_SIZE for MPC826x
2004-08-28Add support for IDS "NC650" boardwdenk1-1/+1
2004-08-01* Code cleanupwdenk3-97/+153
* Patch by Sascha Hauer, 28 Jun: - add generic support for Motorola i.MX architecture - add support for mx1ads, mx1fs2 and scb9328 boards * Patches by Marc Leeman, 23 Jul 2004: - Add define for the PCI/Memory Buffer Configuration Register - corrected comments in cpu/mpc824x/cpu_init.c * Add support for multiple serial interfaces (for example to allow modem dial-in / dial-out)
2004-07-12Patch by Mark Jonas, 02 Jul 2004:wdenk1-1/+1
Fix lowboot (again) on MPC5xxx