]> git.kernelconcepts.de Git - karo-tx-uboot.git/blob - include/configs/pogo_e02.h
avr32: delete non generic board mimc200
[karo-tx-uboot.git] / include / configs / pogo_e02.h
1 /*
2  * Copyright (C) 2012
3  * David Purdy <david.c.purdy@gmail.com>
4  *
5  * Based on Kirkwood support:
6  * (C) Copyright 2009
7  * Marvell Semiconductor <www.marvell.com>
8  * Written-by: Prafulla Wadaskar <prafulla@marvell.com>
9  *
10  * SPDX-License-Identifier:     GPL-2.0+
11  */
12
13 #ifndef _CONFIG_POGO_E02_H
14 #define _CONFIG_POGO_E02_H
15
16 #define CONFIG_SYS_GENERIC_BOARD
17
18 /*
19  * Machine type definition and ID
20  */
21 #define MACH_TYPE_POGO_E02              3542
22 #define CONFIG_MACH_TYPE                MACH_TYPE_POGO_E02
23 #define CONFIG_IDENT_STRING             "\nPogo E02"
24
25 /*
26  * High Level Configuration Options (easy to change)
27  */
28 #define CONFIG_FEROCEON_88FR131         /* CPU Core subversion */
29 #define CONFIG_KW88F6281                /* SOC Name */
30 #define CONFIG_SKIP_LOWLEVEL_INIT       /* disable board lowlevel_init */
31
32 /*
33  * Commands configuration
34  */
35 #define CONFIG_SYS_NO_FLASH             /* Declare no flash (NOR/SPI) */
36 #define CONFIG_SYS_MVFS
37 #include <config_cmd_default.h>
38 #define CONFIG_CMD_DHCP
39 #define CONFIG_CMD_ENV
40 #define CONFIG_CMD_MII
41 #define CONFIG_CMD_NAND
42 #define CONFIG_CMD_PING
43 #define CONFIG_CMD_USB
44
45 /*
46  * mv-common.h should be defined after CMD configs since it used them
47  * to enable certain macros
48  */
49 #include "mv-common.h"
50
51 /* Remove or override few declarations from mv-common.h */
52 #undef CONFIG_SYS_PROMPT        /* previously defined in mv-common.h */
53 #define CONFIG_SYS_PROMPT       "PogoE02> "
54
55 /*
56  *  Environment variables configurations
57  */
58 #ifdef CONFIG_CMD_NAND
59 #define CONFIG_ENV_IS_IN_NAND
60 #define CONFIG_ENV_SECT_SIZE            0x20000 /* 128K */
61 #else
62 #define CONFIG_ENV_IS_NOWHERE
63 #endif
64
65 #define CONFIG_ENV_SIZE                 0x20000 /* 128k */
66 #define CONFIG_ENV_OFFSET               0x60000 /* env starts here */
67
68 /*
69  * Default environment variables
70  */
71 #define CONFIG_BOOTCOMMAND \
72         "setenv bootargs $(bootargs_console); " \
73         "run bootcmd_usb; " \
74         "bootm 0x00800000 0x01100000"
75
76 #define CONFIG_EXTRA_ENV_SETTINGS \
77         "mtdparts=mtdparts=orion_nand:1M(u-boot),4M(uImage)," \
78         "32M(rootfs),-(data)\0"\
79         "mtdids=nand0=orion_nand\0"\
80         "bootargs_console=console=ttyS0,115200\0" \
81         "bootcmd_usb=usb start; ext2load usb 0:1 0x00800000 /uImage; " \
82         "ext2load usb 0:1 0x01100000 /uInitrd\0"
83
84 /*
85  * Ethernet Driver configuration
86  */
87 #ifdef CONFIG_CMD_NET
88 #define CONFIG_MVGBE_PORTS      {1, 0}  /* enable port 0 only */
89 #define CONFIG_PHY_BASE_ADR     0
90 #endif /* CONFIG_CMD_NET */
91
92 /*
93  * File system
94  */
95 #define CONFIG_CMD_EXT2
96 #define CONFIG_CMD_FAT
97 #define CONFIG_CMD_JFFS2
98 #define CONFIG_CMD_UBI
99 #define CONFIG_CMD_UBIFS
100 #define CONFIG_RBTREE
101 #define CONFIG_MTD_DEVICE               /* needed for mtdparts commands */
102 #define CONFIG_MTD_PARTITIONS
103 #define CONFIG_CMD_MTDPARTS
104 #define CONFIG_LZO
105
106 #endif /* _CONFIG_POGO_E02_H */