Merge branches 'pm-domains', 'powercap' and 'pm-tools'
[cascardo/linux.git] / arch / mips / include / asm / mach-bcm47xx / bcm47xx_nvram.h
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
11 #ifndef __BCM47XX_NVRAM_H
12 #define __BCM47XX_NVRAM_H
13
14 #include <linux/types.h>
15 #include <linux/kernel.h>
16
17 int bcm47xx_nvram_init_from_mem(u32 base, u32 lim);
18 int bcm47xx_nvram_getenv(const char *name, char *val, size_t val_len);
19 int bcm47xx_nvram_gpio_pin(const char *name);
20
21 #endif /* __BCM47XX_NVRAM_H */