summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/arm/beagle/startup/bspstart.c
blob: b1565640c6de89e4c2bf53239329c463ce88904e (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
/*
 * Copyright (c) 2013 embedded brains GmbH.  All rights reserved.
 *
 *  embedded brains GmbH
 *  Dornierstr. 4
 *  82178 Puchheim
 *  Germany
 *  <info@embedded-brains.de>
 *
 * 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.
 */

#include <bsp.h>
#include <bsp/bootcard.h>
#include <bsp/irq-generic.h>

void bsp_start(void)
{
#if IS_DM3730
  const char* type = "dm3730-based";
#endif
#if IS_AM335X
  const char* type = "am335x-based";
#endif
  bsp_interrupt_initialize();
  printk("\nRTEMS Beagleboard: %s\n", type);
}