blob: 6d3e95c30c237422630d0dd74ade88a1a39f79ac (
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
|
/**
* @file
*
* @ingroup mpc55xx
*
* @brief Register definitions for the MPC55xx and MPC56xx microcontroller
* family.
*/
/*
* 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 LIBCPU_POWERPC_MPC55XX_REGS_H
#define LIBCPU_POWERPC_MPC55XX_REGS_H
#include <bspopts.h>
#if MPC55XX_CHIP_TYPE / 10 == 551
#include <mpc55xx/fsl-mpc551x.h>
#elif MPC55XX_CHIP_TYPE / 10 == 555
#include <mpc55xx/fsl-mpc555x.h>
#elif MPC55XX_CHIP_TYPE / 10 == 556
#include <mpc55xx/fsl-mpc556x.h>
#elif MPC55XX_CHIP_TYPE / 10 == 567
#include <mpc55xx/fsl-mpc567x.h>
#else
#error "unsupported chip type"
#endif
#define MPC55XX_ZERO_FLAGS { .R = 0 }
#endif /* LIBCPU_POWERPC_MPC55XX_REGS_H */
|