summaryrefslogtreecommitdiff
path: root/arch/arm/cpu/arm920t
diff options
context:
space:
mode:
authorWolfgang Denk <wd@denx.de>2011-09-11 21:24:09 +0200
committerWolfgang Denk <wd@denx.de>2011-09-11 21:24:09 +0200
commit04e5ae793153e74d682f2d0e297e58fd75366c8f (patch)
tree2a94d2ea7897d12a9600a5d378cfd3f810ee29fc /arch/arm/cpu/arm920t
parent3b7175524939ffc73af2b8eb1ee5166838d3f260 (diff)
downloadu-boot-imx-04e5ae793153e74d682f2d0e297e58fd75366c8f.zip
u-boot-imx-04e5ae793153e74d682f2d0e297e58fd75366c8f.tar.gz
u-boot-imx-04e5ae793153e74d682f2d0e297e58fd75366c8f.tar.bz2
Minor coding style cleanup.
Signed-off-by: Wolfgang Denk <wd@denx.de>
Diffstat (limited to 'arch/arm/cpu/arm920t')
-rw-r--r--arch/arm/cpu/arm920t/at91/at91rm9200_devices.c2
-rw-r--r--arch/arm/cpu/arm920t/at91/clock.c2
-rw-r--r--arch/arm/cpu/arm920t/at91/cpu.c1
3 files changed, 0 insertions, 5 deletions
diff --git a/arch/arm/cpu/arm920t/at91/at91rm9200_devices.c b/arch/arm/cpu/arm920t/at91/at91rm9200_devices.c
index f610a1e..412f502 100644
--- a/arch/arm/cpu/arm920t/at91/at91rm9200_devices.c
+++ b/arch/arm/cpu/arm920t/at91/at91rm9200_devices.c
@@ -75,11 +75,9 @@ void at91_serial2_hw_init(void)
writel(1 << ATMEL_ID_USART2, &pmc->pcer);
}
-
void at91_seriald_hw_init(void)
{
at91_set_a_periph(AT91_PIO_PORTA, 30, PUP); /* DRXD */
at91_set_a_periph(AT91_PIO_PORTA, 31, 1); /* DTXD */
/* writing SYS to PCER has no effect on AT91RM9200 */
}
-
diff --git a/arch/arm/cpu/arm920t/at91/clock.c b/arch/arm/cpu/arm920t/at91/clock.c
index 02318b3..09d2799 100644
--- a/arch/arm/cpu/arm920t/at91/clock.c
+++ b/arch/arm/cpu/arm920t/at91/clock.c
@@ -104,7 +104,6 @@ static u32 at91_pll_rate(u32 freq, u32 reg)
return freq;
}
-
int at91_clock_init(unsigned long main_clock)
{
unsigned freq, mckr;
@@ -157,4 +156,3 @@ int at91_clock_init(unsigned long main_clock)
return 0;
}
-
diff --git a/arch/arm/cpu/arm920t/at91/cpu.c b/arch/arm/cpu/arm920t/at91/cpu.c
index 74a1158..46aae6f 100644
--- a/arch/arm/cpu/arm920t/at91/cpu.c
+++ b/arch/arm/cpu/arm920t/at91/cpu.c
@@ -40,4 +40,3 @@ int arch_cpu_init(void)
{
return at91_clock_init(CONFIG_SYS_AT91_MAIN_CLOCK);
}
-