summaryrefslogtreecommitdiff
path: root/cpu/mpc8xx
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-13MPC8xx FEC driver: fix compiler warning.Wolfgang Denk
Signed-off-by: Wolfgang Denk <wd@denx.de>
2008-01-12Enable SMC microcode relocation patch for SMC1.Heiko Schocher
Signed-off-by: Heiko Schocher <hs@denx.de>
2008-01-12Added support for the mgsuvd board from keymile.Heiko Schocher
Signed-off-by: Heiko Schocher <hs@denx.de>
2008-01-10Fix Ethernet init() return codesBen Warren
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 Liakhovetski
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 Gehrlein
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 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-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-03-21Code cleanup. Update CHANGELOGWolfgang Denk
2007-03-21SPC1920: fix small clock routing bugMarkus Klotzbuecher
Signed-off-by: Markus Klotzbuecher <mk@denx.de>
2007-01-15Merge with /home/hs/SC3/u-bootWolfgang Denk
Some code cleanup.
2007-01-09SMC1 uses external CLK4 instead of BRG on spc1920Markus Klotzbuecher
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-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-07-12Add support for TQM885D board.Markus Klotzbuecher
Patch by Martin Krause, 20 Mar 2006 Signed-off-by: Martin Krause <martin.krause@tqs.de>
2006-07-12Bugfix in FEC initialisation:Markus Klotzbuecher
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 Klotzbuecher
Patch by Markus Klotzbuecher, 12 Jul 2006
2006-03-31GCC-4.x fixes: clean up global data pointer initialization for all boards.Wolfgang Denk
2006-03-18Add support for MPC859/866 Rev. A.0Wolfgang Denk
2005-12-04Code cleanup, especially MIPS for GCC 4.xWolfgang Denk
2005-10-28Add support for multiple PHYs.Marian Balakowicz
2005-10-13Cleanup for GCC-4.xWolfgang Denk
2005-08-12measure_gclk() is needed when DEBUG is enabledWolfgang Denk
Patch by Bryan O'Donoghue, 25 Apr 2005
2005-07-04* Patch by Detlev Zundel, 30 Jun 2005:wdenk
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 CPUwdenk
genereated HRESET pulse is too short to reset the external circuitry.
2004-12-31* Code cleanup, mostly for GCC-3.3.xwdenk
* 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 boardwdenk
2004-10-09* Clean up tools/bmp_logo.c to not add trailing white spacewdenk
* 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:wdenk
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" boardwdenk
2004-08-01* Code cleanupwdenk
* 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:wdenk
Fix lowboot (again) on MPC5xxx
2004-07-09* Patch by Yuli Barcohen, 16 Jun 2004:wdenk
Remove obsolete AdderII port which was superseded by unified AdderII/Adder87x port * Patch by Ladislav Michl, 16 Jun 2004: Fix gcc-3.3.3 warnings for smc91111.c
2004-06-30* Fix "cls" command when used with splash screenwdenk
* Increase NFS download timeout (now 1 min - 10 sec is to short for a slow download of a big image)
2004-06-25Add "cls" function to MPC823 LCD driver so we can reinitialize thewdenk
display even after showing a bitmap
2004-06-09Patch by Sam Song, 09 Jun 2004:wdenk
- Add support for RPXlite_DW board - Update FLASH driver for 4*AM29DL323DB90VI - Add option configuration of CFG_ENV_IS_IN_NVRAM on RPXlite_DW board
2004-06-07Patch by Pantelis Antoniou, 5 May 2004:wdenk
- Intracom board update. - Add Codec POST.
2004-06-06Patch by Yuli Barcohen, 19 Apr 2004:wdenk
- Rename DUET_ADS to MPC885ADS - Rename CONFIG_DUET to CONFIG_MPC885_FAMILY - Rename CONFIG_866_et_al to CONFIG_MPC866_FAMILY - Clean up FADS family port to use the new defines
2004-05-12Patch by Klaus Heydeck, 12 May 2004:wdenk
Using external watchdog for KUP4 boards in mpc8xx/cpu.c; load_sernum_ethaddr() for KUP4 boards in lib_ppc/board.c; various changes to KUP4 board specific files
2004-05-05* Fix config option spelling in PM520 config filewdenk
* Fix PHY discovery problem in cpu/mpc8xx/fec.c (introduced by patches by Pantelis Antoniou, 30 Mar 2004)
2004-05-03* Fix minor NAND JFFS2 related issuewdenk
* Fixes for SL811 USB controller: - implement workaround for broken memory stick - improve error handling * Increase packet send timeout to 10 ms in cpu/mpc8xx/scc.c to better cope with congested networks.
2004-04-24Clean up the TQM8xx_YYMHz configurations; allow to use the samewdenk
binary image for all clock frequencies. Implement run-time optimization of flash access timing based on the actual bus frequency.
2004-04-18* Cleanup, minor fixeswdenk
* Patch by Rune Torgersen, 16 Apr 2004: LBA48 fixes * Patches by Pantelis Antoniou, 16 Apr 2004: - Fix some compile problems; add "once" functionality for the netretry variable
2004-04-18Patches by Pantelis Antoniou, 16 Apr 2004:wdenk
- add support for a new version of an Intracom board and fix various other things on others. - add verify support to the crc32 command (define CONFIG_CRC32_VERIFY to enable it) - fix FEC driver for MPC8xx systems: 1. fix compilation problems for boards that use dynamic allocation of DPRAM 2. shut down FEC after network transfers - HUSH parser fixes: 1. A new test command was added. This is a simplified version of the one in the bourne shell. 2. A new exit command was added which terminates the current executing script. 3. Fixed handing of $? (exit code of last executed command)
2004-04-15Patches by Pantelis Antoniou, 30 Mar 2004:wdenk
Improve and fix various things in the MPC8xx FEC driver: 1. The new 87x and 88x series of processors have two FECs, and the new driver supports them both. 2. Another change in the 87x/88x series is support for the RMII (Reduced MII) interface. However numerous changes are needed to make it work since the PHYs are connected to the same lines. That means that you have to address them correctly over the MII interface.
2004-04-08* Patch by Mark Jonas: Remove config.tmp files only whenwdenk
unconfiguring the board * Adapt RMU board for bigger flash memory * Test fix for ethernet problems on MPC5200
2004-03-17Patch by Pierre Aubert, 15 Mar 2004:wdenk
Fix buffer overflow in IDE identification