Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 272534
b: refs/heads/master
c: c43ed56
h: refs/heads/master
v: v3
  • Loading branch information
Linus Walleij committed Aug 17, 2011
1 parent 672e6b1 commit 18dcc54
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 17 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 73285146544589424e8e1c1ebd6304d3c6231acf
refs/heads/master: c43ed5600b285e7b3bfe868ffe2eb259939c4b98
8 changes: 0 additions & 8 deletions trunk/arch/arm/mach-u300/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
9 changes: 1 addition & 8 deletions trunk/arch/arm/mach-u300/core.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 18dcc54

Please sign in to comment.