aboutsummaryrefslogtreecommitdiff
path: root/cpu/mcf52x2
AgeCommit message (Collapse)AuthorFilesLines
2010-04-13m68k: Move cpu/$CPU to arch/m68k/cpu/$CPUPeter Tyser8-1843/+0
Signed-off-by: Peter Tyser <ptyser@xes-inc.com>
2010-03-24ColdFire: Cache update for all platformsTsiChung Liew1-168/+8
The CF will call cache functions in lib_m68/cache.c and the cache settings are defined in platform configuration file. Signed-off-by: TsiChung Liew <tsicliew@gmail.com>
2010-03-24ColdFire: Update processors' serial port configurationTsiChung Liew1-28/+33
Provide parameter passing to uart_port_config(). Update port configuration - un-mask it before enable the bits. Signed-off-by: TsiChung Liew <tsicliew@gmail.com>
2010-03-24ColdFire: Correct bit definitionTsiChung Liew1-7/+7
Use correct definition for _MASK and _UNMASK. It was combined in the previous used and causes confusion. Signed-off-by: TsiChung Liew <tsicliew@gmail.com>
2010-03-24Adding EP2500 MCF5282 board [PATCH]Michael Durrant1-0/+11
Mercury-EP2500.patch - added Mercury's EP2500 board uses the mcf5282 processor CREDITS.patch Signed-off-by: David Wu <davidwu@arcturusnetworks.com> Signed-off-by: Michael Durrant <mdurrant@arcturusnetworks.com>
2010-03-04MCF5271-only: Added a weak board_reset function to allow custom resetRichard Retanubun2-0/+39
This patch adds a board_reset function to allow boards to specify their own custom reset sequence (e.g. resetting by timing out watchdog). Tested only on MCF5271, can be expanded if needed. Based on Mike Frysinger's suggestion on: http://article.gmane.org/gmane.comp.boot-loaders.u-boot/70304 Signed-off-by: Richard Retanubun <RichardRetanubun at RuggedCom.com>
2009-07-14ColdFire: Add M5208EVB and MCF520x CPU supportTsiChung Liew6-14/+199
Signed-off-by: TsiChung Liew <tsicliew@gmail.com>
2009-03-17ColdFire: PLATFORM_CPPFLAGS updates for new compilerTsiChung Liew1-1/+1
Update PLATFORM_CPPFLAGS to accept 4.3.x version of ColdFire compiler. Signed-off-by: TsiChung Liew <Tsi-Chung.Liew@freescale.com>
2009-02-06Coldfire: M5271: Allow board header file to specify clock multiplierRichard Retanubun1-1/+6
M5271 dynamic clock multiplier. It is currently fixed at 100MHz. Allow the board header file to set their own multiplier and divider. Added the #define for the multiplier and divider to the cpu header file. Signed-off-by: Richard Retanubun <RichardRetanubun@RuggedCom.com>
2009-02-06Coldfire: M5271EVB: Remove usage of CONFIG_SYS_FECI2CRichard Retanubun1-1/+2
Discontinue the use of CONFIG_SYS_FECI2C (only used by M5271EVB). Use read-modify-write to activate the FEC pins without disabling I2C. Signed-off-by: Richard Retanubun <RichardRetanubun@RuggedCom.com>
2009-02-06Coldfire: Fix half-baud UART by adding M5271 to Coldfire v2 core listRichard Retanubun1-1/+2
Added the CONFIG_M5271 to the list of Coldfire V2 processor. This was causing the bus clock (not CPU clock) to be declared twice as fast as it actually is. This causes UARTS to operate at half the specified baudrate. Signed-off-by: Richard Retanubun <RichardRetanubun@RuggedCom.com>
2008-12-16Coding style cleanup, update CHANGELOG.Wolfgang Denk1-1/+1
Signed-off-by: Wolfgang Denk <wd@denx.de>
2008-12-06Update U-Boot's build timestamp on every compilePeter Tyser1-1/+2
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-03ColdFire: Relocate FEC's GPIO and mii functions protocolsTsiChung Liew1-0/+78
Place FEC pin assignments in cpu_init.c from platform's mii.c Signed-off-by: TsiChung Liew <Tsi-Chung.Liew@freescale.com>
2008-11-03ColdFire: Modules header files cleanupTsiChung Liew1-191/+80
Consolidate ATA, ePORT, QSPI, FlexCan, PWM, RNG, MDHA, SKHA, INTC, and FlexBus structures and definitions in immap_5xxx.h to more unify modules header files. Append DSPI support for m547x_8x. SSI cleanup. Remove USB Host structure from immap_539.h. Apply changes to use FlexBus structures in mcf52x2's cpu_init.c and platform configuration files. Signed-off-by: TsiChung Liew <Tsi-Chung.Liew@freescale.com>
2008-10-18rename CFG_ macros to CONFIG_SYSJean-Christophe PLAGNIOL-VILLARD5-236/+236
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
2008-09-13Coding style cleanup, update CHANGELOGWolfgang Denk1-1/+0
Signed-off-by: Wolfgang Denk <wd@denx.de>
2008-09-02Introduce netdev.h header file and remove externsBen Warren1-2/+1
This addresses all drivers whose initializers have already been moved to board_eth_init()/cpu_eth_init(). Signed-off-by: Ben Warren <biggerbadderben@gmail.com>
2008-08-28ColdFire: I2C fix for multiple platformsTsiChung Liew2-1/+19
Signed-off-by: TsiChung Liew <Tsi-Chung.Liew@freescale.com>
2008-08-26Moved initialization of MCFFEC Ethernet driver to CPU directoryBen Warren1-0/+15
Added a cpu_eth_init() function to coldfire CPU directories and removed code from net/eth.c Signed-off-by: Ben Warren <biggerbadderben@gmail.com>
2008-08-14ColdFire: Multiple fixes for M5282EVBTsiChung Liew2-2/+2
Incorrect CFG_HZ value, change 1000000 to 1000. Rename #waring to #warning. RAMBAR1 uses twice in start.S, rename the later to FLASHBAR. Insert nop for DRAM setup. And, env_offset in linker file. Signed-off-by: TsiChung Liew <Tsi-Chung.Liew@freescale.com>
2008-07-11ColdFire: Fix FB CS not setup properly for Mcf5282TsiChung Liew1-8/+4
Remove all CFG_CSn_RO in cpu/mcf52x2/cpu_init.c. If CFG_CSn_RO is defined as 0, the chipselect will not be assigned. Signed-off-by: TsiChung Liew <Tsi-Chung.Liew@freescale.com>
2008-07-11ColdFire: Fix compiling error for MCF5275TsiChung Liew1-1/+1
The compiling error was caused by missing a closed parentheses in speed.c Signed-off-by: TsiChung Liew <Tsi-Chung.Liew@freescale.com>
2008-05-21Big white-space cleanup.Wolfgang Denk1-3/+3
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-05-03Revert "ColdFire: Get information from the correct GCC"Wolfgang Denk1-1/+1
This reverts commit b7166e05a513c0806b63b9dfb6f1d77645cede2a (replaced by commit c4e5f52a58d278eebb87f476e353972c5dacea40).
2008-04-30ColdFire: Get information from the correct GCCTsiChung Liew1-1/+1
Signed-off-by: Kurt Mahan <kmahan@freescale.com> Signed-off-by: TsiChung Liew <Tsi-Chung.Liew@freescale.com>
2008-04-13Coding Style cleanup; update CHANGELOGWolfgang Denk1-5/+7
Signed-off-by: Wolfgang Denk <wd@denx.de>
2008-03-31ColdFire: Fix alignment issue after CONFIG_IDENT_STRING in start.STsiChung Liew1-0/+1
When the version_string function in start.S is not 4-byte align, it will cause the compiler generates "unaligned opcodes detected in executable segment". This issue affects all ColdFire CPUs. By adding .align 4 after CONFIG_IDENT_STRING, it will pad 0's if it is not aligned. Signed-off-by: TsiChung Liew <Tsi-Chung.Liew@freescale.com> Acked-by: John Rigby <jrigby@freescale.com>
2008-03-31ColdFire: Remove R5200 boardTsiChung Liew1-33/+1
This board never went into production Signed-off-by: Zachary P. Landau <zachary.landau@labxtechnologies.com> Acked-by: TsiChung Liew <Tsi-Chung.Liew@freescale.com> Acked-by: John Rigby <jrigby@freescale.com>
2008-03-31ColdFire: Added MCF5275 cpu support.Matthew Fettke6-3/+224
Signed-off-by: Matthew Fettke <mfettke@videon-central.com> Signed-off-by: TsiChung Liew <Tsi-Chung.Liew@freescale.com> Acked-by: John Rigby <jrigby@freescale.com>
2008-03-31ColdFire: Update correct FLASHBAR and RAMBAR1 for MCF5282TsiChung Liew1-2/+2
Signed-off-by: TsiChung Liew <Tsi-Chung.Liew@freescale.com> Acked-by: John Rigby <jrigby@freescale.com>
2008-02-23cpu/mcf52x2/config.mk: Make needlessly deffered expansions immediate.Shinya Kuribayashi1-5/+5
This will reduce the build time. Signed-off-by: Shinya Kuribayashi <skuribay@ruby.dti.ne.jp>
2008-02-20ColdFire: Fix 5282 and 5271 interrupt mask bitTsiChungLiew1-1/+1
Signed-off-by: TsiChung Liew <Tsi-Chung.Liew@freescale.com>
2007-11-07ColdFire: Update cpu flag for 4.2-xx compilerTsiChungLiew1-0/+29
Signed-off-by: TsiChungLiew <Tsi-Chung.Liew@freescale.com>
2007-10-25ColdFire 5282: Fix external flash boot and return dramsizeTsiChungLiew1-1/+5
Signed-off-by: TsiChungLiew <Tsi-Chung.Liew@freescale.com>
2007-08-18Coding style cleanupStefan Roese1-1/+1
Signed-off-by: Stefan Roese <sr@denx.de>
2007-08-16ColdFire: Add M5253EVBE platform for MCF52x2TsiChungLiew5-32/+146
Signed-off-by: TsiChungLiew <Tsi-Chung.Liew@freescale.com>
2007-08-16ColdFire: MCF52x2 updateTsiChungLiew7-1222/+369
Signed-off-by: TsiChungLiew <Tsi-Chung.Liew@freescale.com>
2007-07-10cpu/ rtc/ include/: Remove lingering references to CFG_CMD_* symbols.Jon Loeliger1-1/+1
Signed-off-by: Jon Loeliger <jdl@freescale.com>
2007-07-09cpu/m*: Remove obsolete references to CONFIG_COMMANDSJon Loeliger1-7/+7
Signed-off-by: Jon Loeliger <jdl@freescale.com>
2007-07-04cpu/ non-mpc*: Augment CONFIG_COMMANDS tests with defined(CONFIG_CMD_*).Jon Loeliger1-5/+5
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-01-23[ColdFire MCF5271 family] Add CPU detection based on the value of ChipBartlomiej Sieka1-1/+33
Identification Register (CIR).
2006-12-20Preliminary support for the iDMR board (ColdFire).Bartlomiej Sieka1-1/+1
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-04Merge with /home/m8/git/u-bootWolfgang Denk3-7/+14
2006-09-01Add support for a saving build objects in a separate directory.Marian Balakowicz1-7/+11
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-06-10Minor code cleanup.Wolfgang Denk1-4/+4
2006-06-10Merge with /home/hs/U-Boot/u-boot-devWolfgang Denk5-57/+353
2006-05-10Minor cleanup.LABEL_2006_05_10_1800Wolfgang Denk2-26/+26
2006-05-09Fix watchdog issues for ColdFire boards.Wolfgang Denk1-1/+4