aboutsummaryrefslogtreecommitdiff
path: root/board/motionpro/motionpro.c
diff options
context:
space:
mode:
authorBartlomiej Sieka2007-05-27 17:26:46 +0200
committerBartlomiej Sieka2007-05-27 17:26:46 +0200
commit7049288fb1f16f1b317140226cdebd07bd416395 (patch)
treeaa2f9f05d2d99f37a9c5687b5c0ae32e383a166c /board/motionpro/motionpro.c
parent4520fd4d2c450da49637216aa0e53739b61c60ac (diff)
Motion-PRO: Code cleanup, fix of a typo in OF_STDOUT_PATH.
Signed-off-by: Bartlomiej Sieka <tur@semihalf.com>
Diffstat (limited to 'board/motionpro/motionpro.c')
-rw-r--r--board/motionpro/motionpro.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/board/motionpro/motionpro.c b/board/motionpro/motionpro.c
index b05e2ab1cdb..40d304b7cc2 100644
--- a/board/motionpro/motionpro.c
+++ b/board/motionpro/motionpro.c
@@ -102,7 +102,7 @@ void reset_phy(void)
/*
* Helper function to initialize SDRAM controller.
*/
-static void sdram_start (int hi_addr)
+static void sdram_start(int hi_addr)
{
long hi_addr_bit = hi_addr ? 0x01000000 : 0;
@@ -134,7 +134,7 @@ static void sdram_start (int hi_addr)
/*
* Initalize SDRAM - configure SDRAM controller, detect memory size.
*/
-long int initdram (int board_type)
+long int initdram(int board_type)
{
ulong dramsize = 0;
#ifndef CFG_RAMBOOT
@@ -187,7 +187,7 @@ long int initdram (int board_type)
}
-int checkboard (void)
+int checkboard(void)
{
uchar rev = *(vu_char *)CPLD_REV_REGISTER;
printf("Board: Promess Motion-PRO board (CPLD rev. 0x%02x)\n", rev);
@@ -204,7 +204,7 @@ void ft_board_setup(void *blob, bd_t *bd)
#if defined(CONFIG_STATUS_LED)
-void __led_init (led_id_t regaddr, int state)
+void __led_init(led_id_t regaddr, int state)
{
*((vu_long *) regaddr) |= ENABLE_GPIO_OUT;
@@ -214,7 +214,7 @@ void __led_init (led_id_t regaddr, int state)
*((vu_long *) regaddr) &= ~LED_ON;
}
-void __led_set (led_id_t regaddr, int state)
+void __led_set(led_id_t regaddr, int state)
{
if (state == STATUS_LED_ON)
*((vu_long *) regaddr) |= LED_ON;
@@ -222,7 +222,7 @@ void __led_set (led_id_t regaddr, int state)
*((vu_long *) regaddr) &= ~LED_ON;
}
-void __led_toggle (led_id_t regaddr)
+void __led_toggle(led_id_t regaddr)
{
*((vu_long *) regaddr) ^= LED_ON;
}