Tom Rini | 299f8f8 | 2021-07-07 22:55:41 -0400 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0+ */ |
| 2 | /* |
Tony Dinh | 64eb749 | 2022-04-17 13:42:42 -0700 | [diff] [blame] | 3 | * Copyright (C) 2015, 2021-2022 Tony Dinh <mibodhi@gmail.com> |
Tom Rini | 299f8f8 | 2021-07-07 22:55:41 -0400 | [diff] [blame] | 4 | * Copyright (C) 2015 |
| 5 | * Gerald Kerma <dreagle@doukki.net> |
Tom Rini | 299f8f8 | 2021-07-07 22:55:41 -0400 | [diff] [blame] | 6 | * Luka Perkov <luka.perkov@sartura.hr> |
| 7 | */ |
| 8 | |
| 9 | #ifndef _CONFIG_NSA310S_H |
| 10 | #define _CONFIG_NSA310S_H |
| 11 | |
Tom Rini | 299f8f8 | 2021-07-07 22:55:41 -0400 | [diff] [blame] | 12 | #include "mv-common.h" |
| 13 | |
Tom Rini | 299f8f8 | 2021-07-07 22:55:41 -0400 | [diff] [blame] | 14 | /* default environment variables */ |
Tom Rini | 299f8f8 | 2021-07-07 22:55:41 -0400 | [diff] [blame] | 15 | |
| 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 Rini | 299f8f8 | 2021-07-07 22:55:41 -0400 | [diff] [blame] | 25 | #define CONFIG_MVGBE_PORTS {1, 0} /* enable port 0 only */ |
| 26 | #define CONFIG_PHY_BASE_ADR 1 |
Tom Rini | 299f8f8 | 2021-07-07 22:55:41 -0400 | [diff] [blame] | 27 | |
Tony Dinh | 64eb749 | 2022-04-17 13:42:42 -0700 | [diff] [blame] | 28 | /* Support large HDDs for USB and SATA */ |
Tony Dinh | 78b1963 | 2021-07-02 20:08:14 -0700 | [diff] [blame] | 29 | #define CONFIG_LBA48 |
Tony Dinh | 64eb749 | 2022-04-17 13:42:42 -0700 | [diff] [blame] | 30 | #define CONFIG_SYS_64BIT_LBA |
Tom Rini | 299f8f8 | 2021-07-07 22:55:41 -0400 | [diff] [blame] | 31 | |
Tom Rini | 299f8f8 | 2021-07-07 22:55:41 -0400 | [diff] [blame] | 32 | #endif /* _CONFIG_NSA310S_H */ |