Tom Rini | 299f8f8 | 2021-07-07 22:55:41 -0400 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0+ */ |
| 2 | /* |
Tony Dinh | 78b1963 | 2021-07-02 20:08:14 -0700 | [diff] [blame] | 3 | * Copyright (C) 2015, 2021 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 | |
| 14 | /* environment variables configuration */ |
| 15 | |
| 16 | /* default environment variables */ |
Tom Rini | 299f8f8 | 2021-07-07 22:55:41 -0400 | [diff] [blame] | 17 | |
| 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 Dinh | 78b1963 | 2021-07-02 20:08:14 -0700 | [diff] [blame] | 34 | #ifdef CONFIG_SATA |
Tony Dinh | 78b1963 | 2021-07-02 20:08:14 -0700 | [diff] [blame] | 35 | #define CONFIG_LBA48 |
| 36 | #endif /* CONFIG_SATA */ |
Tom Rini | 299f8f8 | 2021-07-07 22:55:41 -0400 | [diff] [blame] | 37 | |
Tom Rini | 299f8f8 | 2021-07-07 22:55:41 -0400 | [diff] [blame] | 38 | #endif /* _CONFIG_NSA310S_H */ |