summaryrefslogtreecommitdiff
path: root/include/asm-m68k
Commit message (Collapse)AuthorAgeLines
* Change bd/gd memsize/ram_size to be phys_size_t.Becky Bruce2008-06-12-2/+2
| | | | | | | | | | Currently, both are defined as an unsigned long, but should be phys_size_t. This should result in no real change, since phys_size_t is currently an unsigned long for all the default configs. Also add print_lnum to cmd_bdinfo to deal with the potentially wider memsize. Signed-off-by: Becky Bruce <becky.bruce@freescale.com>
* Merge branch 'lwmon5' of /home/wd/git/u-boot/projectsWolfgang Denk2008-05-21-0/+2
|\
| * POST: replace the LOGBUFF_INITIALIZED flag in gd->post_log_word (1 << 31) ↵Yuri Tikhonov2008-05-20-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | with the GD_FLG_LOGINIT flag in gd->flags. This way we become able to utilize the full post_log_word for POST activities (overwise, POST ECC, which has 0x8000 ID, could be erroneously treated as started in post_output_backlog() even if there was actually no POST ECC run (because of OCM POST failure, for example). Signed-off-by: Yuri Tikhonov <yur@emcraft.com>
| * POST: add POST_STOP flagYuri Tikhonov2008-05-20-0/+1
| | | | | | | | | | | | | | | | Don't run futher tests in case of a test fails that is marked as POST_STOP. Signed-off-by: Ilya Yanok <yanok@emcraft.com> Signed-off-by: Yuri Tikhonov <yur@emcraft.com>
* | Big white-space cleanup.Wolfgang Denk2008-05-21-10/+10
|/ | | | | | | | | | | 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>
* ColdFire: Fix compilation issue caused by new changes in fsl_i2c.cTsiChung Liew2008-04-30-0/+4
| | | | | Signed-off-by: Luigi Comio Mantellini <luigi.mantellini@idf-hit.com> Signed-off-by: TsiChung Liew <Tsi-Chung.Liew@freescale.com>
* Introduce phys_size_t and move phys_addr_t into asm/types.hKumar Gala2008-04-13-2/+3
| | | | | | | Also add CONFIG_PHYS_64BIT on powerpc to deal with 32-bit ppc's that have larger physical addresses like 44x, 85xx, and 86xx. Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
* ColdFire: Add dspi and serial flash support for MCF5445xTsiChung Liew2008-03-31-0/+10
| | | | | Signed-off-by: TsiChung Liew <Tsi-Chung.Liew@freescale.com> Acked-by: John Rigby <jrigby@freescale.com>
* ColdFire: Added MCF5275 cpu support.Matthew Fettke2008-03-31-0/+734
| | | | | | 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>
* The patch introduces the CRITICAL feature of POST tests. If the test marked ↵Yuri Tikhonov2008-03-18-0/+1
| | | | | | | as POST_CRITICAL fails then the alternative, post_critical, boot-command is used. If this command is not defined then U-Boot enters into interactive mode. Signed-off-by: Dmitry Rakhchev <rda@emcraft.com> Signed-off-by: Yuri Tikhonov <yur@emcraft.com>
* Remove the __STRICT_ANSI__ check from the __u64/__s64 declaration on 32bit ↵Shinya Kuribayashi2008-02-23-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | targets. ---------------------------------------------------------------- Olaf Hering [Wed, 17 Oct 2007 06:27:13 +0000 (23:27 -0700)] Remove the __STRICT_ANSI__ check from the __u64/__s64 declaration on 32bit targets. GCC can be made to warn about usage of long long types with ISO C90 (-ansi), but only with -pedantic. You can write this in a way that even then it doesn't cause warnings, namely by: #ifdef __GNUC__ __extension__ typedef __signed__ long long __s64; __extension__ typedef unsigned long long __u64; #endif The __extension__ keyword in front of this switches off any pedantic warnings for this expression. Signed-off-by: Olaf Hering <olh@suse.de> Cc: <linux-arch@vger.kernel.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org> ---------------------------------------------------------------- Signed-off-by: Shinya Kuribayashi <skuribay@ruby.dti.ne.jp>
* ColdFire: Add MCF547x_8x related header filesTsiChungLiew2008-01-17-73/+1140
| | | | | | Signed-off-by: TsiChungLiew <Tsi-Chung.Liew@freescale.com> Signed-off-by: Ben Warren <biggerbadderben@gmail.com> Signed-off by: John Rigby <jrigby@freescale.com>
* ColdFire: Add MCF5227x cpu and M52277EVB support-3TsiChungLiew2008-01-17-0/+796
| | | | | Signed-off-by: TsiChungLiew <Tsi-Chung.Liew@freescale.com> Signed-off by: John Rigby <jrigby@freescale.com>
* ColdFire: Add MCF5227x cpu and MCF52277EVB support-2TsiChungLiew2008-01-17-0/+343
| | | | | Signed-off-by: TsiChungLiew <Tsi-Chung.Liew@freescale.com> Signed-off by: John Rigby <jrigby@freescale.com>
* ColdFire: Add MCF5227x cpu and M52277EVB support-1TsiChungLiew2008-01-17-0/+37
| | | | | Signed-off-by: TsiChungLiew <Tsi-Chung.Liew@freescale.com> Signed-off by: John Rigby <jrigby@freescale.com>
* ColdFire: Fix CFI Flash low level Read/Write macroTsiChungLiew2008-01-17-14/+8
| | | | | Signed-off-by: TsiChungLiew <Tsi-Chung.Liew@freescale.com> Signed-off by: John Rigby <jrigby@freescale.com>
* ColdFire: Add M5373EVB platform support - 2TsiChungLiew2008-01-17-21/+77
| | | | | Signed-off-by: TsiChungLiew <Tsi-Chung.Liew@freescale.com> Signed-off by: John Rigby <jrigby@freescale.com>
* ColdFire: PCI and misc updates for MCF5445xTsiChungLiew2008-01-17-11/+11
| | | | | Signed-off-by: TsiChungLiew <Tsi-Chung.Liew@freescale.com> Signed-off by: John Rigby <jrigby@freescale.com>
* ColdFire: MCF5445x header files cleanupTsiChungLiew2008-01-17-777/+46
| | | | | Signed-off-by: TsiChungLiew <Tsi-Chung.Liew@freescale.com> Signed-off by: John Rigby <jrigby@freescale.com>
* ColdFire: MCF532x header files cleanupTsiChungLiew2008-01-17-468/+6
| | | | | Signed-off-by: TsiChungLiew <Tsi-Chung.Liew@freescale.com> Signed-off by: John Rigby <jrigby@freescale.com>
* ColdFire: Add modules header filesTsiChungLiew2008-01-17-0/+898
| | | | | | | Add CF specific modules header files Signed-off-by: TsiChung Liew <Tsi-Chung.Liew@freescale.com> Signed-off-by: John Rigby <jrigby@freescale.com>
* Introduce map_physmem() and unmap_physmem()Haavard Skinnemoen2007-12-13-0/+27
| | | | | | | | | | | | | | | | map_physmem() returns a virtual address which can be used to access a given physical address without involving the cache. unmap_physmem() should be called when the virtual address returned by map_physmem() is no longer needed. This patch adds a stub implementation which simply returns the physical address cast to a uchar * for all architectures except AVR32, which converts the physical address to an uncached virtual mapping. unmap_physmem() is a no-op on all architectures, but if any architecture needs to do such mappings through the TLB, this is the hook where those TLB entries can be invalidated. Signed-off-by: Haavard Skinnemoen <hskinnemoen@atmel.com>
* Implement __raw_{read,write}[bwl] on all architecturesHaavard Skinnemoen2007-12-13-0/+14
| | | | | | | | This adds implementations of __raw_read[bwl] and __raw_write[bwl] to m68k, ppc, nios and nios2. The m68k and ppc implementations were taken from Linux. Signed-off-by: Haavard Skinnemoen <hskinnemoen@atmel.com>
* ColdFire: MCF5329 - Remove reset registers from CCMTsiChungLiew2007-11-08-12/+9
| | | | Signed-off-by: TsiChungLiew <Tsi-Chung.Liew@freescale.com>
* ColdFire: MCF5329 - Add Reset structure to immap_5329.hTsiChungLiew2007-11-08-0/+5
| | | | Signed-off-by: TsiChungLiew <Tsi-Chung.Liew@freescale.com>
* ColdFire: MCF5329 - revert include/asm-m68k/m5329.h file modeTsiChungLiew2007-11-08-0/+0
| | | | Signed-off-by: TsiChungLiew <Tsi-Chung.Liew@freescale.com>
* ColdFire: MCF5445x - Update correct RAMBAR and missing linker filesTsiChungLiew2007-11-07-2/+2
| | | | Signed-off-by: TsiChungLiew <Tsi-Chung.Liew@freescale.com>
* ColdFire: MCF532x - Update do_reset() using core resetTsiChungLiew2007-11-07-1/+17
| | | | Signed-off-by: TsiChungLiew <Tsi-Chung.Liew@freescale.com>
* ColdFire: Add M5235EVB Platform for MCF523xTsiChungLiew2007-08-17-0/+1312
| | | | Signed-off-by: TsiChungLiew <Tsi-Chung.Liew@freescale.com>
* ColdFire: Add M54455EVB for MCF5445xTsiChungLiew2007-08-16-1/+2536
| | | | Signed-off-by: TsiChungLiew <Tsi-Chung.Liew@freescale.com>
* ColdFire: Add M5253EVBE platform for MCF52x2TsiChungLiew2007-08-16-1/+192
| | | | Signed-off-by: TsiChungLiew <Tsi-Chung.Liew@freescale.com>
* ColdFire: MCF52x2 Header files updateTsiChungLiew2007-08-16-1122/+1208
| | | | Signed-off-by: TsiChungLiew <Tsi-Chung.Liew@freescale.com>
* ColdFire: MCF5329 header file clean upTsiChungLiew2007-08-16-1580/+1215
| | | | Signed-off-by: TsiChungLiew <Tsi-Chung.Liew@freescale.com>
* ColdFire: MCF5329 Update and cleanupTsiChungLiew2007-08-16-31/+47
| | | | Signed-off-by: TsiChungLiew <Tsi-Chung.Liew@freescale.com>
* Added NAND supportTsiChungLiew2007-08-08-0/+177
| | | | Signed-off-by: TsiChungLiew <Tsi-Chung.Liew@freescale.com>
* Added I2C supportTsiChungLiew2007-08-08-0/+86
| | | | Signed-off-by: TsiChungLiew <Tsi-Chung.Liew@freescale.com>
* Changed CFG_CLK to gd->bus_clk for CFG_TIMER_PRESCALER. Added ↵TsiChungLiew2007-08-08-1/+1
| | | | | | DECLARE_GLOBAL_DATA_PTR for time.c Signed-off-by: TsiChungLiew <Tsi-Chung.Liew@freescale.com>
* Moved sync() from board file to include/asm-m68k/io.hTsiChungLiew2007-08-08-0/+7
| | | | Signed-off-by: TsiChungLiew <Tsi-Chung.Liew@freescale.com>
* Coding style cleanupStefan Roese2007-07-16-2/+2
| | | | Signed-off-by: Stefan Roese <sr@denx.de>
* New uart structure and definesTsiChungLiew2007-07-10-0/+171
| | | | | | Seperated from mcfuart.h Signed-off-by: TsiChungLiew <Tsi-Chung.Liew@freescale.com>
* New timer structure and definesTsiChungLiew2007-07-10-0/+104
| | | | | | Seperated from mcftimer.h Signed-off-by: TsiChungLiew <Tsi-Chung.Liew@freescale.com>
* Rename mcfrtc to rtcTsiChungLiew2007-07-10-1/+1
| | | | | | Since it is already in m68k folder, un-necessary to pad mcf. Replaced immap_5329.h and m5329.h to immap.h Signed-off-by: TsiChungLiew <Tsi-Chung.Liew@freescale.com>
* Seperate old structure defines and new structure definesTsiChungLiew2007-07-10-144/+0
| | | | | | Removed new uart structure and defines to uart.h Signed-off-by: TsiChungLiew <Tsi-Chung.Liew@freescale.com>
* Seperate old structure defines and new structure definesTsiChungLiew2007-07-10-72/+0
| | | | | | New timer structure and defines will move to new timer.h Signed-off-by: TsiChungLiew <Tsi-Chung.Liew@freescale.com>
* Clean upTsiChungLiew2007-07-10-1/+1
| | | | | | Removed whitespace Signed-off-by: TsiChungLiew <Tsi-Chung.Liew@freescale.com>
* Clean upTsiChungLiew2007-07-10-40/+40
| | | | | | Replaced whitespace with tabs Signed-off-by: TsiChungLiew <Tsi-Chung.Liew@freescale.com>
* Create new header file and move peripherals base address from configs file ↵TsiChungLiew2007-07-10-0/+57
| | | | | | | | to new header file. Create new header file to include immap_5xxx.h and m5xxx.h and to share among drivers without update in driver file each processor is added. Moved peripherals base address and defines from configs file to immap.h. Signed-off-by: TsiChungLiew <Tsi-Chung.Liew@freescale.com>
* Added M5329AFEE and M5329BFEE PlatformsTsiChung Liew2007-06-18-180/+3865
| | | | | | | | | | | | | | | | 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>
* [PATCH v3] Add sync to ensure flash_write_cmd is fully finishedHaiying Wang2007-02-21-1/+8
| | | | | | | | | Some CPUs like PPC, BLACKFIN need sync() to ensure cfi flash write command is fully finished. The sync() is defined in each CPU's io.h file. For those CPUs which do not need sync for now, a dummy sync() is defined in their io.h as well. Signed-off-by: Haiying Wang <Haiying.Wang@freescale.com>
* [ColdFire MCF5271 family] Add CPU detection based on the value of ChipBartlomiej Sieka2007-01-23-0/+6
| | | | Identification Register (CIR).