2 * BCM47XX FLASH driver interface
4 * Copyright (C) 2009, 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 13.10 2005/09/07 00:57:49 Exp $
18 #ifndef _LANGUAGE_ASSEMBLY
20 int sysFlashInit(char *flash_str
);
21 int sysFlashRead(uint off
, uchar
*dst
, uint bytes
);
22 int sysFlashWrite(uint off
, uchar
*src
, uint bytes
);
23 void nvWrite(unsigned short *data
, unsigned int len
);
24 void nvWriteChars(unsigned char *data
, unsigned int len
);
26 #endif /* _LANGUAGE_ASSEMBLY */
28 #endif /* _flashutl_h_ */