summaryrefslogtreecommitdiff
path: root/cpu/mpc8xx
AgeCommit message (Collapse)Author
2008-09-10rename CFG_ENV_IS_IN_NVRAM in CONFIG_ENV_IS_IN_NVRAMJean-Christophe PLAGNIOL-VILLARD
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
2008-08-21fdt: rework fdt_fixup_ethernet() to use env instead of bd_tKumar Gala
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 Denk
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 Denk
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-VILLARD
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 Denk
Signed-off-by: Wolfgang Denk <wd@denx.de>
2008-03-258xx: Update OF support on 8xxBryan O'Donoghue
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 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)