source: rtems/c/src/lib/libbsp/arm/xilinx-zynq/include/bsp.h @ 957c075

4.115
Last change on this file since 957c075 was 957c075, checked in by Sebastian Huber <sebastian.huber@…>, on 11/19/14 at 10:51:33

bsps/arm: L2C 310 rename BSP_ARM_L2CC_BASE

Rename BSP_ARM_L2CC_BASE to BSP_ARM_L2C_310_BASE.

  • Property mode set to 100644
File size: 1.6 KB
Line 
1/**
2 * @file
3 * @ingroup arm_zynq
4 * @brief Global BSP definitions.
5 */
6
7/*
8 * Copyright (c) 2013-2014 embedded brains GmbH.  All rights reserved.
9 *
10 *  embedded brains GmbH
11 *  Dornierstr. 4
12 *  82178 Puchheim
13 *  Germany
14 *  <info@embedded-brains.de>
15 *
16 * The license and distribution terms for this file may be
17 * found in the file LICENSE in this distribution or at
18 * http://www.rtems.org/license/LICENSE.
19 */
20
21#ifndef LIBBSP_ARM_XILINX_ZYNQ_BSP_H
22#define LIBBSP_ARM_XILINX_ZYNQ_BSP_H
23
24#include <bspopts.h>
25
26#define BSP_FEATURE_IRQ_EXTENSION
27
28#ifndef ASM
29
30#include <rtems.h>
31#include <rtems/console.h>
32#include <rtems/clockdrv.h>
33
34#include <bsp/default-initial-extension.h>
35#include <bsp/start.h>
36
37#ifdef __cplusplus
38extern "C" {
39#endif /* __cplusplus */
40
41/**
42 * @defgroup arm_zynq Xilinx-Zynq Support
43 * @ingroup bsp_arm
44 * @brief Xilinz-Zynq Board Support Package
45 * @{
46 */
47
48#define BSP_ARM_A9MPCORE_SCU_BASE 0xf8f00000
49
50#define BSP_ARM_GIC_CPUIF_BASE 0xf8f00100
51
52#define BSP_ARM_A9MPCORE_GT_BASE 0xf8f00200
53
54#define BSP_ARM_A9MPCORE_PT_BASE 0xf8f00600
55
56#define BSP_ARM_GIC_DIST_BASE 0xf8f01000
57
58#define BSP_ARM_L2C_310_BASE 0xF8F02000U
59
60/**
61 * @brief Zynq specific set up of the MMU.
62 *
63 * Provide in the application to override
64 * the defaults in the BSP. Note the defaults do not map in the GP0 and GP1
65 * AXI ports. You should add the specific regions that map into your
66 * PL rather than just open the whole of the GP[01] address space up.
67 */
68BSP_START_TEXT_SECTION void zynq_setup_mmu_and_cache(void);
69
70uint32_t zynq_clock_cpu_1x(void);
71
72/** @} */
73
74#ifdef __cplusplus
75}
76#endif /* __cplusplus */
77
78#endif /* ASM */
79
80#endif /* LIBBSP_ARM_XILINX_ZYNQ_BSP_H */
Note: See TracBrowser for help on using the repository browser.