3 * David Purdy <david.c.purdy@gmail.com>
5 * Based on Kirkwood support:
7 * Marvell Semiconductor <www.marvell.com>
8 * Written-by: Prafulla Wadaskar <prafulla@marvell.com>
10 * SPDX-License-Identifier: GPL-2.0+
13 #ifndef _CONFIG_POGO_E02_H
14 #define _CONFIG_POGO_E02_H
16 #define CONFIG_SYS_GENERIC_BOARD
19 * Machine type definition and ID
21 #define MACH_TYPE_POGO_E02 3542
22 #define CONFIG_MACH_TYPE MACH_TYPE_POGO_E02
23 #define CONFIG_IDENT_STRING "\nPogo E02"
26 * High Level Configuration Options (easy to change)
28 #define CONFIG_FEROCEON_88FR131 /* CPU Core subversion */
29 #define CONFIG_KW88F6281 /* SOC Name */
30 #define CONFIG_SKIP_LOWLEVEL_INIT /* disable board lowlevel_init */
33 * Commands configuration
35 #define CONFIG_SYS_NO_FLASH /* Declare no flash (NOR/SPI) */
36 #define CONFIG_SYS_MVFS
37 #define CONFIG_CMD_DHCP
38 #define CONFIG_CMD_ENV
39 #define CONFIG_CMD_MII
40 #define CONFIG_CMD_NAND
41 #define CONFIG_CMD_PING
42 #define CONFIG_CMD_USB
45 * mv-common.h should be defined after CMD configs since it used them
46 * to enable certain macros
48 #include "mv-common.h"
51 * Environment variables configurations
53 #ifdef CONFIG_CMD_NAND
54 #define CONFIG_ENV_IS_IN_NAND
55 #define CONFIG_ENV_SECT_SIZE 0x20000 /* 128K */
57 #define CONFIG_ENV_IS_NOWHERE
60 #define CONFIG_ENV_SIZE 0x20000 /* 128k */
61 #define CONFIG_ENV_OFFSET 0x60000 /* env starts here */
64 * Default environment variables
66 #define CONFIG_BOOTCOMMAND \
67 "setenv bootargs $(bootargs_console); " \
69 "bootm 0x00800000 0x01100000"
71 #define CONFIG_EXTRA_ENV_SETTINGS \
72 "mtdparts=mtdparts=orion_nand:1M(u-boot),4M(uImage)," \
73 "32M(rootfs),-(data)\0"\
74 "mtdids=nand0=orion_nand\0"\
75 "bootargs_console=console=ttyS0,115200\0" \
76 "bootcmd_usb=usb start; ext2load usb 0:1 0x00800000 /uImage; " \
77 "ext2load usb 0:1 0x01100000 /uInitrd\0"
80 * Ethernet Driver configuration
83 #define CONFIG_MVGBE_PORTS {1, 0} /* enable port 0 only */
84 #define CONFIG_PHY_BASE_ADR 0
85 #endif /* CONFIG_CMD_NET */
90 #define CONFIG_CMD_EXT2
91 #define CONFIG_CMD_FAT
92 #define CONFIG_CMD_JFFS2
93 #define CONFIG_CMD_UBI
94 #define CONFIG_CMD_UBIFS
96 #define CONFIG_MTD_DEVICE /* needed for mtdparts commands */
97 #define CONFIG_MTD_PARTITIONS
98 #define CONFIG_CMD_MTDPARTS
101 #endif /* _CONFIG_POGO_E02_H */