microblaze: Add consistent code
authorMichal Simek <monstr@monstr.eu>
Mon, 22 Feb 2010 11:16:08 +0000 (12:16 +0100)
committerMichal Simek <monstr@monstr.eu>
Thu, 11 Mar 2010 13:14:43 +0000 (14:14 +0100)
commit3a0d7a4dd5b3a6545e5764735b48ab84e64af723
treee42c0d8af3695e96729d2434ee386ff00cabaf2d
parentae8ee1505162f47f8b8cf7a44c26ea6b172e1445
microblaze: Add consistent code

Remove ancient Kconfig option for consistent code.
MMU uses cache inhibit pages.

noMMU uses UNCACHE SHADOW feature where is used double ram size.
For example:
Physical ram is 256MB and cache are setup to cover the same size.
But if you setup in HW that size is 512MB and cache covers 256MB
than you can use adresses from 256-512MB without caches and
correspond with 0-256MB with cache. That's why I am using
dcache base/high addresses to find out uncache area.

Signed-off-by: Michal Simek <monstr@monstr.eu>
arch/microblaze/Kconfig
arch/microblaze/mm/Makefile
arch/microblaze/mm/consistent.c [new file with mode: 0644]