Skip to content

Commit

Permalink
[PATCH] m68knommu: use configurable RAM setup page_offset.h
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Greg Ungerer authored and Linus Torvalds committed Jun 26, 2006
1 parent 12ddae3 commit 954b36d
Showing 1 changed file with 1 addition and 42 deletions.
43 changes: 1 addition & 42 deletions include/asm-m68knommu/page_offset.h
Original file line number Diff line number Diff line change
@@ -1,46 +1,5 @@


/* This handles the memory map.. */

#ifdef CONFIG_COLDFIRE
#if defined(CONFIG_SMALL)
#define PAGE_OFFSET_RAW 0x30020000
#elif defined(CONFIG_CFV240)
#define PAGE_OFFSET_RAW 0x02000000
#else
#define PAGE_OFFSET_RAW 0x00000000
#endif
#endif

#ifdef CONFIG_M68360
#define PAGE_OFFSET_RAW 0x00000000
#endif

#ifdef CONFIG_PILOT
#ifdef CONFIG_M68328
#define PAGE_OFFSET_RAW 0x10000000
#endif
#ifdef CONFIG_M68EZ328
#define PAGE_OFFSET_RAW 0x00000000
#endif
#endif
#ifdef CONFIG_UCSIMM
#define PAGE_OFFSET_RAW 0x00000000
#endif

#if defined(CONFIG_UCDIMM) || defined(CONFIG_DRAGEN2)
#ifdef CONFIG_M68VZ328
#define PAGE_OFFSET_RAW 0x00000000
#endif /* CONFIG_M68VZ328 */
#endif /* CONFIG_UCDIMM */

#ifdef CONFIG_M68EZ328ADS
#define PAGE_OFFSET_RAW 0x00000000
#endif
#ifdef CONFIG_ALMA_ANS
#define PAGE_OFFSET_RAW 0x00000000
#endif
#ifdef CONFIG_M68EN302
#define PAGE_OFFSET_RAW 0x00000000
#endif
#define PAGE_OFFSET_RAW CONFIG_RAMBASE

0 comments on commit 954b36d

Please sign in to comment.