]> rtime.felk.cvut.cz Git - l4.git/blob - l4/pkg/bootstrap/server/src/support_omap3evm.cc
update
[l4.git] / l4 / pkg / bootstrap / server / src / support_omap3evm.cc
1 /*!
2  * \file   support_omap3evm.cc
3  * \brief  Support for the OMAP3EVM platform
4  *
5  * \date   2008-06-13
6  * \author Adam Lackorznynski <adam@os.inf.tu-dresden.de>
7  *
8  */
9 /*
10  * (c) 2008-2009 Author(s)
11  *     economic rights: Technische Universität Dresden (Germany)
12  *
13  * This file is part of TUD:OS and distributed under the terms of the
14  * GNU General Public License 2.
15  * Please see the COPYING-GPL-2 file for details.
16  */
17
18 #include "support.h"
19 #include <l4/drivers/uart_omap35x.h>
20
21 namespace {
22 class Platform_arm_omap3 : public Platform_single_region_ram
23 {
24   bool probe() { return true; }
25
26   void init()
27   {
28     static L4::Uart_omap35x _uart(1, 1);
29     _uart.startup(0x4806a000);
30     set_stdio_uart(&_uart);
31   }
32 };
33 }
34
35 REGISTER_PLATFORM(Platform_arm_omap3);