FreeBSD/sys/arm/ti/omap4/pandaboard/pandaboard.c
/**
 *	board_init - initialises the pandaboard
 *	@dummy: ignored
 * 
 *	This function is called before any of the driver are initialised, which is
 *	annoying because it means we can't use the SCM, PRCM and GPIO modules which
 *	would really be useful.
 *
 *	So we don't have:
 *	   - any drivers
 *	   - no interrupts
 *
 *	What we do have:
 *	   - virt/phys mappings from the devmap (see omap4.c)
 *	   - 
 *
 *
 *	So we are hamstrung without the useful drivers and we have to go back to
 *	direct register manupulation. Luckly we don't have to do to much, basically
 *	just setup the usb hub/ethernet.
 *
 */
initialises the pandaboard
@dummy: ignored

This function is called before any of the driver are initialised, which is
annoying because it means we can't use the SCM, PRCM and GPIO modules which
would really be useful.

So we don't have:
- any drivers
- no interrupts



So we are hamstrung without the useful drivers and we have to go back to
direct register manupulation. Luckly we don't have to do to much, basically
just setup the usb hub/ethernet.
initialises the pandaboard @dummy : ignored This function is called before any of the driver are initialised which is annoying because it means we can ' t use the SCM PRCM and GPIO modules which would really be useful . So we don ' t have : - any drivers - no interrupts So we are hamstrung without the useful drivers and we have to go back to direct register manupulation . Luckly we don ' t have to do to much basically just setup the usb hub / ethernet .
static void
board_init(void *dummy)
{
	usb_hub_init();
}
static void board_init ( void * dummy ) { usb_hub_init ( ) ; }
board_init - initialises the pandaboard
      @dummy: ignored
board_init - initialises the pandaboard @dummy : ignored
/* Initialise the USB phy and hub */ /*
	 * XXX Board identification e.g. read out from FPGA or similar should
	 * go here
	 */