diff options
| author | Greg Ungerer <gerg@snapgear.com> | 2006-06-26 02:33:15 -0400 |
|---|---|---|
| committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-06-26 13:59:44 -0400 |
| commit | 954b36d48b495afed2880320750858a2eae312c9 (patch) | |
| tree | 0c756f15e9a2941b99b03ecf1db518b89a1e7f78 | |
| parent | 12ddae3348def8808fb755b23225b18fc4adfbe3 (diff) | |
[PATCH] m68knommu: use configurable RAM setup page_offset.h
Remove board specific base RAM conditionals from page_offset.h
With the Kconfig time configurable RAM setup none of this is required.
It is all based on the Kconfig (CONFIG_RAMBASE) option now.
Signed-off-by: Greg Ungerer <gerg@uclinux.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
| -rw-r--r-- | include/asm-m68knommu/page_offset.h | 43 |
1 files changed, 1 insertions, 42 deletions
diff --git a/include/asm-m68knommu/page_offset.h b/include/asm-m68knommu/page_offset.h index 8ed6d7b7d9d1..d4e73e0ba646 100644 --- a/include/asm-m68knommu/page_offset.h +++ b/include/asm-m68knommu/page_offset.h | |||
| @@ -1,46 +1,5 @@ | |||
| 1 | 1 | ||
| 2 | 2 | ||
| 3 | /* This handles the memory map.. */ | 3 | /* This handles the memory map.. */ |
| 4 | 4 | #define PAGE_OFFSET_RAW CONFIG_RAMBASE | |
| 5 | #ifdef CONFIG_COLDFIRE | ||
| 6 | #if defined(CONFIG_SMALL) | ||
| 7 | #define PAGE_OFFSET_RAW 0x30020000 | ||
| 8 | #elif defined(CONFIG_CFV240) | ||
| 9 | #define PAGE_OFFSET_RAW 0x02000000 | ||
| 10 | #else | ||
| 11 | #define PAGE_OFFSET_RAW 0x00000000 | ||
| 12 | #endif | ||
| 13 | #endif | ||
| 14 | |||
| 15 | #ifdef CONFIG_M68360 | ||
| 16 | #define PAGE_OFFSET_RAW 0x00000000 | ||
| 17 | #endif | ||
| 18 | |||
| 19 | #ifdef CONFIG_PILOT | ||
| 20 | #ifdef CONFIG_M68328 | ||
| 21 | #define PAGE_OFFSET_RAW 0x10000000 | ||
| 22 | #endif | ||
| 23 | #ifdef CONFIG_M68EZ328 | ||
| 24 | #define PAGE_OFFSET_RAW 0x00000000 | ||
| 25 | #endif | ||
| 26 | #endif | ||
| 27 | #ifdef CONFIG_UCSIMM | ||
| 28 | #define PAGE_OFFSET_RAW 0x00000000 | ||
| 29 | #endif | ||
| 30 | |||
| 31 | #if defined(CONFIG_UCDIMM) || defined(CONFIG_DRAGEN2) | ||
| 32 | #ifdef CONFIG_M68VZ328 | ||
| 33 | #define PAGE_OFFSET_RAW 0x00000000 | ||
| 34 | #endif /* CONFIG_M68VZ328 */ | ||
| 35 | #endif /* CONFIG_UCDIMM */ | ||
| 36 | |||
| 37 | #ifdef CONFIG_M68EZ328ADS | ||
| 38 | #define PAGE_OFFSET_RAW 0x00000000 | ||
| 39 | #endif | ||
| 40 | #ifdef CONFIG_ALMA_ANS | ||
| 41 | #define PAGE_OFFSET_RAW 0x00000000 | ||
| 42 | #endif | ||
| 43 | #ifdef CONFIG_M68EN302 | ||
| 44 | #define PAGE_OFFSET_RAW 0x00000000 | ||
| 45 | #endif | ||
| 46 | 5 | ||
