summaryrefslogtreecommitdiff
path: root/board/omap3/beagle/beagle.c
diff options
context:
space:
mode:
authorTom Rix <Tom.Rix@windriver.com>2009-04-01 22:02:20 -0500
committerJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>2009-04-05 00:30:38 +0200
commit5891151707ee5902fe62d554c247f42865815757 (patch)
treed80861d196bd256bf76cc128b5ba95ccddfaa23a /board/omap3/beagle/beagle.c
parent5f58f8d20f97deaf4dde7eb3886efa3e5a3715ee (diff)
downloadu-boot-imx-5891151707ee5902fe62d554c247f42865815757.zip
u-boot-imx-5891151707ee5902fe62d554c247f42865815757.tar.gz
u-boot-imx-5891151707ee5902fe62d554c247f42865815757.tar.bz2
OMAP3 Fix multiline formatting in board init files.
Signed-off-by: Tom Rix <Tom.Rix@windriver.com>
Diffstat (limited to 'board/omap3/beagle/beagle.c')
-rw-r--r--board/omap3/beagle/beagle.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/board/omap3/beagle/beagle.c b/board/omap3/beagle/beagle.c
index 8d60651..cc8e2f9 100644
--- a/board/omap3/beagle/beagle.c
+++ b/board/omap3/beagle/beagle.c
@@ -38,10 +38,10 @@
static int beagle_revision_c;
-/******************************************************************************
+/*
* Routine: board_init
* Description: Early hardware init.
- *****************************************************************************/
+ */
int board_init(void)
{
DECLARE_GLOBAL_DATA_PTR;
@@ -55,23 +55,23 @@ int board_init(void)
return 0;
}
-/******************************************************************************
+/*
* Routine: beagle_get_revision
* Description: Return revision of the BeagleBoard this code is running on.
* If it is a revision Ax/Bx board, this function returns 0,
* on a revision C board you will get a 1.
- *****************************************************************************/
+ */
int beagle_get_revision(void)
{
return beagle_revision_c;
}
-/******************************************************************************
+/*
* Routine: beagle_identify
* Description: Detect if we are running on a Beagle revision Ax/Bx or
* Cx. This can be done by GPIO_171. If this is low, we are
* running on a revision C board.
- *****************************************************************************/
+ */
void beagle_identify(void)
{
gpio_t *gpio6_base = (gpio_t *)OMAP34XX_GPIO6_BASE;
@@ -92,10 +92,10 @@ void beagle_identify(void)
}
}
-/******************************************************************************
+/*
* Routine: misc_init_r
* Description: Configure board specific parts
- *****************************************************************************/
+ */
int misc_init_r(void)
{
gpio_t *gpio5_base = (gpio_t *)OMAP34XX_GPIO5_BASE;
@@ -121,12 +121,12 @@ int misc_init_r(void)
return 0;
}
-/******************************************************************************
+/*
* Routine: set_muxconf_regs
* Description: Setting up the configuration Mux registers specific to the
* hardware. Many pins need to be moved from protect to primary
* mode.
- *****************************************************************************/
+ */
void set_muxconf_regs(void)
{
MUX_BEAGLE();