summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.masahiro@socionext.com>2016-02-26 14:21:33 +0900
committerMasahiro Yamada <yamada.masahiro@socionext.com>2016-02-29 03:50:16 +0900
commit8353266825d7b7d673519bce3a54cdddf2c3d459 (patch)
treeaf3ffdd3d699391f6a230768357c21ae841441b8 /arch
parentaa8a93480e072d8d0473e512b66c31f3c4cc3cc7 (diff)
downloadu-boot-imx-8353266825d7b7d673519bce3a54cdddf2c3d459.zip
u-boot-imx-8353266825d7b7d673519bce3a54cdddf2c3d459.tar.gz
u-boot-imx-8353266825d7b7d673519bce3a54cdddf2c3d459.tar.bz2
ARM: uniphier: remove unused umc_polling()
This function is unused. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/mach-uniphier/dram/umc-regs.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/arch/arm/mach-uniphier/dram/umc-regs.h b/arch/arm/mach-uniphier/dram/umc-regs.h
index a6957a4..b33e2da 100644
--- a/arch/arm/mach-uniphier/dram/umc-regs.h
+++ b/arch/arm/mach-uniphier/dram/umc-regs.h
@@ -120,15 +120,6 @@
#include <linux/types.h>
-static inline void umc_polling(u32 address, u32 expval, u32 mask)
-{
- u32 nmask = ~mask;
- u32 data;
- do {
- data = readl(address) & nmask;
- } while (data != expval);
-}
-
static inline void umc_dram_init_start(void __iomem *dramcont)
{
writel(0x00000002, dramcont + UMC_INITSET);