2 * Stubs for NVRAM functions for platforms without flash
4 * Copyright 2004, 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.
18 #define strcmp(s1,s2) 0 /* always match */
28 nvram_append(void *sb
, char *vars
, uint varsz
)
39 nvram_get(const char *name
)
45 nvram_set(const char *name
, const char *value
)
51 nvram_unset(const char *name
)
63 nvram_getall(char *buf
, int count
)
65 /* add null string as terminator */
67 return BCME_BUFTOOSHORT
;