diff options
author | Linus Walleij <linus.walleij@linaro.org> | 2011-08-09 21:30:01 +0200 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2011-08-17 10:20:29 +0200 |
commit | c43ed5600b285e7b3bfe868ffe2eb259939c4b98 (patch) | |
tree | f358310c22f862672b219a0f66953de7eef4949e /arch/arm/mach-u300/core.c | |
parent | 73285146544589424e8e1c1ebd6304d3c6231acf (diff) | |
download | lwn-c43ed5600b285e7b3bfe868ffe2eb259939c4b98.tar.gz lwn-c43ed5600b285e7b3bfe868ffe2eb259939c4b98.zip |
mach-u300: drop SEMI config option
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>
Diffstat (limited to 'arch/arm/mach-u300/core.c')
-rw-r--r-- | arch/arm/mach-u300/core.c | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/arch/arm/mach-u300/core.c b/arch/arm/mach-u300/core.c index 399c89f14dfb..8b78af90166f 100644 --- a/arch/arm/mach-u300/core.c +++ b/arch/arm/mach-u300/core.c @@ -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) |