]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/blame - arch/mips/include/asm/mach-bcm47xx/bcm47xx_nvram.h
MIPS: Expand __swp_offset() to carry 40 significant bits for 64-bit kernel.
[mirror_ubuntu-eoan-kernel.git] / arch / mips / include / asm / mach-bcm47xx / bcm47xx_nvram.h
CommitLineData
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 17int bcm47xx_nvram_init_from_mem(u32 base, u32 lim);
341097f1 18int bcm47xx_nvram_getenv(const char *name, char *val, size_t val_len);
62cf3bc0
HM
19int bcm47xx_nvram_gpio_pin(const char *name);
20
111bd981 21#endif /* __BCM47XX_NVRAM_H */