1
2
3
4
5
6
7
8
9#ifndef _CONFIG_GURUPLUG_H
10#define _CONFIG_GURUPLUG_H
11
12
13
14
15#define CONFIG_SHEEVA_88SV131 1
16
17
18
19
20
21
22
23
24
25#include "mv-plug-common.h"
26
27
28
29
30
31
32
33
34
35
36
37
38#define CONFIG_BOARD_SIZE_LIMIT CONFIG_ENV_OFFSET
39
40
41
42
43#define CONFIG_BOOTCOMMAND \
44 "setenv bootargs ${console} ${mtdparts} ${bootargs_root}; " \
45 "ubi part root; " \
46 "ubifsmount ubi:rootfs; " \
47 "ubifsload 0x800000 ${kernel}; " \
48 "ubifsload 0x700000 ${fdt}; " \
49 "ubifsumount; " \
50 "fdt addr 0x700000; fdt resize; fdt chosen; " \
51 "bootz 0x800000 - 0x700000"
52
53#define CONFIG_EXTRA_ENV_SETTINGS \
54 "console=console=ttyS0,115200\0" \
55 "mtdids=nand0=orion_nand\0" \
56 "mtdparts="CONFIG_MTDPARTS_DEFAULT \
57 "kernel=/boot/zImage\0" \
58 "fdt=/boot/guruplug-server-plus.dtb\0" \
59 "bootargs_root=ubi.mtd=2 root=ubi0:rootfs rootfstype=ubifs rw\0"
60
61
62
63
64#ifdef CONFIG_CMD_NET
65#define CONFIG_MVGBE_PORTS {1, 1}
66#define CONFIG_PHY_BASE_ADR 0
67#endif
68
69
70
71
72#ifdef CONFIG_MVSATA_IDE
73#define CONFIG_SYS_ATA_IDE0_OFFSET MV_SATA_PORT0_OFFSET
74#endif
75
76#endif
77