summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorBo Shen <voice.shen@atmel.com>2013-01-30 17:18:49 +0800
committerJosh Wu <josh.wu@atmel.com>2013-01-30 18:29:24 +0800
commitf9be222fbdff32bdf7ef8efc3cc161e965bd9f06 (patch)
tree254a7316d94078582109535e49998e966a191ef2 /arch
parent34dbd889f352e8ec7295f7fcb6b93e88116c6664 (diff)
arm: at91sama5ek: code clean up.
- update file header - remove useless code - align the code Signed-off-by: Bo Shen <voice.shen@atmel.com>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/cpu/armv7/at91/at91sama5_devices.c12
1 files changed, 5 insertions, 7 deletions
diff --git a/arch/arm/cpu/armv7/at91/at91sama5_devices.c b/arch/arm/cpu/armv7/at91/at91sama5_devices.c
index 2e421cb40f..6104d214b4 100644
--- a/arch/arm/cpu/armv7/at91/at91sama5_devices.c
+++ b/arch/arm/cpu/armv7/at91/at91sama5_devices.c
@@ -1,7 +1,5 @@
/*
- * (C) Copyright 2007-2008
- * Stelian Pop <stelian@popies.net>
- * Lead Tech Design <www.leadtechdesign.com>
+ * Copyright (C) 2012-2013 Atmel Corporation
*
* See file CREDITS for list of people who contributed to this
* project.
@@ -92,8 +90,8 @@ void at91_serial0_hw_init(void)
void at91_serial1_hw_init(void)
{
- at91_set_a_periph(AT91_PIO_PORTB, 28, 0); /* TXD1 */
- at91_set_a_periph(AT91_PIO_PORTB, 29, PUP); /* RXD1 */
+ at91_set_a_periph(AT91_PIO_PORTB, 28, 0); /* TXD1 */
+ at91_set_a_periph(AT91_PIO_PORTB, 29, PUP); /* RXD1 */
/* Enable clock */
at91_periph_clk_enable(ATMEL_ID_USART1);
@@ -101,8 +99,8 @@ void at91_serial1_hw_init(void)
void at91_serial2_hw_init(void)
{
- at91_set_b_periph(AT91_PIO_PORTE, 26, 1); /* TXD2 */
- at91_set_b_periph(AT91_PIO_PORTE, 25, PUP); /* RXD2 */
+ at91_set_b_periph(AT91_PIO_PORTE, 26, 1); /* TXD2 */
+ at91_set_b_periph(AT91_PIO_PORTE, 25, PUP); /* RXD2 */
/* Enable clock */
at91_periph_clk_enable(ATMEL_ID_USART2);