aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/amazon/files/include/asm-mips
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke@hauke-m.de>2010-01-31 15:14:14 +0000
committerHauke Mehrtens <hauke@hauke-m.de>2010-01-31 15:14:14 +0000
commit776355717c7de8293abc8aaff62bf3e97550617a (patch)
tree963f7952c1d67706cc1957759a4ac0395671b531 /target/linux/amazon/files/include/asm-mips
parentb74263a00cfe18e8355940d91083b7237b818749 (diff)
downloadupstream-776355717c7de8293abc8aaff62bf3e97550617a.tar.gz
upstream-776355717c7de8293abc8aaff62bf3e97550617a.tar.bz2
upstream-776355717c7de8293abc8aaff62bf3e97550617a.zip
export amazon_get_cpu_hz
SVN-Revision: 19460
Diffstat (limited to 'target/linux/amazon/files/include/asm-mips')
-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 1ec3c3b994..28af7f59d2 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