configs: Migrate CONFIG_SYS_MAX_FLASH_BANKS to Kconfig
[platform/kernel/u-boot.git] / include / configs / sheevaplug.h
1 /* SPDX-License-Identifier: GPL-2.0+ */
2 /*
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>
7  */
8
9 #ifndef _CONFIG_SHEEVAPLUG_H
10 #define _CONFIG_SHEEVAPLUG_H
11
12 #include "mv-common.h"
13
14 /*
15  *  Environment variables configurations
16  */
17 /*
18  * max 4k env size is enough, but in case of nand
19  * it has to be rounded to sector size
20  */
21 /*
22  * Environment is right behind U-Boot in flash. Make sure U-Boot
23  * doesn't grow into the environment area.
24  */
25 #define CONFIG_BOARD_SIZE_LIMIT         CONFIG_ENV_OFFSET
26
27 /*
28  * Default environment variables
29  */
30
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"
36
37 /*
38  * Ethernet Driver configuration
39  */
40 #ifdef CONFIG_CMD_NET
41 #define CONFIG_MVGBE_PORTS      {1, 0}  /* enable port 0 only */
42 #define CONFIG_PHY_BASE_ADR     0
43 #endif /* CONFIG_CMD_NET */
44
45 /*
46  * SATA driver configuration
47  */
48 #ifdef CONFIG_SATA
49 #define CONFIG_SYS_SATA_MAX_DEVICE      2
50 #define CONFIG_LBA48
51 #endif /* CONFIG_SATA */
52
53 #endif /* _CONFIG_SHEEVAPLUG_H */