summaryrefslogtreecommitdiff
path: root/arch/arm/mach-shmobile/include/mach/mmc-mackerel.h
diff options
context:
space:
mode:
authorMagnus Damm <damm+renesas@opensource.se>2015-01-26 09:17:58 +0300
committerSimon Horman <horms+renesas@verge.net.au>2015-02-24 00:43:58 +0300
commit040d64d6e0ef6b583ec6572d2266b0077c6184cf (patch)
tree64a9a3a2f8e6adbf3e5763ff2635a9a0615ab3d8 /arch/arm/mach-shmobile/include/mach/mmc-mackerel.h
parentc517d838eb7d07bbe9507871fab3931deccff539 (diff)
downloadlinux-040d64d6e0ef6b583ec6572d2266b0077c6184cf.tar.xz
ARM: shmobile: mackerel: Remove ZBOOT code
Remove ZBOOT support code for Mackerel. With this patch in place it is no longer possible to boot a self-contained kernel directly from the reset vector. ZBOOT is still supported on kzm9g. Signed-off-by: Magnus Damm <damm+renesas@opensource.se> Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Acked-by: Geert Uytterhoeven <geert+renesas@glider.be> Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
Diffstat (limited to 'arch/arm/mach-shmobile/include/mach/mmc-mackerel.h')
-rw-r--r--arch/arm/mach-shmobile/include/mach/mmc-mackerel.h38
1 files changed, 0 insertions, 38 deletions
diff --git a/arch/arm/mach-shmobile/include/mach/mmc-mackerel.h b/arch/arm/mach-shmobile/include/mach/mmc-mackerel.h
deleted file mode 100644
index 15d3a9efdec2..000000000000
--- a/arch/arm/mach-shmobile/include/mach/mmc-mackerel.h
+++ /dev/null
@@ -1,38 +0,0 @@
-#ifndef MMC_MACKEREL_H
-#define MMC_MACKEREL_H
-
-#define PORT0CR (void __iomem *)0xe6051000
-#define PORT1CR (void __iomem *)0xe6051001
-#define PORT2CR (void __iomem *)0xe6051002
-#define PORT159CR (void __iomem *)0xe605009f
-
-#define PORTR031_000DR (void __iomem *)0xe6055000
-#define PORTL159_128DR (void __iomem *)0xe6054010
-
-static inline void mmc_init_progress(void)
-{
- /* Initialise LEDS0-3
- * registers: PORT0CR-PORT2CR,PORT159CR (LED0-LED3 Control)
- * value: 0x10 - enable output
- */
- __raw_writeb(0x10, PORT0CR);
- __raw_writeb(0x10, PORT1CR);
- __raw_writeb(0x10, PORT2CR);
- __raw_writeb(0x10, PORT159CR);
-}
-
-static inline void mmc_update_progress(int n)
-{
- unsigned a = 0, b = 0;
-
- if (n < 3)
- a = 1 << n;
- else
- b = 1 << 31;
-
- __raw_writel((__raw_readl(PORTR031_000DR) & ~0x7) | a,
- PORTR031_000DR);
- __raw_writel((__raw_readl(PORTL159_128DR) & ~(1 << 31)) | b,
- PORTL159_128DR);
-}
-#endif /* MMC_MACKEREL_H */