blob: 86950d0f82dd5cd0b4246f743cd22556c2c7324e [file] [log] [blame]
wdenkc6097192002-11-03 00:24:07 +00001/******************************************************************************/
2/* */
3/* Broadcom BCM5700 Linux Network Driver, Copyright (c) 2000 Broadcom */
4/* Corporation. */
5/* All rights reserved. */
6/* */
7/* This program is free software; you can redistribute it and/or modify */
8/* it under the terms of the GNU General Public License as published by */
9/* the Free Software Foundation, located in the file LICENSE. */
10/* */
11/* History: */
12/* */
13/******************************************************************************/
14
15#if INCLUDE_5701_AX_FIX
16
17#include "bcm570x_mm.h"
18#include "5701rls.h"
19
20LM_STATUS LM_LoadRlsFirmware(PLM_DEVICE_BLOCK pDevice)
21{
22 T3_FWIMG_INFO FwImgInfo;
23
24 FwImgInfo.StartAddress = t3FwStartAddr;
25 FwImgInfo.Text.Buffer = (PLM_UINT8)t3FwText;
26 FwImgInfo.Text.Offset = t3FwTextAddr;
27 FwImgInfo.Text.Length = t3FwTextLen;
28 FwImgInfo.ROnlyData.Buffer = (PLM_UINT8)t3FwRodata;
29 FwImgInfo.ROnlyData.Offset = t3FwRodataAddr;
30 FwImgInfo.ROnlyData.Length = t3FwRodataLen;
31 FwImgInfo.Data.Buffer = (PLM_UINT8)t3FwData;
32 FwImgInfo.Data.Offset = t3FwDataAddr;
33 FwImgInfo.Data.Length = t3FwDataLen;
34
35 if (LM_LoadFirmware(pDevice,
wdenk57b2d802003-06-27 21:31:46 +000036 &FwImgInfo,
37 T3_RX_CPU_ID | T3_TX_CPU_ID,
38 T3_RX_CPU_ID) != LM_STATUS_SUCCESS)
wdenkc6097192002-11-03 00:24:07 +000039 {
40 return LM_STATUS_FAILURE;
41 }
42
43 return LM_STATUS_SUCCESS;
44}
45
46#endif /* INCLUDE_5701_AX_FIX */