Skip to content

Commit

Permalink
ARM: OMAP2/3: Move define of OMAP2_VA_IC_BASE to be local to entry-ma…
Browse files Browse the repository at this point in the history
…cro.S

Move define of OMAP2_VA_IC_BASE to be local to entry-macro.S

Signed-off-by: Tony Lindgren <tony@atomide.com>
  • Loading branch information
Tony Lindgren committed May 25, 2009
1 parent 23b7dd3 commit 8a424bb
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
9 changes: 6 additions & 3 deletions arch/arm/plat-omap/include/mach/entry-macro.S
Original file line number Diff line number Diff line change
Expand Up @@ -58,11 +58,14 @@
#endif
#if defined(CONFIG_ARCH_OMAP24XX) || defined(CONFIG_ARCH_OMAP34XX)

#if defined(CONFIG_ARCH_OMAP24XX)
#include <mach/omap24xx.h>
#endif
#if defined(CONFIG_ARCH_OMAP34XX)
#include <mach/omap34xx.h>

/* REVISIT: This should be set dynamically if CONFIG_MULTI_OMAP2 is selected */
#if defined(CONFIG_ARCH_OMAP2420) || defined(CONFIG_ARCH_OMAP2430)
#define OMAP2_VA_IC_BASE IO_ADDRESS(OMAP24XX_IC_BASE)
#elif defined(CONFIG_ARCH_OMAP34XX)
#define OMAP2_VA_IC_BASE IO_ADDRESS(OMAP34XX_IC_BASE)
#endif

#define INTCPS_SIR_IRQ_OFFSET 0x0040 /* Active interrupt offset */
Expand Down
2 changes: 0 additions & 2 deletions arch/arm/plat-omap/include/mach/omap24xx.h
Original file line number Diff line number Diff line change
Expand Up @@ -89,13 +89,11 @@

#define OMAP2_PRCM_BASE OMAP2420_PRCM_BASE
#define OMAP2_CM_BASE OMAP2420_CM_BASE
#define OMAP2_VA_IC_BASE IO_ADDRESS(OMAP24XX_IC_BASE)

#elif defined(CONFIG_ARCH_OMAP2430)

#define OMAP2_PRCM_BASE OMAP2430_PRCM_BASE
#define OMAP2_CM_BASE OMAP2430_CM_BASE
#define OMAP2_VA_IC_BASE IO_ADDRESS(OMAP24XX_IC_BASE)

#endif

Expand Down
1 change: 0 additions & 1 deletion arch/arm/plat-omap/include/mach/omap34xx.h
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,6 @@
#if defined(CONFIG_ARCH_OMAP3430)

#define OMAP2_CM_BASE OMAP3430_CM_BASE
#define OMAP2_VA_IC_BASE IO_ADDRESS(OMAP34XX_IC_BASE)

#endif

Expand Down

0 comments on commit 8a424bb

Please sign in to comment.