2 * BCM47XX FLASH driver interface
4 * Copyright 2005, Broadcom Corporation
7 * THIS SOFTWARE IS OFFERED "AS IS", AND BROADCOM GRANTS NO WARRANTIES OF ANY
8 * KIND, EXPRESS OR IMPLIED, BY STATUTE, COMMUNICATION OR OTHERWISE. BROADCOM
9 * SPECIFICALLY DISCLAIMS ANY IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS
10 * FOR A SPECIFIC PURPOSE OR NONINFRINGEMENT CONCERNING THIS SOFTWARE.
11 * $Id: flashutl.h,v 1.4 2005/03/07 08:35:32 kanki Exp $
17 #ifndef _LANGUAGE_ASSEMBLY
19 int sysFlashInit(char *flash_str
);
20 int sysFlashRead(uint off
, uchar
*dst
, uint bytes
);
21 int sysFlashWrite(uint off
, uchar
*src
, uint bytes
);
22 void nvWrite(unsigned short *data
, unsigned int len
);
24 #endif /* _LANGUAGE_ASSEMBLY */
26 #endif /* _flashutl_h_ */