[U-Boot] [PATCH] ARM: uniphier: remove unused umc_polling()
Masahiro Yamada
yamada.masahiro at socionext.com
Thu Feb 18 13:59:41 CET 2016
This function is unused.
Signed-off-by: Masahiro Yamada <yamada.masahiro at socionext.com>
---
arch/arm/mach-uniphier/dram/umc-regs.h | 9 ---------
1 file changed, 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);
--
1.9.1
More information about the U-Boot
mailing list