1 /* SPDX-License-Identifier: GPL-2.0+ */
3 * (C) Copyright 2009-2014
4 * Gerald Kerma <dreagle@doukki.net>
5 * Marvell Semiconductor <www.marvell.com>
6 * Written-by: Prafulla Wadaskar <prafulla@marvell.com>
9 #ifndef _CONFIG_SHEEVAPLUG_H
10 #define _CONFIG_SHEEVAPLUG_H
12 #include "mv-common.h"
15 * Environment variables configurations
18 * max 4k env size is enough, but in case of nand
19 * it has to be rounded to sector size
22 * Environment is right behind U-Boot in flash. Make sure U-Boot
23 * doesn't grow into the environment area.
25 #define CONFIG_BOARD_SIZE_LIMIT CONFIG_ENV_OFFSET
28 * Default environment variables
31 #define CONFIG_EXTRA_ENV_SETTINGS "x_bootargs=console" \
32 "=ttyS0,115200 mtdparts="CONFIG_MTDPARTS_DEFAULT \
33 "x_bootcmd_kernel=nand read 0x6400000 0x100000 0x400000\0" \
34 "x_bootcmd_usb=usb start\0" \
35 "x_bootargs_root=root=/dev/mtdblock3 rw rootfstype=jffs2\0"
38 * Ethernet Driver configuration
41 #define CONFIG_MVGBE_PORTS {1, 0} /* enable port 0 only */
42 #define CONFIG_PHY_BASE_ADR 0
43 #endif /* CONFIG_CMD_NET */
46 * SATA driver configuration
50 #endif /* CONFIG_SATA */
52 #endif /* _CONFIG_SHEEVAPLUG_H */