Heiko Schocher | 67fa8c2 | 2010-02-22 16:43:02 +0530 | [diff] [blame] | 1 | /* |
| 2 | * (C) Copyright 2009 |
| 3 | * Marvell Semiconductor <www.marvell.com> |
| 4 | * Prafulla Wadaskar <prafulla@marvell.com> |
| 5 | * |
| 6 | * (C) Copyright 2009 |
| 7 | * Stefan Roese, DENX Software Engineering, sr@denx.de. |
| 8 | * |
Holger Brunck | 83b40c3 | 2011-06-16 18:11:15 +0530 | [diff] [blame] | 9 | * (C) Copyright 2011 |
| 10 | * Holger Brunck, Keymile GmbH Hannover, holger.brunck@keymile.de |
| 11 | * |
Heiko Schocher | 67fa8c2 | 2010-02-22 16:43:02 +0530 | [diff] [blame] | 12 | * See file CREDITS for list of people who contributed to this |
| 13 | * project. |
| 14 | * |
| 15 | * This program is free software; you can redistribute it and/or |
| 16 | * modify it under the terms of the GNU General Public License as |
| 17 | * published by the Free Software Foundation; either version 2 of |
| 18 | * the License, or (at your option) any later version. |
| 19 | * |
| 20 | * This program is distributed in the hope that it will be useful, |
| 21 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 22 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 23 | * GNU General Public License for more details. |
| 24 | * |
| 25 | * You should have received a copy of the GNU General Public License |
| 26 | * along with this program; if not, write to the Free Software |
| 27 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, |
| 28 | * MA 02110-1301 USA |
| 29 | */ |
| 30 | |
| 31 | /* |
| 32 | * for linking errors see |
| 33 | * http://lists.denx.de/pipermail/u-boot/2009-July/057350.html |
| 34 | */ |
| 35 | |
Holger Brunck | 83b40c3 | 2011-06-16 18:11:15 +0530 | [diff] [blame] | 36 | #ifndef _CONFIG_KM_KIRKWOOD_H |
| 37 | #define _CONFIG_KM_KIRKWOOD_H |
Heiko Schocher | 67fa8c2 | 2010-02-22 16:43:02 +0530 | [diff] [blame] | 38 | |
| 39 | /* include common defines/options for all arm based Keymile boards */ |
Valentin Longchamp | 264eaa0 | 2011-05-04 01:47:33 +0000 | [diff] [blame] | 40 | #include "km/km_arm.h" |
Heiko Schocher | 67fa8c2 | 2010-02-22 16:43:02 +0530 | [diff] [blame] | 41 | |
| 42 | /* |
| 43 | * Version number information |
| 44 | */ |
Holger Brunck | 83b40c3 | 2011-06-16 18:11:15 +0530 | [diff] [blame] | 45 | #ifdef CONFIG_KM_DISABLE_PCI |
| 46 | #define CONFIG_IDENT_STRING "\nKeymile Kirkwood" |
| 47 | #undef CONFIG_KIRKWOOD_PCIE_INIT |
| 48 | #else |
| 49 | #define CONFIG_IDENT_STRING "\nKeymile Kirkwood PCI" |
| 50 | #endif |
Heiko Schocher | 67fa8c2 | 2010-02-22 16:43:02 +0530 | [diff] [blame] | 51 | |
Holger Brunck | 83b40c3 | 2011-06-16 18:11:15 +0530 | [diff] [blame] | 52 | #define CONFIG_HOSTNAME km_kirkwood |
Heiko Schocher | 67fa8c2 | 2010-02-22 16:43:02 +0530 | [diff] [blame] | 53 | |
Heiko Schocher | 731b968 | 2011-03-08 10:53:51 +0100 | [diff] [blame] | 54 | #define KM_IVM_BUS "pca9544a:70:9" /* I2C2 (Mux-Port 1)*/ |
| 55 | #define KM_ENV_BUS "pca9544a:70:d" /* I2C2 (Mux-Port 5)*/ |
| 56 | |
Holger Brunck | f0d6425 | 2011-09-13 22:41:05 +0000 | [diff] [blame] | 57 | /* GPIO Pin from kirkwood connected to PROGRAM_B pin of the xilinx FPGA */ |
| 58 | #define KM_XLX_PROGRAM_B_PIN 39 |
| 59 | |
Holger Brunck | 83b40c3 | 2011-06-16 18:11:15 +0530 | [diff] [blame] | 60 | #endif /* _CONFIG_KM_KIRKWOOD */ |