From b55d98c6d5b8694e560a0e727b14cb6921d7cfcc Mon Sep 17 00:00:00 2001 From: Timur Tabi Date: Fri, 8 Feb 2008 13:15:54 -0600 Subject: 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 Acked-by: Ben Warren --- include/vsc7385.h | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 include/vsc7385.h (limited to 'include/vsc7385.h') diff --git a/include/vsc7385.h b/include/vsc7385.h new file mode 100644 index 0000000000..0432499581 --- /dev/null +++ b/include/vsc7385.h @@ -0,0 +1,13 @@ +/* + * Header file for vsc7385.c + * + * Author: Timur Tabi + * + * 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); + -- cgit v1.2.1