Mario Six | 5590b15 | 2019-01-21 09:17:30 +0100 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0+ */ |
| 2 | /* |
| 3 | * Copyright (C) 2006 Freescale Semiconductor, Inc. |
| 4 | * Dave Liu <daveliu@freescale.com> |
| 5 | * |
| 6 | * Copyright (C) 2007 Logic Product Development, Inc. |
| 7 | * Peter Barada <peterb@logicpd.com> |
| 8 | * |
| 9 | * Copyright (C) 2007 MontaVista Software, Inc. |
| 10 | * Anton Vorontsov <avorontsov@ru.mvista.com> |
| 11 | * |
| 12 | * (C) Copyright 2010 |
| 13 | * Heiko Schocher, DENX Software Engineering, hs@denx.de. |
| 14 | */ |
| 15 | |
| 16 | #ifndef __CONFIG_H |
| 17 | #define __CONFIG_H |
| 18 | |
| 19 | /* |
| 20 | * High Level Configuration Options |
| 21 | */ |
| 22 | |
Mario Six | 5590b15 | 2019-01-21 09:17:30 +0100 | [diff] [blame] | 23 | #define CONFIG_HOSTNAME "kmtegr1" |
| 24 | #define CONFIG_KM_BOARD_NAME "kmtegr1" |
| 25 | #define CONFIG_KM_UBI_PARTITION_NAME_BOOT "ubi0" |
| 26 | #define CONFIG_KM_UBI_PARTITION_NAME_APP "ubi1" |
| 27 | |
| 28 | #define CONFIG_ENV_ADDR 0xF0100000 |
| 29 | #define CONFIG_ENV_OFFSET 0x100000 |
| 30 | |
| 31 | #define CONFIG_NAND_ECC_BCH |
| 32 | #define CONFIG_NAND_KMETER1 |
| 33 | #define CONFIG_SYS_MAX_NAND_DEVICE 1 |
| 34 | #define NAND_MAX_CHIPS 1 |
| 35 | |
Mario Six | cb791a8 | 2019-01-21 09:17:34 +0100 | [diff] [blame] | 36 | /* include common defines/options for all Keymile boards */ |
| 37 | #include "km/keymile-common.h" |
| 38 | #include "km/km-powerpc.h" |
Mario Six | 3e67cb2 | 2019-01-21 09:18:23 +0100 | [diff] [blame] | 39 | #include "km/km-mpc83xx.h" |
| 40 | #include "km/km-mpc8309.h" |
Mario Six | d656e78 | 2019-01-21 09:17:32 +0100 | [diff] [blame] | 41 | |
Mario Six | 5590b15 | 2019-01-21 09:17:30 +0100 | [diff] [blame] | 42 | /* must be after the include because KMBEC_FPGA is otherwise undefined */ |
| 43 | #define CONFIG_SYS_NAND_BASE CONFIG_SYS_KMBEC_FPGA_BASE /* PRIO_BASE_ADDRESS */ |
| 44 | |
Mario Six | 5590b15 | 2019-01-21 09:17:30 +0100 | [diff] [blame] | 45 | #endif /* __CONFIG_H */ |