Tom Rini | 10e4779 | 2018-05-06 17:58:06 -0400 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0+ */ |
David Purdy | 415d07e | 2012-03-27 16:01:09 +0000 | [diff] [blame] | 2 | /* |
| 3 | * Copyright (C) 2012 |
| 4 | * David Purdy <david.c.purdy@gmail.com> |
| 5 | * |
| 6 | * Based on Kirkwood support: |
| 7 | * (C) Copyright 2009 |
| 8 | * Marvell Semiconductor <www.marvell.com> |
| 9 | * Written-by: Prafulla Wadaskar <prafulla@marvell.com> |
David Purdy | 415d07e | 2012-03-27 16:01:09 +0000 | [diff] [blame] | 10 | */ |
| 11 | |
| 12 | #ifndef _CONFIG_POGO_E02_H |
| 13 | #define _CONFIG_POGO_E02_H |
| 14 | |
David Purdy | 415d07e | 2012-03-27 16:01:09 +0000 | [diff] [blame] | 15 | #include "mv-common.h" |
| 16 | |
David Purdy | 415d07e | 2012-03-27 16:01:09 +0000 | [diff] [blame] | 17 | /* |
| 18 | * Environment variables configurations |
| 19 | */ |
David Purdy | 415d07e | 2012-03-27 16:01:09 +0000 | [diff] [blame] | 20 | |
| 21 | /* |
| 22 | * Default environment variables |
| 23 | */ |
David Purdy | 415d07e | 2012-03-27 16:01:09 +0000 | [diff] [blame] | 24 | |
| 25 | #define CONFIG_EXTRA_ENV_SETTINGS \ |
| 26 | "mtdparts=mtdparts=orion_nand:1M(u-boot),4M(uImage)," \ |
| 27 | "32M(rootfs),-(data)\0"\ |
| 28 | "mtdids=nand0=orion_nand\0"\ |
| 29 | "bootargs_console=console=ttyS0,115200\0" \ |
| 30 | "bootcmd_usb=usb start; ext2load usb 0:1 0x00800000 /uImage; " \ |
| 31 | "ext2load usb 0:1 0x01100000 /uInitrd\0" |
| 32 | |
| 33 | /* |
| 34 | * Ethernet Driver configuration |
| 35 | */ |
| 36 | #ifdef CONFIG_CMD_NET |
| 37 | #define CONFIG_MVGBE_PORTS {1, 0} /* enable port 0 only */ |
| 38 | #define CONFIG_PHY_BASE_ADR 0 |
| 39 | #endif /* CONFIG_CMD_NET */ |
| 40 | |
| 41 | /* |
| 42 | * File system |
| 43 | */ |
David Purdy | 415d07e | 2012-03-27 16:01:09 +0000 | [diff] [blame] | 44 | |
| 45 | #endif /* _CONFIG_POGO_E02_H */ |