1/**
2 * \file
3 * \brief Platform code for the Cortex-A9 processors on TI OMAP44xx SoCs.
4 */
5
6/*
7 * Copyright (c) 2009-2016 ETH Zurich.
8 * All rights reserved.
9 *
10 * This file is distributed under the terms in the attached LICENSE file.
11 * If you do not find this file, copies can be found by writing to:
12 * ETH Zurich D-INFK, Universitaetstr 6, CH-8092 Zurich. Attn: Systems Group.
13 */
14
15#include <kernel.h>
16
17#include <maps/omap44xx_map.h>
18
19/* RAM starts at 2G (2 ** 31) on the Pandaboard */
20/* XXX - MMAP */
21lpaddr_t phys_memory_start= GEN_ADDR(31);
22
23#define NUM_UARTS 4
24unsigned int serial_console_port = 2;
25unsigned int serial_debug_port = 2;
26unsigned int serial_num_physical_ports = NUM_UARTS;
27
28const lpaddr_t uart_base[NUM_UARTS] = {
29    OMAP44XX_MAP_L4_PER_UART1,
30    OMAP44XX_MAP_L4_PER_UART2,
31    OMAP44XX_MAP_L4_PER_UART3,
32    OMAP44XX_MAP_L4_PER_UART4
33};
34
35const size_t uart_size[NUM_UARTS] = {
36    OMAP44XX_MAP_L4_PER_UART1_SIZE,
37    OMAP44XX_MAP_L4_PER_UART2_SIZE,
38    OMAP44XX_MAP_L4_PER_UART3_SIZE,
39    OMAP44XX_MAP_L4_PER_UART4_SIZE
40};
41