blob: c73cb99b1b643942df306a721e68b4c19dd86433 [file] [log] [blame]
Luka Kovacicb686e222019-05-07 19:35:55 +02001/* 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
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/* Keep device tree and initrd in lower memory so the kernel can access them */
25#define CONFIG_EXTRA_ENV_SETTINGS \
26 "fdt_high=0x10000000\0" \
27 "initrd_high=0x10000000\0"
28
29/*
30 * mv-common.h should be defined after CMD configs since it used them
31 * to enable certain macros
32 */
33#include "mv-common.h"
34#undef CONFIG_SYS_MAXARGS
35#define CONFIG_SYS_MAXARGS 96
36
37#endif /* _CONFIG_CRS305_1G_4S_H */