blob: ccf4519119a4973ea8e7d8d2e90bbf397d8a9c05 [file] [log] [blame]
Tom Rini299f8f82021-07-07 22:55:41 -04001/* SPDX-License-Identifier: GPL-2.0+ */
2/*
Tony Dinh78b19632021-07-02 20:08:14 -07003 * Copyright (C) 2015, 2021 Tony Dinh <mibodhi@gmail.com>
Tom Rini299f8f82021-07-07 22:55:41 -04004 * Copyright (C) 2015
5 * Gerald Kerma <dreagle@doukki.net>
Tom Rini299f8f82021-07-07 22:55:41 -04006 * Luka Perkov <luka.perkov@sartura.hr>
7 */
8
9#ifndef _CONFIG_NSA310S_H
10#define _CONFIG_NSA310S_H
11
Tom Rini299f8f82021-07-07 22:55:41 -040012#include "mv-common.h"
13
14/* environment variables configuration */
15
16/* default environment variables */
Tom Rini299f8f82021-07-07 22:55:41 -040017
18#define CONFIG_EXTRA_ENV_SETTINGS \
19 "console=console=ttyS0,115200\0" \
20 "mtdids=nand0=orion_nand\0" \
21 "mtdparts="CONFIG_MTDPARTS_DEFAULT \
22 "kernel=/boot/zImage\0" \
23 "fdt=/boot/nsa310s.dtb\0" \
24 "bootargs_root=ubi.mtd=3 root=ubi0:rootfs rootfstype=ubifs rw\0"
25
26/* Ethernet driver configuration */
27#ifdef CONFIG_CMD_NET
28#define CONFIG_MVGBE_PORTS {1, 0} /* enable port 0 only */
29#define CONFIG_PHY_BASE_ADR 1
30#define CONFIG_RESET_PHY_R
31#endif /* CONFIG_CMD_NET */
32
33/* SATA driver configuration */
Tony Dinh78b19632021-07-02 20:08:14 -070034#ifdef CONFIG_SATA
Tony Dinh78b19632021-07-02 20:08:14 -070035#define CONFIG_LBA48
36#endif /* CONFIG_SATA */
Tom Rini299f8f82021-07-07 22:55:41 -040037
Tom Rini299f8f82021-07-07 22:55:41 -040038#endif /* _CONFIG_NSA310S_H */