aboutsummaryrefslogtreecommitdiffstats
path: root/arch/microblaze/Kconfig
diff options
context:
space:
mode:
authorMichal Simek <monstr@monstr.eu>2010-02-22 06:16:08 -0500
committerMichal Simek <monstr@monstr.eu>2010-03-11 08:14:43 -0500
commit3a0d7a4dd5b3a6545e5764735b48ab84e64af723 (patch)
treee42c0d8af3695e96729d2434ee386ff00cabaf2d /arch/microblaze/Kconfig
parentae8ee1505162f47f8b8cf7a44c26ea6b172e1445 (diff)
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>
Diffstat (limited to 'arch/microblaze/Kconfig')
-rw-r--r--arch/microblaze/Kconfig9
1 files changed, 9 insertions, 0 deletions
diff --git a/arch/microblaze/Kconfig b/arch/microblaze/Kconfig
index e451c0898e7..203ec61c6d4 100644
--- a/arch/microblaze/Kconfig
+++ b/arch/microblaze/Kconfig
@@ -156,6 +156,15 @@ config ADVANCED_OPTIONS
156comment "Default settings for advanced configuration options are used" 156comment "Default settings for advanced configuration options are used"
157 depends on !ADVANCED_OPTIONS 157 depends on !ADVANCED_OPTIONS
158 158
159config XILINX_UNCACHED_SHADOW
160 bool "Are you using uncached shadow for RAM ?"
161 depends on ADVANCED_OPTIONS && !MMU
162 default n
163 help
164 This is needed to be able to allocate uncachable memory regions.
165 The feature requires the design to define the RAM memory controller
166 window to be twice as large as the actual physical memory.
167
159config HIGHMEM_START_BOOL 168config HIGHMEM_START_BOOL
160 bool "Set high memory pool address" 169 bool "Set high memory pool address"
161 depends on ADVANCED_OPTIONS && HIGHMEM 170 depends on ADVANCED_OPTIONS && HIGHMEM