summaryrefslogtreecommitdiffstats
path: root/cpu/mcf532x
Commit message (Collapse)AuthorAgeFilesLines
* allow MCF532x to use CONFIG_MONITOR_IS_IN_RAMWolfgang Wegner2010-03-042-0/+7
| | | | | | | | | | | CONFIG_MONITOR_IS_IN_RAM is broken for MCF532x. This patch fixes this by conditionally - removing the vector table at the beginning of code - not overwriting the vector base register - removing the code to re-set the PLL, which effectively disables SDRAM access Signed-off-by: Wolfgang Wegner <w.wegner@astro-kom.de>
* MCF532x: make icache_enable use CONFIG_SYS_SDRAM_SIZEWolfgang Wegner2010-03-041-1/+1
| | | | | | | | in cpu/mcf532x/start.S, the function icache_enable enables the cache for a fixed 32MB region starting at the SDRAM start address; this patch changes the function to cover the region defined by CONFIG_SYS_SDRAM_SIZE Signed-off-by: Wolfgang Wegner <w.wegner at astro-kom.de>
* ColdFire: Fix compile warning messagesTsiChung Liew2009-08-261-1/+0
| | | | | | | | | Change %08lX to %08X in board.c. Remove unused variable 'oscillator' in mcf5227x/cpu_init.c and 'scm2' in mcf532x/cpu_init.c. Provide argument type cast in drivers/dma/MCD_dmaApi.c. Signed-off-by: TsiChung Liew <tsicliew@gmail.com>
* ColdFire: PLATFORM_CPPFLAGS updates for new compilerTsiChung Liew2009-03-171-1/+1
| | | | | | | Update PLATFORM_CPPFLAGS to accept 4.3.x version of ColdFire compiler. Signed-off-by: TsiChung Liew <Tsi-Chung.Liew@freescale.com>
* Update U-Boot's build timestamp on every compilePeter Tyser2008-12-061-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>
* ColdFire: Fix compilation errorTsiChung Liew2008-11-031-2/+2
| | | | | | | The error was caused by the change for strmhz() in cpu.c. A few of them were one extra close parenthesis. Signed-off-by: TsiChung Liew <Tsi-Chung.Liew@freescale.com>
* ColdFire: Add MCF5301x CPU and M53017EVB supportTsiChung Liew2008-11-034-49/+304
| | | | Signed-off-by: TsiChung Liew <Tsi-Chung.Liew@freescale.com>
* ColdFire: Relocate FEC's GPIO and mii functions protocolsTsiChung Liew2008-11-031-1/+24
| | | | | | | Place FEC pin assignments in cpu_init.c from platform's mii.c Signed-off-by: TsiChung Liew <Tsi-Chung.Liew@freescale.com>
* Use strmhz() to format clock frequenciesWolfgang Denk2008-10-211-3/+5
| | | | Signed-off-by: Wolfgang Denk <wd@denx.de>
* rename CFG_ macros to CONFIG_SYSJean-Christophe PLAGNIOL-VILLARD2008-10-185-51/+51
| | | | Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
* Introduce netdev.h header file and remove externsBen Warren2008-09-021-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>
* ColdFire: I2C fix for multiple platformsTsiChung Liew2008-08-281-0/+5
| | | | Signed-off-by: TsiChung Liew <Tsi-Chung.Liew@freescale.com>
* Moved initialization of MCFFEC Ethernet driver to CPU directoryBen Warren2008-08-261-0/+14
| | | | | | | 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>
* Big white-space cleanup.Wolfgang Denk2008-05-211-1/+1
| | | | | | | | | | | 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>
* Revert "ColdFire: Get information from the correct GCC"Wolfgang Denk2008-05-031-1/+1
| | | | | This reverts commit b7166e05a513c0806b63b9dfb6f1d77645cede2a (replaced by commit c4e5f52a58d278eebb87f476e353972c5dacea40).
* ColdFire: Get information from the correct GCCTsiChung Liew2008-04-301-1/+1
| | | | | Signed-off-by: Kurt Mahan <kmahan@freescale.com> Signed-off-by: TsiChung Liew <Tsi-Chung.Liew@freescale.com>
* ColdFire: Fix alignment issue after CONFIG_IDENT_STRING in start.STsiChung Liew2008-03-311-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>
* ColdFire: Add M5373EVB platform support - 2TsiChungLiew2008-01-171-2/+18
| | | | | Signed-off-by: TsiChungLiew <Tsi-Chung.Liew@freescale.com> Signed-off by: John Rigby <jrigby@freescale.com>
* ColdFire: MCF532x - Update do_reset() using core resetTsiChungLiew2007-11-071-6/+2
| | | | Signed-off-by: TsiChungLiew <Tsi-Chung.Liew@freescale.com>
* ColdFire: Update cpu flag for 4.2-xx compilerTsiChungLiew2007-11-071-0/+4
| | | | Signed-off-by: TsiChungLiew <Tsi-Chung.Liew@freescale.com>
* ColdFire 5329: Assign correct SDRAM size and fix cacheTsiChungLiew2007-10-251-2/+2
| | | | Signed-off-by: TsiChungLiew <Tsi-Chung.Liew@freescale.com>
* Fix cases where DECLARE_GLOBAL_DATA_PTR was not declared as globalWolfgang Denk2007-09-152-4/+4
| | | | Signed-off-by: Wolfgang Denk <wd@denx.de>
* ColdFire: MCF5329 update cacheTsiChungLiew2007-08-161-1/+1
| | | | Signed-off-by: TsiChungLiew <Tsi-Chung.Liew@freescale.com>
* Coding style cleanupStefan Roese2007-08-081-6/+5
| | | | Signed-off-by: Stefan Roese <sr@denx.de>
* Port enabled for I2C signals and chipselects port configuration.TsiChungLiew2007-08-081-1/+10
| | | | Signed-off-by: TsiChungLiew <Tsi-Chung.Liew@freescale.com>
* Added uart_gpio_conf() in serial_init(), seperated uart port configuration ↵TsiChungLiew2007-08-081-14/+21
| | | | | | from cpu_init() to uart_gpio_conf() Signed-off-by: TsiChungLiew <Tsi-Chung.Liew@freescale.com>
* Cache update and added CFG_UNIFY_CACHETsiChung2007-07-102-8/+7
| | | | | | Enabled cache in cpu_init_f() for faster flash to mem allocation. Updated cache handling in start.S. Applied cache invalidate in fec_send() and fec_recv(). Added CFG_UNIFY_CACHE for CF V3 only. Signed-off-by: TsiChung <tcliew@Goku.(none)>
* Create interrupts.c and modify MakefileTsiChungLiew2007-07-102-1/+50
| | | | | | interrupt_init() and dtimer_intr_setup() are placed in interrupts.c. Added interrupts.o to Makefile Signed-off-by: TsiChungLiew <Tsi-Chung.Liew@freescale.com>
* Enable IcacheTsiChungLiew2007-07-101-39/+38
| | | | Signed-off-by: TsiChungLiew <Tsi-Chung.Liew@freescale.com>
* Update header file and some clean upTsiChungLiew2007-07-101-18/+12
| | | | | | Replaced immap_5329.h and m5329.h with immap.h. Removed whitespaces. Signed-off-by: TsiChungLiew <Tsi-Chung.Liew@freescale.com>
* Update header file and enable icacheTsiChungLiew2007-07-101-4/+3
| | | | | | Replaced immap_5329.h and m5329.h with immap.h. Enabled icache_enable() in cpu_init_r(). Signed-off-by: TsiChungLiew <Tsi-Chung.Liew@freescale.com>
* Update header file and removed interrupt_init()TsiChungLiew2007-07-101-17/+2
| | | | | | Replace immap_5329.h and m5329.h with immap.h. Removed interrupt_init() and placed it in interrupts.c Signed-off-by: TsiChungLiew <Tsi-Chung.Liew@freescale.com>
* Added M5329AFEE and M5329BFEE PlatformsTsiChung Liew2007-06-186-0/+895
Added board/freescale/m5329evb, cpu/mcf532x, drivers/net, drivers/serial, immap_5329.h, m5329.h, mcfrtc.h, include/configs/M5329EVB.h, lib_m68k/interrupts.c, and rtc/mcfrtc.c Modified CREDITS, MAKEFILE, Makefile, README, common/cmd_bdinfo.c, common/cmd_mii.c, include/asm-m68k/byteorder.h, include/asm-m68k/fec.h, include/asm-m68k/io.h, include/asm-m68k/mcftimer.h, include/asm-m68k/mcfuart.h, include/asm-m68k/ptrace.h, include/asm-m68k/u-boot.h, lib_m68k/Makefile, lib_m68k/board.c, lib_m68k/time.c, net/eth.c and rtc/Makefile Signed-off-by: TsiChung Liew <Tsi-Chung.Liew@freescale.com>
OpenPOWER on IntegriCloud