blob: f49bcfb6a2188285c2b6b0276a66e301cd7dd9f6 [file] [log] [blame]
Tom Rini10e47792018-05-06 17:58:06 -04001/* SPDX-License-Identifier: GPL-2.0+ */
David Purdy415d07e2012-03-27 16:01:09 +00002/*
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 Purdy415d07e2012-03-27 16:01:09 +000010 */
11
12#ifndef _CONFIG_POGO_E02_H
13#define _CONFIG_POGO_E02_H
14
15/*
David Purdy415d07e2012-03-27 16:01:09 +000016 * High Level Configuration Options (easy to change)
17 */
18#define CONFIG_FEROCEON_88FR131 /* CPU Core subversion */
David Purdy415d07e2012-03-27 16:01:09 +000019#define CONFIG_KW88F6281 /* SOC Name */
David Purdy415d07e2012-03-27 16:01:09 +000020
David Purdy415d07e2012-03-27 16:01:09 +000021#include "mv-common.h"
22
David Purdy415d07e2012-03-27 16:01:09 +000023/*
24 * Environment variables configurations
25 */
David Purdy415d07e2012-03-27 16:01:09 +000026
27/*
28 * Default environment variables
29 */
30#define CONFIG_BOOTCOMMAND \
31 "setenv bootargs $(bootargs_console); " \
32 "run bootcmd_usb; " \
33 "bootm 0x00800000 0x01100000"
34
35#define CONFIG_EXTRA_ENV_SETTINGS \
36 "mtdparts=mtdparts=orion_nand:1M(u-boot),4M(uImage)," \
37 "32M(rootfs),-(data)\0"\
38 "mtdids=nand0=orion_nand\0"\
39 "bootargs_console=console=ttyS0,115200\0" \
40 "bootcmd_usb=usb start; ext2load usb 0:1 0x00800000 /uImage; " \
41 "ext2load usb 0:1 0x01100000 /uInitrd\0"
42
43/*
44 * Ethernet Driver configuration
45 */
46#ifdef CONFIG_CMD_NET
47#define CONFIG_MVGBE_PORTS {1, 0} /* enable port 0 only */
48#define CONFIG_PHY_BASE_ADR 0
49#endif /* CONFIG_CMD_NET */
50
51/*
52 * File system
53 */
David Purdy415d07e2012-03-27 16:01:09 +000054
55#endif /* _CONFIG_POGO_E02_H */