summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/lm32/shared/startup/bspstart.c
blob: c84b689bb5a0ec186414c53574e9181c9ba2da85 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
/*
 *  This routine starts the application.  It includes application,
 *  board, and monitor specific initialization and configuration.
 *  The generic CPU dependent initialization has been performed
 *  before this routine is invoked.
 *
 *  COPYRIGHT (c) 1989-1999.
 *  On-Line Applications Research Corporation (OAR).
 *
 *  The license and distribution terms for this file may be
 *  found in the file LICENSE in this distribution or at
 *  http://www.rtems.org/license/LICENSE.
 *
 *  Jukka Pietarinen <jukka.pietarinen@mrf.fi>, 2008,
 *  Micro-Research Finland Oy
 */

#include <string.h>

#include <bsp.h>
#include <bsp/bootcard.h>
#include "../include/system_conf.h"
#include "../console/uart.h"

/*
 *  bsp_start
 *
 *  This routine does the bulk of the system initialization.
 */

void bsp_start(void)
{
  /* Setup console baud rate */
  BSP_uart_init(UART_BAUD_RATE);
}

void bsp_predriver_hook(void)
{
}