Commit Graph

18 Commits

Author SHA1 Message Date
Haavard Skinnemoen
4d7d6936eb Introduce map_physmem() and unmap_physmem()
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>
2007-12-13 13:15:16 +01:00
Michal Simek
3666afffe7 [FIX] fix microblaze file permitission 2007-06-17 19:03:21 +02:00
Michal Simek
e69f66c6eb add: reading special purpose registers 2007-05-08 15:57:43 +02:00
Michal Simek
1a50f164be add: Microblaze V5 exception handling 2007-05-08 14:52:52 +02:00
Michal Simek
ab874d5047 add: FSL control read and write 2007-05-08 14:39:11 +02:00
Michal Simek
3c4bd60de1 Merge git://www.denx.de/git/u-boot
Conflicts:

	include/asm-microblaze/microblaze_intc.h
	include/linux/stat.h
2007-05-08 00:32:35 +02:00
Michal Simek
fb05f6da35 new: USE_MSR_INTR support 2007-05-07 23:58:31 +02:00
Michal Simek
42efed6130 fix: interrupt handler for multiple sources 2007-05-07 17:22:25 +02:00
Michal Simek
48fbd3a4cd new: add writing to msr register 2007-05-07 17:11:09 +02:00
Michal Simek
f7e2e0eb06 new: FSL and MSR support 2007-05-05 18:27:16 +02:00
Wolfgang Denk
31c98a8822 Minor coding style cleanup. 2007-04-04 02:09:30 +02:00
Michal Simek
6f934210fb [CLEAN] Remove inefficient Suzaku code 2007-03-30 22:42:45 +02:00
Michal Simek
76316a318d [Microblaze][PATCH]
timer support
interrupt controller support
flash support
ethernet support
cache support
board information support
env support
booting image support

adding support for Xilinx ML401
2007-03-11 13:42:58 +01:00
Haiying Wang
3a197b2fe4 [PATCH v3] Add sync to ensure flash_write_cmd is fully finished
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>
2007-02-21 16:52:31 +01:00
Wolfgang Denk
f08abe311b Remove unnnecessary #include <linux/types.h> from include/asm-*/u-boot.h 2005-11-25 16:38:03 +01:00
wdenk
857cad37a4 Patches by Yasushi Shoji, 29 Jun 2004:
- add empty include/asm-microblaze/processor.h
- add to CREDITS and MAINTAINERS
- add gd initialization
- add MicroBlaze and SUZAKU board to MAKEALL script
- add reset support for SUZAKU
- add flush_cache() for MicroBlaze
- add CFG_FLASH_SIZE to include/configs/suzaku.h since we have fixed
  size flash memory on SUZAKU
2004-07-10 23:48:41 +00:00
wdenk
d4326aca18 * Add missing microblaze header files
* Patch by Rune Torgersen, 06 Apr 2004:
  - Fix some PCI problems on the MPC8266ADS board
  - Fix the location of some PCI entries in the immap structure
2004-04-18 21:17:30 +00:00
wdenk
507bbe3e80 * Patch by Yasushi Shoji, 07 Apr 2004:
- add support for microblaze processors
  - add support for AtmarkTechno "suzaku" board
2004-04-18 21:13:41 +00:00