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