summaryrefslogtreecommitdiffstats
path: root/target/linux/amazon/files/include
diff options
context:
space:
mode:
authorhauke <hauke@3c298f89-4303-0410-b956-a3cf2f4a3e73>2010-01-31 15:14:14 +0000
committerhauke <hauke@3c298f89-4303-0410-b956-a3cf2f4a3e73>2010-01-31 15:14:14 +0000
commit110d8db5c7383a55946c0e95254496766a52f337 (patch)
treede037705e7a6fc24e69203ad8609a394e7a62202 /target/linux/amazon/files/include
parent11288316a9c2df37b5b1cb33d5a0ba38593341fb (diff)
[amazon] export amazon_get_cpu_hz
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19460 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/amazon/files/include')
-rw-r--r--target/linux/amazon/files/include/asm-mips/amazon/amazon.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/target/linux/amazon/files/include/asm-mips/amazon/amazon.h b/target/linux/amazon/files/include/asm-mips/amazon/amazon.h
index 1ec3c3b99..28af7f59d 100644
--- a/target/linux/amazon/files/include/asm-mips/amazon/amazon.h
+++ b/target/linux/amazon/files/include/asm-mips/amazon/amazon.h
@@ -29,6 +29,8 @@
#define amazon_writel(a,b) __raw_writel(a, ((u32*)(b)))
#define amazon_writel_masked(a,b,c) __raw_writel((__raw_readl(((u32*)(a))) & ~b) | (c & b), ((u32*)(a)))
+unsigned int amazon_get_fpi_hz(void);
+
#define IOPORT_RESOURCE_START 0x10000000
#define IOPORT_RESOURCE_END 0xffffffff
#define IOMEM_RESOURCE_START 0x10000000