diff options
author | Haavard Skinnemoen <haavard.skinnemoen@atmel.com> | 2008-07-31 18:06:58 +0400 |
---|---|---|
committer | Haavard Skinnemoen <haavard.skinnemoen@atmel.com> | 2008-08-08 14:42:14 +0400 |
commit | a8d902db221e1e2dcbbd32efbf89055ed69f8e56 (patch) | |
tree | 5005b8f5cffbcd5832806bdd8129a6a230068e42 /arch/avr32/mach-at32ap/pm.c | |
parent | 8f8a59c664e976f0c32d7d4550fd99dca7c4ef7b (diff) | |
download | linux-a8d902db221e1e2dcbbd32efbf89055ed69f8e56.tar.xz |
avr32: Add MMIO address definitions for certain controllers
Hardcoded MMIO base addresses are used a few places throughout the
platform code. Move these into the chip-specific header file so that
adding support for new chips becomes a bit easier.
Signed-off-by: Haavard Skinnemoen <haavard.skinnemoen@atmel.com>
Diffstat (limited to 'arch/avr32/mach-at32ap/pm.c')
-rw-r--r-- | arch/avr32/mach-at32ap/pm.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/arch/avr32/mach-at32ap/pm.c b/arch/avr32/mach-at32ap/pm.c index a0cbef54fc2a..f021edfeaab0 100644 --- a/arch/avr32/mach-at32ap/pm.c +++ b/arch/avr32/mach-at32ap/pm.c @@ -14,12 +14,10 @@ #include <asm/cacheflush.h> #include <asm/sysreg.h> +#include <mach/chip.h> #include <mach/pm.h> #include <mach/sram.h> -/* FIXME: This is only valid for AP7000 */ -#define SDRAMC_BASE 0xfff03800 - #include "sdramc.h" #define SRAM_PAGE_FLAGS (SYSREG_BIT(TLBELO_D) | SYSREG_BF(SZ, 1) \ |