Chris Packham | 199e318 | 2019-04-11 22:22:53 +1200 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0+ */ |
| 2 | /* |
| 3 | * Copyright (C) 2014 Stefan Roese <sr@denx.de> |
| 4 | */ |
| 5 | |
| 6 | #ifndef _CONFIG_DB_XC3_24G4G_H |
| 7 | #define _CONFIG_DB_XC3_24G4G_H |
| 8 | |
| 9 | /* |
| 10 | * High Level Configuration Options (easy to change) |
| 11 | */ |
| 12 | |
| 13 | #define CONFIG_SYS_KWD_CONFIG $(CONFIG_BOARDDIR)/kwbimage.cfg |
| 14 | #define CONFIG_SYS_TCLK 200000000 /* 200MHz */ |
| 15 | |
| 16 | /* USB/EHCI configuration */ |
| 17 | #define CONFIG_EHCI_IS_TDI |
| 18 | |
| 19 | /* Environment in SPI NOR flash */ |
| 20 | #define CONFIG_ENV_OFFSET (1 << 20) /* 1MiB in */ |
| 21 | #define CONFIG_ENV_SIZE (64 << 10) /* 64KiB */ |
| 22 | #define CONFIG_ENV_SECT_SIZE (256 << 10) /* 256KiB sectors */ |
| 23 | |
| 24 | /* NAND */ |
Chris Packham | 199e318 | 2019-04-11 22:22:53 +1200 | [diff] [blame] | 25 | #define CONFIG_SYS_NAND_ONFI_DETECTION |
| 26 | |
| 27 | /* Keep device tree and initrd in lower memory so the kernel can access them */ |
| 28 | #define CONFIG_EXTRA_ENV_SETTINGS \ |
| 29 | "fdt_high=0x10000000\0" \ |
| 30 | "initrd_high=0x10000000\0" |
| 31 | |
| 32 | /* |
| 33 | * mv-common.h should be defined after CMD configs since it used them |
| 34 | * to enable certain macros |
| 35 | */ |
| 36 | #include "mv-common.h" |
| 37 | #undef CONFIG_SYS_MAXARGS |
| 38 | #define CONFIG_SYS_MAXARGS 96 |
| 39 | |
| 40 | #endif /* _CONFIG_DB_XC3_24G4G_H */ |