1 /* SPDX-License-Identifier: GPL-2.0+ */
4 * David Purdy <david.c.purdy@gmail.com>
6 * Based on Kirkwood support:
8 * Marvell Semiconductor <www.marvell.com>
9 * Written-by: Prafulla Wadaskar <prafulla@marvell.com>
12 #ifndef _CONFIG_POGO_E02_H
13 #define _CONFIG_POGO_E02_H
16 * Machine type definition and ID
18 #define CONFIG_MACH_TYPE MACH_TYPE_POGO_E02
21 * High Level Configuration Options (easy to change)
23 #define CONFIG_FEROCEON_88FR131 /* CPU Core subversion */
24 #define CONFIG_KW88F6281 /* SOC Name */
25 #define CONFIG_SKIP_LOWLEVEL_INIT /* disable board lowlevel_init */
28 * Commands configuration
30 #define CONFIG_MTD_DEVICE /* needed for mtdparts commands */
31 #define CONFIG_MTD_PARTITIONS
34 * mv-common.h should be defined after CMD configs since it used them
35 * to enable certain macros
37 #include "mv-common.h"
40 * Environment variables configurations
42 #ifdef CONFIG_CMD_NAND
43 #define CONFIG_ENV_SECT_SIZE 0x20000 /* 128K */
46 #define CONFIG_ENV_SIZE 0x20000 /* 128k */
47 #define CONFIG_ENV_OFFSET 0x60000 /* env starts here */
50 * Default environment variables
52 #define CONFIG_BOOTCOMMAND \
53 "setenv bootargs $(bootargs_console); " \
55 "bootm 0x00800000 0x01100000"
57 #define CONFIG_EXTRA_ENV_SETTINGS \
58 "mtdparts=mtdparts=orion_nand:1M(u-boot),4M(uImage)," \
59 "32M(rootfs),-(data)\0"\
60 "mtdids=nand0=orion_nand\0"\
61 "bootargs_console=console=ttyS0,115200\0" \
62 "bootcmd_usb=usb start; ext2load usb 0:1 0x00800000 /uImage; " \
63 "ext2load usb 0:1 0x01100000 /uInitrd\0"
66 * Ethernet Driver configuration
69 #define CONFIG_MVGBE_PORTS {1, 0} /* enable port 0 only */
70 #define CONFIG_PHY_BASE_ADR 0
71 #endif /* CONFIG_CMD_NET */
76 #define CONFIG_MTD_DEVICE /* needed for mtdparts commands */
77 #define CONFIG_MTD_PARTITIONS
79 #endif /* _CONFIG_POGO_E02_H */