source: rtems/bsps/arm/xilinx-zynq/include/bsp.h @ c991eeec

5
Last change on this file since c991eeec was c991eeec, checked in by Sebastian Huber <sebastian.huber@…>, on 03/04/19 at 14:32:15

bsps: Adjust bsp.h Doxygen groups

Update #3706.

  • Property mode set to 100644
File size: 1.6 KB
Line 
1/**
2 * @file
3 * @ingroup RTEMSBSPsARMZynq
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/**
25 * @defgroup RTEMSBSPsARMZynq Xilinx Zynq
26 *
27 * @ingroup RTEMSBSPsARM
28 *
29 * @brief Xilinx Zynq Board Support Package.
30 *
31 * @{
32 */
33
34#include <bspopts.h>
35
36#define BSP_FEATURE_IRQ_EXTENSION
37
38#ifndef ASM
39
40#include <rtems.h>
41
42#include <bsp/default-initial-extension.h>
43#include <bsp/start.h>
44
45#ifdef __cplusplus
46extern "C" {
47#endif /* __cplusplus */
48
49#define BSP_ARM_A9MPCORE_SCU_BASE 0xf8f00000
50
51#define BSP_ARM_GIC_CPUIF_BASE 0xf8f00100
52
53#define BSP_ARM_A9MPCORE_GT_BASE 0xf8f00200
54
55#define BSP_ARM_A9MPCORE_PT_BASE 0xf8f00600
56
57#define BSP_ARM_GIC_DIST_BASE 0xf8f01000
58
59#define BSP_ARM_L2C_310_BASE 0xf8f02000
60
61#define BSP_ARM_L2C_310_ID 0x410000c8
62
63/**
64 * @brief Zynq specific set up of the MMU.
65 *
66 * Provide in the application to override
67 * the defaults in the BSP. Note the defaults do not map in the GP0 and GP1
68 * AXI ports. You should add the specific regions that map into your
69 * PL rather than just open the whole of the GP[01] address space up.
70 */
71BSP_START_TEXT_SECTION void zynq_setup_mmu_and_cache(void);
72
73uint32_t zynq_clock_cpu_1x(void);
74
75#ifdef __cplusplus
76}
77#endif /* __cplusplus */
78
79#endif /* ASM */
80
81/** @} */
82
83#endif /* LIBBSP_ARM_XILINX_ZYNQ_BSP_H */
Note: See TracBrowser for help on using the repository browser.