1 /* SPDX-License-Identifier: GPL-2.0+ */
4 * Holger Brunck, Keymile GmbH Hannover, <holger.brunck@keymile.com>
5 * Christian Herzig, Keymile AG Switzerland, <christian.herzig@keymile.com>
11 #define NAND_MAX_CHIPS 1
12 #define CFG_SYS_NAND_BASE CFG_SYS_KMBEC_FPGA_BASE /* PRIO_BASE_ADDRESS */
14 /* include common defines/options for all Keymile boards */
15 #include "km/km-mpc83xx.h"
18 * KMCOGE5NE has 512 MB RAM
20 #define CFG_SYS_DDR_CS0_CONFIG (\
23 CSCONFIG_ODT_WR_ONLY_CURRENT | \
24 CSCONFIG_BANK_BIT_3 | \
25 CSCONFIG_ROW_BIT_13 | \
28 /* enable POST tests */
29 #define CFG_POST (CFG_SYS_POST_MEMORY|CFG_SYS_POST_MEM_REGIONS)
30 #define CFG_POST_EXTERNAL_WORD_FUNCS /* use own functions, not generic */
31 #define CPM_POST_WORD_ADDR CONFIG_SYS_MEMTEST_END
32 #define CFG_TESTPIN_REG gprt3 /* for kmcoge5ne */
33 #define CFG_TESTPIN_MASK 0x20 /* for kmcoge5ne */