|
@@ -21,3 +21,68 @@
|
|
*
|
|
*
|
|
* You should have received a copy of the GNU General Public License
|
|
* You should have received a copy of the GNU General Public License
|
|
* along with this program; if not, write to the Free Software
|
|
* along with this program; if not, write to the Free Software
|
|
|
|
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
|
|
|
+ *
|
|
|
|
+ */
|
|
|
|
+
|
|
|
|
+#include "omap24xx.h"
|
|
|
|
+#include "omap34xx.h"
|
|
|
|
+#include "omap44xx.h"
|
|
|
|
+#include "ti81xx.h"
|
|
|
|
+#include "am33xx.h"
|
|
|
|
+#include "omap54xx.h"
|
|
|
|
+
|
|
|
|
+#ifndef __ASSEMBLY__
|
|
|
|
+
|
|
|
|
+#include <linux/bitops.h>
|
|
|
|
+
|
|
|
|
+/*
|
|
|
|
+ * Test if multicore OMAP support is needed
|
|
|
|
+ */
|
|
|
|
+#undef MULTI_OMAP2
|
|
|
|
+#undef OMAP_NAME
|
|
|
|
+
|
|
|
|
+#ifdef CONFIG_SOC_OMAP2420
|
|
|
|
+# ifdef OMAP_NAME
|
|
|
|
+# undef MULTI_OMAP2
|
|
|
|
+# define MULTI_OMAP2
|
|
|
|
+# else
|
|
|
|
+# define OMAP_NAME omap2420
|
|
|
|
+# endif
|
|
|
|
+#endif
|
|
|
|
+#ifdef CONFIG_SOC_OMAP2430
|
|
|
|
+# ifdef OMAP_NAME
|
|
|
|
+# undef MULTI_OMAP2
|
|
|
|
+# define MULTI_OMAP2
|
|
|
|
+# else
|
|
|
|
+# define OMAP_NAME omap2430
|
|
|
|
+# endif
|
|
|
|
+#endif
|
|
|
|
+#ifdef CONFIG_ARCH_OMAP3
|
|
|
|
+# ifdef OMAP_NAME
|
|
|
|
+# undef MULTI_OMAP2
|
|
|
|
+# define MULTI_OMAP2
|
|
|
|
+# else
|
|
|
|
+# define OMAP_NAME omap3
|
|
|
|
+# endif
|
|
|
|
+#endif
|
|
|
|
+#ifdef CONFIG_ARCH_OMAP4
|
|
|
|
+# ifdef OMAP_NAME
|
|
|
|
+# undef MULTI_OMAP2
|
|
|
|
+# define MULTI_OMAP2
|
|
|
|
+# else
|
|
|
|
+# define OMAP_NAME omap4
|
|
|
|
+# endif
|
|
|
|
+#endif
|
|
|
|
+
|
|
|
|
+#ifdef CONFIG_SOC_OMAP5
|
|
|
|
+# ifdef OMAP_NAME
|
|
|
|
+# undef MULTI_OMAP2
|
|
|
|
+# define MULTI_OMAP2
|
|
|
|
+# else
|
|
|
|
+# define OMAP_NAME omap5
|
|
|
|
+# endif
|
|
|
|
+#endif
|
|
|
|
+
|
|
|
|
+#ifdef CONFIG_SOC_AM33XX
|
|
|
|
+# ifdef OMAP_NAME
|