ar71xx: add preliminary support for the Atheros AR933x SoCs
[openwrt/svn-archive/archive.git] / target / linux / ar71xx / files / arch / mips / ar71xx / nvram.h
1 /*
2 * Atheros AR71xx minimal nvram support
3 *
4 * Copyright (C) 2009 Gabor Juhos <juhosg@openwrt.org>
5 *
6 * This program is free software; you can redistribute it and/or modify it
7 * under the terms of the GNU General Public License version 2 as published
8 * by the Free Software Foundation.
9 */
10
11 #ifndef _AR71XX_NVRAM_H
12 #define _AR71XX_NVRAM_H
13
14 char *nvram_find_var(const char *name, const char *buf,
15 unsigned buf_len) __init;
16 int nvram_parse_mac_addr(const char *nvram, unsigned nvram_len,
17 const char *name, char *mac) __init;
18
19 #endif /* _AR71XX_NVRAM_H */