diff options
author | Hauke Mehrtens <hauke@openwrt.org> | 2010-01-31 15:14:14 +0000 |
---|---|---|
committer | Hauke Mehrtens <hauke@openwrt.org> | 2010-01-31 15:14:14 +0000 |
commit | eee2dd953476ef666bf11f0ce22e02b910f23e06 (patch) | |
tree | de037705e7a6fc24e69203ad8609a394e7a62202 /target/linux/amazon/files/include | |
parent | 0c813f94a0202ae998545ec844192ba6527a9995 (diff) | |
download | upstream-eee2dd953476ef666bf11f0ce22e02b910f23e06.tar.gz upstream-eee2dd953476ef666bf11f0ce22e02b910f23e06.tar.bz2 upstream-eee2dd953476ef666bf11f0ce22e02b910f23e06.zip |
[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.h | 2 |
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 |