mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-12-22 19:23:07 +00:00
ac47bd230c
The Globalscale Technologies Sheevaplug board has the network chip Marvell 88E1116R. Use uclass mvgbe and the compatible driver M88E1310 driver to bring up Ethernet. - Remove CONFIG_RESET_PHY_R symbol from all board files - Use uclass mvgbe to bring up the network. And remove ad-hoc code. - Enable CONFIG_PHY_MARVELL to properly configure the network. - Miscellaneous changes: Move constants to .c file and remove header file board/Marvell/sheevaplug/sheevaplug.h, use BIT macro, and add/cleanup comments. Signed-off-by: Tony Dinh <mibodhi@gmail.com>
36 lines
920 B
C
36 lines
920 B
C
/* SPDX-License-Identifier: GPL-2.0+ */
|
|
/*
|
|
* (C) Copyright 2022 Tony Dinh <mibodhi@gmail.com>
|
|
* (C) Copyright 2009-2014
|
|
* Gerald Kerma <dreagle@doukki.net>
|
|
* Marvell Semiconductor <www.marvell.com>
|
|
* Written-by: Prafulla Wadaskar <prafulla@marvell.com>
|
|
*/
|
|
|
|
#ifndef _CONFIG_SHEEVAPLUG_H
|
|
#define _CONFIG_SHEEVAPLUG_H
|
|
|
|
#include "mv-common.h"
|
|
|
|
/*
|
|
* Environment variables configurations
|
|
*/
|
|
#define CONFIG_EXTRA_ENV_SETTINGS "x_bootargs=console" \
|
|
"=ttyS0,115200 mtdparts=" CONFIG_MTDPARTS_DEFAULT \
|
|
"x_bootcmd_kernel=nand read 0x6400000 0x100000 0x400000\0" \
|
|
"x_bootcmd_usb=usb start\0" \
|
|
"x_bootargs_root=root=/dev/mtdblock3 rw rootfstype=jffs2\0"
|
|
|
|
/*
|
|
* Ethernet Driver configuration
|
|
*/
|
|
#define CONFIG_MVGBE_PORTS {1, 0} /* enable port 0 only */
|
|
#define CONFIG_PHY_BASE_ADR 0
|
|
|
|
/*
|
|
* Support large disk for SATA and USB
|
|
*/
|
|
#define CONFIG_SYS_64BIT_LBA
|
|
#define CONFIG_LBA48
|
|
|
|
#endif /* _CONFIG_SHEEVAPLUG_H */
|