[PATCH 04/17] arm: pxa: Remove pxa_get_nandclk()
Sebastian Hesselbarth
sebastian.hesselbarth at gmail.com
Thu Oct 8 15:06:06 PDT 2015
With a common clock provided for NAND controller, get rid of the
mach/clock.h way of getting the NAND clock.
Signed-off-by: Sebastian Hesselbarth <sebastian.hesselbarth at gmail.com>
---
Cc: Robert Jarzmik <robert.jarzmik at free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni at free-electrons.com>
Cc: Ezequiel Garcia <ezequiel at vanguardiasur.com.ar>
Cc: barebox at lists.infradead.org
---
arch/arm/mach-pxa/include/mach/clock.h | 1 -
arch/arm/mach-pxa/speed-pxa3xx.c | 8 --------
2 files changed, 9 deletions(-)
diff --git a/arch/arm/mach-pxa/include/mach/clock.h b/arch/arm/mach-pxa/include/mach/clock.h
index 40f6223cd982..f86152f7af50 100644
--- a/arch/arm/mach-pxa/include/mach/clock.h
+++ b/arch/arm/mach-pxa/include/mach/clock.h
@@ -14,7 +14,6 @@
unsigned long pxa_get_uartclk(void);
unsigned long pxa_get_mmcclk(void);
unsigned long pxa_get_lcdclk(void);
-unsigned long pxa_get_nandclk(void);
unsigned long pxa_get_pwmclk(void);
#endif /* !__MACH_CLOCK_H */
diff --git a/arch/arm/mach-pxa/speed-pxa3xx.c b/arch/arm/mach-pxa/speed-pxa3xx.c
index 91e03eae4a52..6851911fa7aa 100644
--- a/arch/arm/mach-pxa/speed-pxa3xx.c
+++ b/arch/arm/mach-pxa/speed-pxa3xx.c
@@ -27,14 +27,6 @@ unsigned long pxa_get_pwmclk(void)
return BASE_CLK;
}
-unsigned long pxa_get_nandclk(void)
-{
- if (cpu_is_pxa320())
- return 104000000;
- else
- return 156000000;
-}
-
static int pxa3xx_clock_init(void)
{
unsigned long nand_rate = (cpu_is_pxa320()) ? 104000000 : 156000000;
--
2.1.0
More information about the barebox
mailing list