summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/powerpc/mpc55xxevb/include/mpc55xx-config.h
blob: 181e51992189b87b0c717160c9ebf7e138166af2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
/**
 * @file
 *
 * @ingroup mpc55xx
 *
 * @brief MPC55XX low-level configuration.
 */

/*
 * Copyright (c) 2008-2011 embedded brains GmbH.  All rights reserved.
 *
 *  embedded brains GmbH
 *  Obere Lagerstr. 30
 *  82178 Puchheim
 *  Germany
 *  <rtems@embedded-brains.de>
 *
 * The license and distribution terms for this file may be
 * found in the file LICENSE in this distribution or at
 * http://www.rtems.com/license/LICENSE.
 *
 * $Id$
 */

#ifndef LIBBSP_POWERPC_MPC55XXEVB_MPC55XX_CONFIG_H
#define LIBBSP_POWERPC_MPC55XXEVB_MPC55XX_CONFIG_H

#include <stddef.h>

#include <mpc55xx/regs.h>
#include <mpc55xx/regs-mmu.h>

#ifdef __cplusplus
extern "C" {
#endif /* __cplusplus */

typedef struct {
  uint16_t index;
  uint16_t count;
  union SIU_PCR_tag pcr;
} mpc55xx_siu_pcr_config_entry;

extern const mpc55xx_siu_pcr_config_entry mpc55xx_siu_pcr_config [];

extern const size_t mpc55xx_siu_pcr_config_count [];

extern const struct MMU_tag mpc55xx_mmu_config [];

extern const size_t mpc55xx_mmu_config_count [];

extern const struct EBI_CS_tag mpc55xx_ebi_cs_config [];

extern const size_t mpc55xx_ebi_cs_config_count [];

extern const struct EBI_CAL_CS_tag mpc55xx_ebi_cal_cs_config [];

extern const size_t mpc55xx_ebi_cal_cs_config_count [];

void mpc55xx_early_init(void);

#ifdef __cplusplus
}
#endif /* __cplusplus */

#endif /* LIBBSP_POWERPC_MPC55XXEVB_MPC55XX_CONFIG_H */