]> git.ipfire.org Git - thirdparty/u-boot.git/blame - include/configs/nsa310s.h
Convert CONFIG_SKIP_LOWLEVEL_INIT et al to Kconfig
[thirdparty/u-boot.git] / include / configs / nsa310s.h
CommitLineData
4ee73b00
TR
1/* SPDX-License-Identifier: GPL-2.0+ */
2/*
3a2f2983 3 * Copyright (C) 2015, 2021 Tony Dinh <mibodhi@gmail.com>
4ee73b00
TR
4 * Copyright (C) 2015
5 * Gerald Kerma <dreagle@doukki.net>
4ee73b00
TR
6 * Luka Perkov <luka.perkov@sartura.hr>
7 */
8
9#ifndef _CONFIG_NSA310S_H
10#define _CONFIG_NSA310S_H
11
12/* high level configuration options */
13#define CONFIG_FEROCEON_88FR131 1 /* CPU Core subversion */
14#define CONFIG_KW88F6192 1 /* SOC Name */
15#define CONFIG_KW88F6702 1 /* SOC Name */
4ee73b00
TR
16
17#include "mv-common.h"
18
19/* environment variables configuration */
20
21/* default environment variables */
22#define CONFIG_BOOTCOMMAND \
23 "setenv bootargs ${console} ${mtdparts} ${bootargs_root}; " \
24 "ubi part root; " \
25 "ubifsmount ubi:rootfs; " \
26 "ubifsload 0x800000 ${kernel}; " \
27 "ubifsload 0x700000 ${fdt}; " \
28 "ubifsumount; " \
29 "fdt addr 0x700000; fdt resize; fdt chosen; " \
30 "bootz 0x800000 - 0x700000"
31
32#define CONFIG_EXTRA_ENV_SETTINGS \
33 "console=console=ttyS0,115200\0" \
34 "mtdids=nand0=orion_nand\0" \
35 "mtdparts="CONFIG_MTDPARTS_DEFAULT \
36 "kernel=/boot/zImage\0" \
37 "fdt=/boot/nsa310s.dtb\0" \
38 "bootargs_root=ubi.mtd=3 root=ubi0:rootfs rootfstype=ubifs rw\0"
39
40/* Ethernet driver configuration */
41#ifdef CONFIG_CMD_NET
42#define CONFIG_MVGBE_PORTS {1, 0} /* enable port 0 only */
43#define CONFIG_PHY_BASE_ADR 1
44#define CONFIG_RESET_PHY_R
45#endif /* CONFIG_CMD_NET */
46
47/* SATA driver configuration */
3a2f2983
TD
48#ifdef CONFIG_SATA
49#define CONFIG_SYS_SATA_MAX_DEVICE 1
50#define CONFIG_LBA48
51#endif /* CONFIG_SATA */
4ee73b00
TR
52
53/* RTC driver configuration */
54#ifdef CONFIG_CMD_DATE
55#define CONFIG_RTC_MV
56#endif /* CONFIG_CMD_DATE */
57
58#endif /* _CONFIG_NSA310S_H */