aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/adm5120/files-2.6.26/include/asm-mips/mach-adm5120/prom/admboot.h
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2008-08-20 17:20:58 +0000
committerGabor Juhos <juhosg@openwrt.org>2008-08-20 17:20:58 +0000
commitd9b755b3dc4f9121ab70b9d816ce813f6038ad6b (patch)
tree52986b3e2a2d38500b4502251cca8418d515faec /target/linux/adm5120/files-2.6.26/include/asm-mips/mach-adm5120/prom/admboot.h
parent6922a3692d36d41b9d907ac3b13df075c5bf50db (diff)
downloadupstream-d9b755b3dc4f9121ab70b9d816ce813f6038ad6b.tar.gz
upstream-d9b755b3dc4f9121ab70b9d816ce813f6038ad6b.tar.bz2
upstream-d9b755b3dc4f9121ab70b9d816ce813f6038ad6b.zip
load the mac address from flash where it is possible
SVN-Revision: 12357
Diffstat (limited to 'target/linux/adm5120/files-2.6.26/include/asm-mips/mach-adm5120/prom/admboot.h')
-rw-r--r--target/linux/adm5120/files-2.6.26/include/asm-mips/mach-adm5120/prom/admboot.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/target/linux/adm5120/files-2.6.26/include/asm-mips/mach-adm5120/prom/admboot.h b/target/linux/adm5120/files-2.6.26/include/asm-mips/mach-adm5120/prom/admboot.h
new file mode 100644
index 0000000000..fa42bf7148
--- /dev/null
+++ b/target/linux/adm5120/files-2.6.26/include/asm-mips/mach-adm5120/prom/admboot.h
@@ -0,0 +1,17 @@
+/*
+ * ADMBoot specific definitions
+ *
+ * Copyright (C) 2008 Gabor Juhos <juhosg@openwrt.org>
+ *
+ * This program is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU General Public License version 2 as published
+ * by the Free Software Foundation.
+ *
+ */
+
+#ifndef _ADMBOOT_H
+#define _ADMBOOT_H
+
+extern int admboot_get_mac_base(u32 offset, u32 len, u8 *mac) __init;
+
+#endif /* _ADMBOOT_H */