* [PATCH] ARM: shmobile: Remove unused mach/sdhi*.h headers
@ 2013-07-29 19:24 Laurent Pinchart
2013-07-29 19:27 ` Laurent Pinchart
2013-07-30 0:01 ` Simon Horman
0 siblings, 2 replies; 3+ messages in thread
From: Laurent Pinchart @ 2013-07-29 19:24 UTC (permalink / raw)
To: linux-sh
The headers are not used anymore, remove them.
Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
---
arch/arm/mach-shmobile/include/mach/sdhi-sh7372.h | 21 ---------------------
arch/arm/mach-shmobile/include/mach/sdhi.h | 16 ----------------
2 files changed, 37 deletions(-)
delete mode 100644 arch/arm/mach-shmobile/include/mach/sdhi-sh7372.h
delete mode 100644 arch/arm/mach-shmobile/include/mach/sdhi.h
diff --git a/arch/arm/mach-shmobile/include/mach/sdhi-sh7372.h b/arch/arm/mach-shmobile/include/mach/sdhi-sh7372.h
deleted file mode 100644
index 4a81b01..0000000
--- a/arch/arm/mach-shmobile/include/mach/sdhi-sh7372.h
+++ /dev/null
@@ -1,21 +0,0 @@
-#ifndef SDHI_SH7372_H
-#define SDHI_SH7372_H
-
-#define SDGENCNTA 0xfe40009c
-
-/* The countdown of SDGENCNTA is controlled by
- * ZB3D2CLK which runs at 149.5MHz.
- * That is 149.5ticks/us. Approximate this as 150ticks/us.
- */
-static void udelay(int us)
-{
- __raw_writel(us * 150, SDGENCNTA);
- while(__raw_readl(SDGENCNTA)) ;
-}
-
-static void msleep(int ms)
-{
- udelay(ms * 1000);
-}
-
-#endif
diff --git a/arch/arm/mach-shmobile/include/mach/sdhi.h b/arch/arm/mach-shmobile/include/mach/sdhi.h
deleted file mode 100644
index 0ec9e69..0000000
--- a/arch/arm/mach-shmobile/include/mach/sdhi.h
+++ /dev/null
@@ -1,16 +0,0 @@
-#ifndef SDHI_H
-#define SDHI_H
-
-/**************************************************
- *
- * CPU specific settings
- *
- **************************************************/
-
-#ifdef CONFIG_ARCH_SH7372
-#include "mach/sdhi-sh7372.h"
-#else
-#error "unsupported CPU."
-#endif
-
-#endif /* SDHI_H */
--
Regards,
Laurent Pinchart
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] ARM: shmobile: Remove unused mach/sdhi*.h headers
2013-07-29 19:24 [PATCH] ARM: shmobile: Remove unused mach/sdhi*.h headers Laurent Pinchart
@ 2013-07-29 19:27 ` Laurent Pinchart
2013-07-30 0:01 ` Simon Horman
1 sibling, 0 replies; 3+ messages in thread
From: Laurent Pinchart @ 2013-07-29 19:27 UTC (permalink / raw)
To: linux-sh
On Monday 29 July 2013 21:24:06 Laurent Pinchart wrote:
> The headers are not used anymore, remove them.
>
> Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Scratch this, my bad, I hadn't realized the headers were still needed by
arch/arm/boot/compressed/sdhi-mobile.c. Sorry for the noise.
--
Regards,
Laurent Pinchart
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] ARM: shmobile: Remove unused mach/sdhi*.h headers
2013-07-29 19:24 [PATCH] ARM: shmobile: Remove unused mach/sdhi*.h headers Laurent Pinchart
2013-07-29 19:27 ` Laurent Pinchart
@ 2013-07-30 0:01 ` Simon Horman
1 sibling, 0 replies; 3+ messages in thread
From: Simon Horman @ 2013-07-30 0:01 UTC (permalink / raw)
To: linux-sh
On Mon, Jul 29, 2013 at 09:27:02PM +0200, Laurent Pinchart wrote:
> On Monday 29 July 2013 21:24:06 Laurent Pinchart wrote:
> > The headers are not used anymore, remove them.
> >
> > Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
>
> Scratch this, my bad, I hadn't realized the headers were still needed by
> arch/arm/boot/compressed/sdhi-mobile.c. Sorry for the noise.
Scratched.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2013-07-30 0:01 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-07-29 19:24 [PATCH] ARM: shmobile: Remove unused mach/sdhi*.h headers Laurent Pinchart
2013-07-29 19:27 ` Laurent Pinchart
2013-07-30 0:01 ` Simon Horman
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox