1
2
3
4
5
6
7
8
9
10
11
12
13
14#ifndef _CONFIG_GOFLEXHOME_H
15#define _CONFIG_GOFLEXHOME_H
16
17
18
19
20#define CONFIG_FEROCEON_88FR131 1
21#define CONFIG_KW88F6281 1
22#define CONFIG_SKIP_LOWLEVEL_INIT
23
24
25
26
27#define GOFLEXHOME_OE_LOW (~(0))
28#define GOFLEXHOME_OE_HIGH (~(0))
29#define GOFLEXHOME_OE_VAL_LOW (1 << 29)
30#define GOFLEXHOME_OE_VAL_HIGH (1 << 17)
31
32
33#define MV88E1116_LED_FCTRL_REG 10
34#define MV88E1116_CPRSP_CR3_REG 21
35#define MV88E1116_MAC_CTRL_REG 21
36#define MV88E1116_PGADR_REG 22
37#define MV88E1116_RGMII_TXTM_CTRL (1 << 4)
38#define MV88E1116_RGMII_RXTM_CTRL (1 << 5)
39
40
41
42
43
44
45
46
47
48#include "mv-common.h"
49
50
51
52
53#ifdef CONFIG_CMD_NAND
54#define CONFIG_ENV_SECT_SIZE 0x20000
55#endif
56
57
58
59
60#define CONFIG_ENV_SIZE 0x20000
61#define CONFIG_ENV_ADDR 0xC0000
62#define CONFIG_ENV_OFFSET 0xC0000
63
64
65
66
67#define CONFIG_BOOTCOMMAND \
68 "setenv bootargs ${console} ${mtdparts} ${bootargs_root}; " \
69 "ubi part root; " \
70 "ubifsmount ubi:root; " \
71 "ubifsload 0x800000 ${kernel}; " \
72 "bootm 0x800000"
73
74#define CONFIG_EXTRA_ENV_SETTINGS \
75 "console=console=ttyS0,115200\0" \
76 "mtdids=nand0=orion_nand\0" \
77 "mtdparts="CONFIG_MTDPARTS_DEFAULT \
78 "kernel=/boot/uImage\0" \
79 "bootargs_root=ubi.mtd=root root=ubi0:root rootfstype=ubifs ro\0"
80
81
82
83
84#ifdef CONFIG_CMD_NET
85#define CONFIG_MVGBE_PORTS {1, 0}
86#define CONFIG_PHY_BASE_ADR 0
87#endif
88
89
90
91
92#ifdef CONFIG_MVSATA_IDE
93#define CONFIG_SYS_ATA_IDE0_OFFSET MV_SATA_PORT0_OFFSET
94#endif
95
96#endif
97