blob: ed3612415675e5553b34b20fc85855c8ba3c98fd [file] [log] [blame]
Heiko Schocher67fa8c22010-02-22 16:43:02 +05301/*
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 Brunck83b40c32011-06-16 18:11:15 +05309 * (C) Copyright 2011
10 * Holger Brunck, Keymile GmbH Hannover, holger.brunck@keymile.de
11 *
Heiko Schocher67fa8c22010-02-22 16:43:02 +053012 * 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 Brunck83b40c32011-06-16 18:11:15 +053036#ifndef _CONFIG_KM_KIRKWOOD_H
37#define _CONFIG_KM_KIRKWOOD_H
Heiko Schocher67fa8c22010-02-22 16:43:02 +053038
39/* include common defines/options for all arm based Keymile boards */
Valentin Longchamp264eaa02011-05-04 01:47:33 +000040#include "km/km_arm.h"
Heiko Schocher67fa8c22010-02-22 16:43:02 +053041
42/*
43 * Version number information
44 */
Holger Brunck83b40c32011-06-16 18:11:15 +053045#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 Schocher67fa8c22010-02-22 16:43:02 +053051
Holger Brunck83b40c32011-06-16 18:11:15 +053052#define CONFIG_HOSTNAME km_kirkwood
Heiko Schocher67fa8c22010-02-22 16:43:02 +053053
Heiko Schocher731b9682011-03-08 10:53:51 +010054#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 Brunckf0d64252011-09-13 22:41:05 +000057/* GPIO Pin from kirkwood connected to PROGRAM_B pin of the xilinx FPGA */
58#define KM_XLX_PROGRAM_B_PIN 39
59
Holger Brunck83b40c32011-06-16 18:11:15 +053060#endif /* _CONFIG_KM_KIRKWOOD */