Prafulla Wadaskar | c291e2f | 2010-11-29 17:01:27 +0530 | [diff] [blame] | 1 | /* |
| 2 | * (C) Copyright 2010 |
| 3 | * Marvell Semiconductor <www.marvell.com> |
| 4 | * Written-by: Prafulla Wadaskar <prafulla@marvell.com> |
| 5 | * Contributor: Mahavir Jain <mjain@marvell.com> |
| 6 | * |
| 7 | * See file CREDITS for list of people who contributed to this |
| 8 | * project. |
| 9 | * |
| 10 | * This program is free software; you can redistribute it and/or |
| 11 | * modify it under the terms of the GNU General Public License as |
| 12 | * published by the Free Software Foundation; either version 2 of |
| 13 | * the License, or (at your option) any later version. |
| 14 | * |
| 15 | * This program is distributed in the hope that it will be useful, |
| 16 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 17 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 18 | * GNU General Public License for more details. |
| 19 | * |
| 20 | * You should have received a copy of the GNU General Public License |
| 21 | * along with this program; if not, write to the Free Software |
| 22 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, |
| 23 | * MA 02110-1301 USA |
| 24 | */ |
| 25 | |
| 26 | #ifndef __CONFIG_ASPENITE_H |
| 27 | #define __CONFIG_ASPENITE_H |
| 28 | |
| 29 | /* |
| 30 | * Version number information |
| 31 | */ |
| 32 | #define CONFIG_IDENT_STRING "\nMarvell-Aspenite DB" |
| 33 | |
| 34 | /* |
| 35 | * High Level Configuration Options |
| 36 | */ |
| 37 | #define CONFIG_SHEEVA_88SV331xV5 1 /* CPU Core subversion */ |
| 38 | #define CONFIG_ARMADA100 1 /* SOC Family Name */ |
| 39 | #define CONFIG_ARMADA168 1 /* SOC Used on this Board */ |
| 40 | #define CONFIG_MACH_ASPENITE /* Machine type */ |
| 41 | #define CONFIG_SKIP_LOWLEVEL_INIT /* disable board lowlevel_init */ |
| 42 | |
| 43 | /* |
Lei Wen | cf946c6 | 2011-02-09 18:06:58 +0530 | [diff] [blame] | 44 | * There is no internal RAM in ARMADA100, using DRAM |
| 45 | * TBD: dcache to be used for this |
| 46 | */ |
| 47 | #define CONFIG_SYS_INIT_SP_ADDR (CONFIG_SYS_TEXT_BASE - 0x00200000) |
| 48 | #define CONFIG_NR_DRAM_BANKS_MAX 2 |
| 49 | |
| 50 | /* |
Prafulla Wadaskar | c291e2f | 2010-11-29 17:01:27 +0530 | [diff] [blame] | 51 | * Commands configuration |
| 52 | */ |
| 53 | #define CONFIG_SYS_NO_FLASH /* Declare no flash (NOR/SPI) */ |
| 54 | #include <config_cmd_default.h> |
Lei Wen | 81a9ab2 | 2011-04-13 23:48:44 +0530 | [diff] [blame] | 55 | #define CONFIG_CMD_I2C |
Prafulla Wadaskar | c291e2f | 2010-11-29 17:01:27 +0530 | [diff] [blame] | 56 | #undef CONFIG_CMD_NET |
| 57 | #undef CONFIG_CMD_NFS |
| 58 | /* |
| 59 | * mv-common.h should be defined after CMD configs since it used them |
| 60 | * to enable certain macros |
| 61 | */ |
| 62 | #include "mv-common.h" |
Lei Wen | cf946c6 | 2011-02-09 18:06:58 +0530 | [diff] [blame] | 63 | #undef CONFIG_ARCH_MISC_INIT |
Prafulla Wadaskar | c291e2f | 2010-11-29 17:01:27 +0530 | [diff] [blame] | 64 | |
| 65 | /* |
| 66 | * Environment variables configurations |
| 67 | */ |
| 68 | #define CONFIG_ENV_IS_NOWHERE 1 /* if env in SDRAM */ |
| 69 | #define CONFIG_ENV_SIZE 0x20000 /* 64k */ |
| 70 | |
| 71 | #endif /* __CONFIG_ASPENITE_H */ |