Tom Rini | 10e4779 | 2018-05-06 17:58:06 -0400 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0+ */ |
Holger Brunck | 3bf8b98 | 2012-03-21 13:42:46 +0100 | [diff] [blame] | 2 | /* |
| 3 | * (C) Copyright 2012 |
| 4 | * Holger Brunck, Keymile GmbH Hannover, <holger.brunck@keymile.com> |
| 5 | * Christian Herzig, Keymile AG Switzerland, <christian.herzig@keymile.com> |
Holger Brunck | 3bf8b98 | 2012-03-21 13:42:46 +0100 | [diff] [blame] | 6 | */ |
| 7 | |
| 8 | #ifndef __CONFIG_H |
| 9 | #define __CONFIG_H |
| 10 | |
Mario Six | 790d844 | 2018-03-28 14:38:20 +0200 | [diff] [blame] | 11 | #define CONFIG_HOSTNAME "kmeter1" |
Holger Brunck | 3bf8b98 | 2012-03-21 13:42:46 +0100 | [diff] [blame] | 12 | #define CONFIG_KM_BOARD_NAME "kmeter1" |
| 13 | #define CONFIG_KM_DEF_NETDEV "netdev=eth2\0" |
Holger Brunck | 3bf8b98 | 2012-03-21 13:42:46 +0100 | [diff] [blame] | 14 | |
Mario Six | cb791a8 | 2019-01-21 09:17:34 +0100 | [diff] [blame] | 15 | /* include common defines/options for all Keymile boards */ |
| 16 | #include "km/keymile-common.h" |
| 17 | #include "km/km-powerpc.h" |
Mario Six | 3e67cb2 | 2019-01-21 09:18:23 +0100 | [diff] [blame] | 18 | #include "km/km-mpc83xx.h" |
| 19 | #include "km/km-mpc8360.h" |
Mario Six | cb791a8 | 2019-01-21 09:17:34 +0100 | [diff] [blame] | 20 | |
| 21 | /* |
Mario Six | cb791a8 | 2019-01-21 09:17:34 +0100 | [diff] [blame] | 22 | * Serial Port |
| 23 | */ |
Mario Six | 92e20d9 | 2019-01-21 09:17:35 +0100 | [diff] [blame] | 24 | #define CONFIG_CONS_INDEX 1 |
Holger Brunck | 3bf8b98 | 2012-03-21 13:42:46 +0100 | [diff] [blame] | 25 | |
Holger Brunck | 3bf8b98 | 2012-03-21 13:42:46 +0100 | [diff] [blame] | 26 | #define CONFIG_SYS_DDR_CS0_CONFIG (CSCONFIG_EN | CSCONFIG_AP | \ |
| 27 | CSCONFIG_ROW_BIT_13 | \ |
| 28 | CSCONFIG_COL_BIT_10 | \ |
Valentin Longchamp | 9c36b47 | 2015-11-17 10:53:33 +0100 | [diff] [blame] | 29 | CSCONFIG_ODT_WR_ONLY_CURRENT) |
Holger Brunck | 3bf8b98 | 2012-03-21 13:42:46 +0100 | [diff] [blame] | 30 | #endif /* CONFIG */ |