- Oct 03, 2017
-
-
Paul Burton authored
Convert the m68k architecture to make use of the new asm-generic/io.h to provide address mapping functions. As the generic implementations are suitable for m68k this is primarily a matter of emoving code. Feedback from architecture maintainers is welcome. Signed-off-by:
Paul Burton <paul.burton@imgtec.com> Cc: Huan Wang <alison.wang@freescale.com> Cc: Angelo Dureghello <angelo@sysam.it> Acked-by:
Angelo Dureghello <angelo@sysam.it> Tested-by:
Angelo Dureghello <angelo@sysam.it>
-
- Nov 09, 2015
-
-
Måns Rullgård authored
A number of headers define functions as "extern inline" which is causing problems with gcc5. The reason is that starting with version 5.1, gcc defaults to the standard C99 semantics for the inline keyword. Under the traditional GNU inline semantics, an "extern inline" function would never create an external definition, the same as inline *without* extern in C99. In C99, and "extern inline" definition is simply an external definition with an inline hint. In short, the meanings of inline with and without extern are swapped between GNU and C99. The upshot is that all these definitions in header files create an external definition wherever those headers are included, resulting in multiple definition errors at link time. Changing all these functions to "static inline" fixes the problem since this works as desired in all gcc versions. Although the semantics are slightly different (a static inline definition may result in an actual function being emitted), it works as intended in practice. This patch also removes extern prototype declarations for the changed functions where they existed. Signed-off-by:
Mans Rullgard <mans@mansr.com>
-
- Jun 19, 2014
-
-
Chao Fu authored
M68k is big endian cpu ,so use be_out and be_in in big endian. Signed-off-by:
Chao Fu <b44548@freescale.com>
-
- Jul 24, 2013
-
-
Wolfgang Denk authored
Signed-off-by:
Wolfgang Denk <wd@denx.de> [trini: Fixup common/cmd_io.c] Signed-off-by:
Tom Rini <trini@ti.com>
-
- Sep 20, 2012
-
-
Alison Wang authored
Signed-off-by:
Alison Wang <b18965@freescale.com>
-
- Sep 04, 2011
-
-
Jason Jin authored
The dram initialization sequence should be in order. This patch add mb for the dram intialization code to make sure the compiler do not disorder the code. Signed-off-by:
Jason Jin <Jason.jin@freescale.com>
-
- Apr 13, 2010
-
-
Peter Tyser authored
This helps to clean up the include/ directory so that it only contains non-architecture-specific headers and also matches Linux's directory layout which many U-Boot developers are already familiar with. Signed-off-by:
Peter Tyser <ptyser@xes-inc.com>
-
- Aug 26, 2009
-
-
TsiChung Liew authored
The compile error was caused by a recent patch. Affected platforms - M5253DEMO.h, M5253EVBE.h, and M54455EVB.h. Adding the _IO_BASE automatically defined to 0 in asm-m68k/io.h if it isn't set in platform configuration file. Signed-off-by:
TsiChung Liew <tsicliew@gmail.com>
-
- Dec 15, 2008
-
-
Kumar Gala authored
virt_to_phys() returns the physical address given a virtual. In most cases this will be just the input value as the vast majority of systems run in a 1:1 mode. However in systems that are not running this way it should report the physical address or ~0 if no mapping exists for the given virtual address. Signed-off-by:
Kumar Gala <galak@kernel.crashing.org>
-
- Apr 14, 2008
-
-
Kumar Gala authored
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>
-
- Jan 17, 2008
-
-
TsiChung Liew authored
Signed-off-by:
TsiChungLiew <Tsi-Chung.Liew@freescale.com> Signed-off by: John Rigby <jrigby@freescale.com>
-
- Dec 13, 2007
-
-
Haavard Skinnemoen authored
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>
-
Haavard Skinnemoen authored
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>
-
- Aug 16, 2007
-
-
TsiChung Liew authored
Signed-off-by:
TsiChungLiew <Tsi-Chung.Liew@freescale.com>
-
- Aug 08, 2007
-
-
TsiChung Liew authored
Signed-off-by:
TsiChungLiew <Tsi-Chung.Liew@freescale.com>
-
- Jul 10, 2007
-
-
TsiChung Liew authored
Removed whitespace Signed-off-by:
TsiChungLiew <Tsi-Chung.Liew@freescale.com>
-
- Jun 18, 2007
-
-
TsiChung Liew authored
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>
-
- Feb 21, 2007
-
-
Haiying Wang authored
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>
-
- Dec 08, 2003
-
-
Wolfgang Denk authored
add support for Coldfire CPU add support for Motorola M5272C3 and M5282EVB boards
-