blob: a2df69adc77955dd9fab7d9bbd5f46402375449e [file] [log] [blame]
Luka Kovacic22bb9132019-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
Luka Kovacic79454362019-06-25 13:57:53 +020013#define CONFIG_SYS_BOOTM_LEN (64 * 1024 * 1024) /* 64 MB */
Luka Kovacic22bb9132019-05-07 19:35:55 +020014#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 */