summaryrefslogtreecommitdiffstats
path: root/arch/arm/plat-aspeed/include/plat/aspeed.h
blob: 4f7c2400d0ce62d788aaa3640e2c04e14d5864db (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
/*
 *  arch/arm/plat-aspeed/include/plat/aspeed.h
 *
 *  Copyright (C) 2012-2020  ASPEED Technology Inc.
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 2 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 */

#if defined(CONFIG_ARCH_AST3200) || defined(CONFIG_ARCH_AST2500) || defined(CONFIG_ARCH_AST1520)
#define AST_SOC_G5
#define NEW_VIC
#define SRAM_SIZE 		SZ_32K
#elif defined(CONFIG_ARCH_AST1400) || defined(CONFIG_ARCH_AST2400) || defined(CONFIG_ARCH_AST3100)
#define AST_SOC_G4
#define NEW_VIC
#define SRAM_SIZE 		SZ_32K
#elif defined(CONFIG_ARCH_AST1300) || defined(CONFIG_ARCH_AST2300) || defined(CONFIG_ARCH_AST1510)
#define AST_SOC_G3
#define NEW_VIC
#define SRAM_SIZE 		SZ_16K
#elif defined(CONFIG_ARCH_AST2150) || defined(CONFIG_ARCH_AST2200)
#define AST_SOC_G2_5
#elif defined(CONFIG_ARCH_AST1100) || defined(CONFIG_ARCH_AST2050) || defined(CONFIG_ARCH_AST2100)
#define AST_SOC_G2
#elif defined(CONFIG_ARCH_AST2000) || defined(CONFIG_ARCH_AST1000)
#define AST_SOC_G1
#else
#error "Not define SoC generation"
#endif



OpenPOWER on IntegriCloud