2 * Support for compiling in multiple OMAP processors
4 * Copyright (C) 2010 Nokia Corporation
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; either version 2 of the License, or
9 * (at your option) any later version.
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
16 * You should have received a copy of the GNU General Public License
17 * along with this program; if not, write to the Free Software
18 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
22 #ifndef __PLAT_OMAP_MULTI_H
23 #define __PLAT_OMAP_MULTI_H
26 * Test if multicore OMAP support is needed
32 #ifdef CONFIG_ARCH_OMAP730
37 # define OMAP_NAME omap730
40 #ifdef CONFIG_ARCH_OMAP850
45 # define OMAP_NAME omap850
48 #ifdef CONFIG_ARCH_OMAP15XX
53 # define OMAP_NAME omap1510
56 #ifdef CONFIG_ARCH_OMAP16XX
61 # define OMAP_NAME omap16xx
64 #ifdef CONFIG_ARCH_OMAP2PLUS
65 # if (defined(OMAP_NAME) || defined(MULTI_OMAP1))
66 # error "OMAP1 and OMAP2PLUS can't be selected at the same time"
69 #ifdef CONFIG_SOC_OMAP2420
74 # define OMAP_NAME omap2420
77 #ifdef CONFIG_SOC_OMAP2430
82 # define OMAP_NAME omap2430
85 #ifdef CONFIG_ARCH_OMAP3
90 # define OMAP_NAME omap3
93 #ifdef CONFIG_ARCH_OMAP4
98 # define OMAP_NAME omap4
102 #endif /* __PLAT_OMAP_MULTI_H */