Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 94950
b: refs/heads/master
c: 136eb95
h: refs/heads/master
v: v3
  • Loading branch information
David Brownell authored and Russell King committed Apr 28, 2008
1 parent 00165cc commit a3ea6d6
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 6 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: fe6cfde60012d4891470828a391274d94e0ea3a0
refs/heads/master: 136eb955773dc99f82e6e754038eb1c530e03fdf
14 changes: 9 additions & 5 deletions trunk/arch/arm/mach-at91/pm.c
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,15 @@ static inline void sdram_selfrefresh_enable(void)
#else
#include <asm/arch/at91sam9_sdramc.h>

#ifdef CONFIG_ARCH_AT91SAM9263
/*
* FIXME either or both the SDRAM controllers (EB0, EB1) might be in use;
* handle those cases both here and in the Suspend-To-RAM support.
*/
#define AT91_SDRAMC AT91_SDRAMC0
#warning Assuming EB1 SDRAM controller is *NOT* used
#endif

static u32 saved_lpr;

static inline void sdram_selfrefresh_enable(void)
Expand All @@ -75,11 +84,6 @@ static inline void sdram_selfrefresh_enable(void)

#define sdram_selfrefresh_disable() at91_sys_write(AT91_SDRAMC_LPR, saved_lpr)

/*
* FIXME: The AT91SAM9263 has a second EBI controller which may have
* additional SDRAM. pm_slowclock.S will require a similar fix.
*/

#endif


Expand Down

0 comments on commit a3ea6d6

Please sign in to comment.