2 * \file support_beagleboard.cc
3 * \brief Support for the Beagleboard
6 * \author Adam Lackorznynski <adam@os.inf.tu-dresden.de>
11 * economic rights: Technische Universität Dresden (Germany)
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.
19 #include <l4/drivers/uart_omap35x.h>
22 class Platform_arm_omap : public Platform_single_region_ram
24 bool probe() { return true; }
28 static L4::Uart_omap35x _uart(1, 1);
29 #ifdef PLATFORM_TYPE_beagleboard
30 _uart.startup(0x49020000);
31 #elif defined(PLATFORM_TYPE_omap3evm)
32 _uart.startup(0x4806a000);
33 #elif defined(PLATFORM_TYPE_pandaboard)
34 _uart.startup(0x48020000);
36 #error Unknown platform
38 set_stdio_uart(&_uart);
43 REGISTER_PLATFORM(Platform_arm_omap);