OMAP3 Fix multiline formatting in board init files.

Signed-off-by: Tom Rix <Tom.Rix@windriver.com>
This commit is contained in:
Tom Rix 2009-04-01 22:02:20 -05:00 committed by Jean-Christophe PLAGNIOL-VILLARD
parent 5f58f8d20f
commit 5891151707
5 changed files with 36 additions and 36 deletions

View File

@ -38,10 +38,10 @@
static int beagle_revision_c; static int beagle_revision_c;
/****************************************************************************** /*
* Routine: board_init * Routine: board_init
* Description: Early hardware init. * Description: Early hardware init.
*****************************************************************************/ */
int board_init(void) int board_init(void)
{ {
DECLARE_GLOBAL_DATA_PTR; DECLARE_GLOBAL_DATA_PTR;
@ -55,23 +55,23 @@ int board_init(void)
return 0; return 0;
} }
/****************************************************************************** /*
* Routine: beagle_get_revision * Routine: beagle_get_revision
* Description: Return revision of the BeagleBoard this code is running on. * Description: Return revision of the BeagleBoard this code is running on.
* If it is a revision Ax/Bx board, this function returns 0, * If it is a revision Ax/Bx board, this function returns 0,
* on a revision C board you will get a 1. * on a revision C board you will get a 1.
*****************************************************************************/ */
int beagle_get_revision(void) int beagle_get_revision(void)
{ {
return beagle_revision_c; return beagle_revision_c;
} }
/****************************************************************************** /*
* Routine: beagle_identify * Routine: beagle_identify
* Description: Detect if we are running on a Beagle revision Ax/Bx or * 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 * Cx. This can be done by GPIO_171. If this is low, we are
* running on a revision C board. * running on a revision C board.
*****************************************************************************/ */
void beagle_identify(void) void beagle_identify(void)
{ {
gpio_t *gpio6_base = (gpio_t *)OMAP34XX_GPIO6_BASE; gpio_t *gpio6_base = (gpio_t *)OMAP34XX_GPIO6_BASE;
@ -92,10 +92,10 @@ void beagle_identify(void)
} }
} }
/****************************************************************************** /*
* Routine: misc_init_r * Routine: misc_init_r
* Description: Configure board specific parts * Description: Configure board specific parts
*****************************************************************************/ */
int misc_init_r(void) int misc_init_r(void)
{ {
gpio_t *gpio5_base = (gpio_t *)OMAP34XX_GPIO5_BASE; gpio_t *gpio5_base = (gpio_t *)OMAP34XX_GPIO5_BASE;
@ -121,12 +121,12 @@ int misc_init_r(void)
return 0; return 0;
} }
/****************************************************************************** /*
* Routine: set_muxconf_regs * Routine: set_muxconf_regs
* Description: Setting up the configuration Mux registers specific to the * Description: Setting up the configuration Mux registers specific to the
* hardware. Many pins need to be moved from protect to primary * hardware. Many pins need to be moved from protect to primary
* mode. * mode.
*****************************************************************************/ */
void set_muxconf_regs(void) void set_muxconf_regs(void)
{ {
MUX_BEAGLE(); MUX_BEAGLE();

View File

@ -36,10 +36,10 @@
#include <asm/mach-types.h> #include <asm/mach-types.h>
#include "evm.h" #include "evm.h"
/****************************************************************************** /*
* Routine: board_init * Routine: board_init
* Description: Early hardware init. * Description: Early hardware init.
*****************************************************************************/ */
int board_init(void) int board_init(void)
{ {
DECLARE_GLOBAL_DATA_PTR; DECLARE_GLOBAL_DATA_PTR;
@ -53,10 +53,10 @@ int board_init(void)
return 0; return 0;
} }
/****************************************************************************** /*
* Routine: misc_init_r * Routine: misc_init_r
* Description: Init ethernet (done here so udelay works) * Description: Init ethernet (done here so udelay works)
*****************************************************************************/ */
int misc_init_r(void) int misc_init_r(void)
{ {
@ -73,22 +73,22 @@ int misc_init_r(void)
return 0; return 0;
} }
/****************************************************************************** /*
* Routine: set_muxconf_regs * Routine: set_muxconf_regs
* Description: Setting up the configuration Mux registers specific to the * Description: Setting up the configuration Mux registers specific to the
* hardware. Many pins need to be moved from protect to primary * hardware. Many pins need to be moved from protect to primary
* mode. * mode.
*****************************************************************************/ */
void set_muxconf_regs(void) void set_muxconf_regs(void)
{ {
MUX_EVM(); MUX_EVM();
} }
/****************************************************************************** /*
* Routine: setup_net_chip * Routine: setup_net_chip
* Description: Setting up the configuration GPMC registers specific to the * Description: Setting up the configuration GPMC registers specific to the
* Ethernet hardware. * Ethernet hardware.
*****************************************************************************/ */
static void setup_net_chip(void) static void setup_net_chip(void)
{ {
gpio_t *gpio3_base = (gpio_t *)OMAP34XX_GPIO3_BASE; gpio_t *gpio3_base = (gpio_t *)OMAP34XX_GPIO3_BASE;

View File

@ -35,10 +35,10 @@
#include <asm/mach-types.h> #include <asm/mach-types.h>
#include "overo.h" #include "overo.h"
/****************************************************************************** /*
* Routine: board_init * Routine: board_init
* Description: Early hardware init. * Description: Early hardware init.
*****************************************************************************/ */
int board_init(void) int board_init(void)
{ {
DECLARE_GLOBAL_DATA_PTR; DECLARE_GLOBAL_DATA_PTR;
@ -52,10 +52,10 @@ int board_init(void)
return 0; return 0;
} }
/****************************************************************************** /*
* Routine: misc_init_r * Routine: misc_init_r
* Description: Configure board specific parts * Description: Configure board specific parts
*****************************************************************************/ */
int misc_init_r(void) int misc_init_r(void)
{ {
power_init_r(); power_init_r();
@ -65,12 +65,12 @@ int misc_init_r(void)
return 0; return 0;
} }
/****************************************************************************** /*
* Routine: set_muxconf_regs * Routine: set_muxconf_regs
* Description: Setting up the configuration Mux registers specific to the * Description: Setting up the configuration Mux registers specific to the
* hardware. Many pins need to be moved from protect to primary * hardware. Many pins need to be moved from protect to primary
* mode. * mode.
*****************************************************************************/ */
void set_muxconf_regs(void) void set_muxconf_regs(void)
{ {
MUX_OVERO(); MUX_OVERO();

View File

@ -36,10 +36,10 @@
#include <asm/mach-types.h> #include <asm/mach-types.h>
#include "pandora.h" #include "pandora.h"
/****************************************************************************** /*
* Routine: board_init * Routine: board_init
* Description: Early hardware init. * Description: Early hardware init.
*****************************************************************************/ */
int board_init(void) int board_init(void)
{ {
DECLARE_GLOBAL_DATA_PTR; DECLARE_GLOBAL_DATA_PTR;
@ -53,10 +53,10 @@ int board_init(void)
return 0; return 0;
} }
/****************************************************************************** /*
* Routine: misc_init_r * Routine: misc_init_r
* Description: Configure board specific parts * Description: Configure board specific parts
*****************************************************************************/ */
int misc_init_r(void) int misc_init_r(void)
{ {
gpio_t *gpio1_base = (gpio_t *)OMAP34XX_GPIO1_BASE; gpio_t *gpio1_base = (gpio_t *)OMAP34XX_GPIO1_BASE;
@ -82,12 +82,12 @@ int misc_init_r(void)
return 0; return 0;
} }
/****************************************************************************** /*
* Routine: set_muxconf_regs * Routine: set_muxconf_regs
* Description: Setting up the configuration Mux registers specific to the * Description: Setting up the configuration Mux registers specific to the
* hardware. Many pins need to be moved from protect to primary * hardware. Many pins need to be moved from protect to primary
* mode. * mode.
*****************************************************************************/ */
void set_muxconf_regs(void) void set_muxconf_regs(void)
{ {
MUX_PANDORA(); MUX_PANDORA();

View File

@ -37,10 +37,10 @@
#include <asm/mach-types.h> #include <asm/mach-types.h>
#include "zoom1.h" #include "zoom1.h"
/****************************************************************************** /*
* Routine: board_init * Routine: board_init
* Description: Early hardware init. * Description: Early hardware init.
*****************************************************************************/ */
int board_init(void) int board_init(void)
{ {
DECLARE_GLOBAL_DATA_PTR; DECLARE_GLOBAL_DATA_PTR;
@ -54,10 +54,10 @@ int board_init(void)
return 0; return 0;
} }
/****************************************************************************** /*
* Routine: misc_init_r * Routine: misc_init_r
* Description: Configure zoom board specific configurations * Description: Configure zoom board specific configurations
*****************************************************************************/ */
int misc_init_r(void) int misc_init_r(void)
{ {
power_init_r(); power_init_r();
@ -65,12 +65,12 @@ int misc_init_r(void)
return 0; return 0;
} }
/****************************************************************************** /*
* Routine: set_muxconf_regs * Routine: set_muxconf_regs
* Description: Setting up the configuration Mux registers specific to the * Description: Setting up the configuration Mux registers specific to the
* hardware. Many pins need to be moved from protect to primary * hardware. Many pins need to be moved from protect to primary
* mode. * mode.
*****************************************************************************/ */
void set_muxconf_regs(void) void set_muxconf_regs(void)
{ {
/* platform specific muxes */ /* platform specific muxes */