2 * Broadcom Home Networking Division (HND) srom stubs
4 * Should be called bcmsromstubs.c .
6 * Copyright (C) 2010, Broadcom Corporation. All Rights Reserved.
8 * Permission to use, copy, modify, and/or distribute this software for any
9 * purpose with or without fee is hereby granted, provided that the above
10 * copyright notice and this permission notice appear in all copies.
12 * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
13 * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
14 * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY
15 * SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
16 * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION
17 * OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
18 * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
20 * $Id: sromstubs.c,v 1.19 2008-12-17 13:32:15 Exp $
32 srom_var_init(si_t
*sih
, uint bus
, void *curmap
, osl_t
*osh
, char **vars
, uint
*count
)
38 srom_read(si_t
*sih
, uint bus
, void *curmap
, osl_t
*osh
, uint byteoff
, uint nbytes
, uint16
*buf
,
45 srom_write(si_t
*sih
, uint bus
, void *curmap
, osl_t
*osh
, uint byteoff
, uint nbytes
, uint16
*buf
)
50 #if defined(WLTEST) || defined(BCMDBG)
52 srom_otp_write_region_crc(si_t
*sih
, uint nbytes
, uint16
* buf16
, bool write
)