blob: 1e6b8d8b0e730697112bee942dac6dc2fb96602b [file] [log] [blame]
Tom Rini299f8f82021-07-07 22:55:41 -04001/* SPDX-License-Identifier: GPL-2.0+ */
2/*
Tony Dinh64eb7492022-04-17 13:42:42 -07003 * Copyright (C) 2015, 2021-2022 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
Tom Rini299f8f82021-07-07 22:55:41 -040014/* default environment variables */
Tom Rini299f8f82021-07-07 22:55:41 -040015
16#define CONFIG_EXTRA_ENV_SETTINGS \
17 "console=console=ttyS0,115200\0" \
18 "mtdids=nand0=orion_nand\0" \
19 "mtdparts="CONFIG_MTDPARTS_DEFAULT \
20 "kernel=/boot/zImage\0" \
21 "fdt=/boot/nsa310s.dtb\0" \
22 "bootargs_root=ubi.mtd=3 root=ubi0:rootfs rootfstype=ubifs rw\0"
23
24/* Ethernet driver configuration */
Tom Rini299f8f82021-07-07 22:55:41 -040025#define CONFIG_MVGBE_PORTS {1, 0} /* enable port 0 only */
26#define CONFIG_PHY_BASE_ADR 1
Tom Rini299f8f82021-07-07 22:55:41 -040027
Tony Dinh64eb7492022-04-17 13:42:42 -070028/* Support large HDDs for USB and SATA */
Tony Dinh78b19632021-07-02 20:08:14 -070029#define CONFIG_LBA48
Tony Dinh64eb7492022-04-17 13:42:42 -070030#define CONFIG_SYS_64BIT_LBA
Tom Rini299f8f82021-07-07 22:55:41 -040031
Tom Rini299f8f82021-07-07 22:55:41 -040032#endif /* _CONFIG_NSA310S_H */