]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - arch/arm/mach-omap2/id.c
Fixed booting omap2 again
[linux-2.6-omap-h63xx.git] / arch / arm / mach-omap2 / id.c
index 76187300f2b684b72804b2de42e0b960a2c51605..4dfd878d796841e43cd8e16cad6bb793aeabeb4c 100644 (file)
  * published by the Free Software Foundation.
  */
 
-#include <linux/config.h>
 #include <linux/module.h>
 #include <linux/kernel.h>
 #include <linux/init.h>
 
 #include <asm/io.h>
 
+#if defined(CONFIG_ARCH_OMAP2420)
 #define OMAP24XX_TAP_BASE      io_p2v(0x48014000)
+#endif
+
+#if defined(CONFIG_ARCH_OMAP2430)
+#define OMAP24XX_TAP_BASE      io_p2v(0x4900A000)
+#endif
 
 #define OMAP_TAP_IDCODE                0x0204
 #define OMAP_TAP_PROD_ID       0x0208