]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
mach-u300: drop SEMI config option
authorLinus Walleij <linus.walleij@linaro.org>
Tue, 9 Aug 2011 19:30:01 +0000 (21:30 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Wed, 17 Aug 2011 08:20:29 +0000 (10:20 +0200)
When we have only dual-RAM configurations, the SEMI (shared
memory interface) must always be enabled.

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
arch/arm/mach-u300/Kconfig
arch/arm/mach-u300/core.c

index d3a9ca45ef853effac90b60dcbae5383a1b24c5d..966a5a06a58ca3f234ee570cabaaeda1bd11b011 100644 (file)
@@ -54,14 +54,6 @@ config U300_DEBUG
        help
                Debug support for U300 in sysfs, procfs etc.
 
-config MACH_U300_SEMI_IS_SHARED
-       bool "The SEMI is used by both the access and application side"
-       depends on MACH_U300
-       help
-               This makes it possible to use the SEMI (Shared External
-               Memory Interface) from both from access and application
-               side.
-
 config MACH_U300_SPIDUMMY
        bool "SSP/SPI dummy chip"
        select SPI
index 399c89f14dfb5b9d78835409611c748c7411a40b..8b78af90166fce2471fb02dc12211e7774f72555 100644 (file)
@@ -1837,17 +1837,10 @@ void __init u300_init_devices(void)
        /* Register subdevices on the SPI bus */
        u300_spi_register_board_devices();
 
-#ifndef CONFIG_MACH_U300_SEMI_IS_SHARED
-       /*
-        * Enable SEMI self refresh. Self-refresh of the SDRAM is entered when
-        * both subsystems are requesting this mode.
-        * If we not share the Acc SDRAM, this is never the case. Therefore
-        * enable it here from the App side.
-        */
+       /* Enable SEMI self refresh */
        val = readw(U300_SYSCON_VBASE + U300_SYSCON_SMCR) |
                U300_SYSCON_SMCR_SEMI_SREFREQ_ENABLE;
        writew(val, U300_SYSCON_VBASE + U300_SYSCON_SMCR);
-#endif /* CONFIG_MACH_U300_SEMI_IS_SHARED */
 }
 
 static int core_module_init(void)