Commit | Line | Data |
---|---|---|
121915c4 WB |
1 | /* |
2 | * Copyright (C) 2005, Broadcom Corporation | |
3 | * Copyright (C) 2006, Felix Fietkau <nbd@openwrt.org> | |
4 | * | |
5 | * This program is free software; you can redistribute it and/or modify it | |
6 | * under the terms of the GNU General Public License as published by the | |
7 | * Free Software Foundation; either version 2 of the License, or (at your | |
8 | * option) any later version. | |
9 | */ | |
10 | ||
111bd981 HM |
11 | #ifndef __BCM47XX_NVRAM_H |
12 | #define __BCM47XX_NVRAM_H | |
121915c4 WB |
13 | |
14 | #include <linux/types.h> | |
59833fcf | 15 | #include <linux/kernel.h> |
121915c4 | 16 | |
21400f25 | 17 | int bcm47xx_nvram_init_from_mem(u32 base, u32 lim); |
341097f1 | 18 | int bcm47xx_nvram_getenv(const char *name, char *val, size_t val_len); |
62cf3bc0 HM |
19 | int bcm47xx_nvram_gpio_pin(const char *name); |
20 | ||
111bd981 | 21 | #endif /* __BCM47XX_NVRAM_H */ |