mirror of
https://github.com/linux-sunxi/u-boot-sunxi.git
synced 2024-02-12 11:16:03 +08:00
NET: Add Vitesse VSC7385 firmware uploading
The Vitesse VSC7385 is a 5-port switch found on the Freescale MPC8349E-mITX and other boards. A small firwmare must be uploaded to its on-board memory before it can be enabled. This patch adds the code which uploads firmware (but not the firmware itself). Previously, this feature was provided by a U-Boot application that was made available only on Freescale BSPs. The VSC7385 firmware must still be obtained separately, but at least there is no longer a need for a separate application. Signed-off-by: Timur Tabi <timur@freescale.com> Acked-by: Ben Warren <biggerbadderben@gmail.com>
This commit is contained in:
13
include/vsc7385.h
Normal file
13
include/vsc7385.h
Normal file
@ -0,0 +1,13 @@
|
||||
/*
|
||||
* Header file for vsc7385.c
|
||||
*
|
||||
* Author: Timur Tabi <timur@freescale.com>
|
||||
*
|
||||
* Copyright 2008 Freescale Semiconductor, Inc. This file is licensed
|
||||
* under the terms of the GNU General Public License version 2. This
|
||||
* program is licensed "as is" without any warranty of any kind, whether
|
||||
* express or implied.
|
||||
*/
|
||||
|
||||
int vsc7385_upload_firmware(void *firmware, unsigned int size);
|
||||
|
Reference in New Issue
Block a user