forked from Imagelibrary/rtems
@@ -1,21 +1,17 @@
|
|||||||
/*===============================================================*\
|
/*
|
||||||
| Project: RTEMS support for MPC83xx |
|
* RTEMS support for MPC83xx
|
||||||
+-----------------------------------------------------------------+
|
*
|
||||||
| Copyright (c) 2007 |
|
* This file contains the MPC83xx I2C driver.
|
||||||
| embedded brains GmbH |
|
*/
|
||||||
| Obere Lagerstr. 30 |
|
|
||||||
| 82178 Puchheim |
|
/*
|
||||||
| Germany |
|
* Copyright (c) 2007 embedded brains GmbH. All rights reserved.
|
||||||
| rtems@embedded-brains.de |
|
*
|
||||||
+-----------------------------------------------------------------+
|
* The license and distribution terms for this file may be
|
||||||
| The license and distribution terms for this file may be |
|
* found in the file LICENSE in this distribution or at
|
||||||
| found in the file LICENSE in this distribution or at |
|
* http://www.rtems.org/license/LICENSE.
|
||||||
| |
|
*/
|
||||||
| http://www.rtems.org/license/LICENSE. |
|
|
||||||
| |
|
|
||||||
+-----------------------------------------------------------------+
|
|
||||||
| this file contains the MPC83xx I2C driver |
|
|
||||||
\*===============================================================*/
|
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <bsp.h>
|
#include <bsp.h>
|
||||||
#include <bsp/irq.h>
|
#include <bsp/irq.h>
|
||||||
|
|||||||
@@ -1,22 +1,18 @@
|
|||||||
/*===============================================================*\
|
/*
|
||||||
| Project: RTEMS support for MPC83xx |
|
* RTEMS support for MPC83xx
|
||||||
+-----------------------------------------------------------------+
|
*
|
||||||
| Copyright (c) 2007 |
|
* This file contains the MPC83xx SPI driver.
|
||||||
| embedded brains GmbH |
|
* NOTE: it uses the same API as the I2C driver.
|
||||||
| Obere Lagerstr. 30 |
|
*/
|
||||||
| 82178 Puchheim |
|
|
||||||
| Germany |
|
/*
|
||||||
| rtems@embedded-brains.de |
|
* Copyright (c) 2007 embedded brains GmbH. All rights reserved.
|
||||||
+-----------------------------------------------------------------+
|
*
|
||||||
| The license and distribution terms for this file may be |
|
* The license and distribution terms for this file may be
|
||||||
| found in the file LICENSE in this distribution or at |
|
* found in the file LICENSE in this distribution or at
|
||||||
| |
|
* http://www.rtems.org/license/LICENSE.
|
||||||
| http://www.rtems.org/license/LICENSE. |
|
*/
|
||||||
| |
|
|
||||||
+-----------------------------------------------------------------+
|
|
||||||
| this file contains the MPC83xx SPI driver |
|
|
||||||
| NOTE: it uses the same API as the I2C driver |
|
|
||||||
\*===============================================================*/
|
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <bsp.h>
|
#include <bsp.h>
|
||||||
#include <bsp/irq.h>
|
#include <bsp/irq.h>
|
||||||
|
|||||||
@@ -1,22 +1,16 @@
|
|||||||
/*===============================================================*\
|
/*
|
||||||
| Project: RTEMS support for MPC83xx |
|
* RTEMS support for MPC83xx
|
||||||
+-----------------------------------------------------------------+
|
*
|
||||||
| Copyright (c) 2007 |
|
* This file contains the low level MPC83xx I2C driver parameters.
|
||||||
| 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.org/license/LICENSE. |
|
|
||||||
| |
|
|
||||||
+-----------------------------------------------------------------+
|
|
||||||
| this file contains the low level MPC83xx I2C driver parameters |
|
|
||||||
\*===============================================================*/
|
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Copyright (c) 2007 embedded brains GmbH. All rights reserved.
|
||||||
|
*
|
||||||
|
* The license and distribution terms for this file may be
|
||||||
|
* found in the file LICENSE in this distribution or at
|
||||||
|
* http://www.rtems.org/license/LICENSE.
|
||||||
|
*/
|
||||||
|
|
||||||
#include <mpc83xx/mpc83xx_i2cdrv.h>
|
#include <mpc83xx/mpc83xx_i2cdrv.h>
|
||||||
#include <libchip/i2c-2b-eeprom.h>
|
#include <libchip/i2c-2b-eeprom.h>
|
||||||
|
|||||||
@@ -6,25 +6,19 @@
|
|||||||
* @brief Global BSP definitions.
|
* @brief Global BSP definitions.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/*===============================================================*\
|
/*
|
||||||
| Project: RTEMS generic MPC83xx BSP |
|
* RTEMS generic MPC83xx BSP
|
||||||
+-----------------------------------------------------------------+
|
*
|
||||||
| Copyright (c) 2007 |
|
* This file contains board specific definitions.
|
||||||
| 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.org/license/LICENSE. |
|
|
||||||
| |
|
|
||||||
+-----------------------------------------------------------------+
|
|
||||||
| this file contains board specific definitions |
|
|
||||||
\*===============================================================*/
|
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Copyright (c) 2007 embedded brains GmbH. All rights reserved.
|
||||||
|
*
|
||||||
|
* The license and distribution terms for this file may be
|
||||||
|
* found in the file LICENSE in this distribution or at
|
||||||
|
* http://www.rtems.org/license/LICENSE.
|
||||||
|
*/
|
||||||
|
|
||||||
#ifndef LIBBSP_POWERPC_GEN83XX_BSP_H
|
#ifndef LIBBSP_POWERPC_GEN83XX_BSP_H
|
||||||
#define LIBBSP_POWERPC_GEN83XX_BSP_H
|
#define LIBBSP_POWERPC_GEN83XX_BSP_H
|
||||||
|
|||||||
@@ -1,22 +1,16 @@
|
|||||||
/*===============================================================*\
|
/*
|
||||||
| Project: RTEMS generic MPC83xx BSP |
|
* RTEMS generic MPC83xx BSP
|
||||||
+-----------------------------------------------------------------+
|
*
|
||||||
| Copyright (c) 2007 |
|
* This file contains board specific definitions.
|
||||||
| 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.org/license/LICENSE. |
|
|
||||||
| |
|
|
||||||
+-----------------------------------------------------------------+
|
|
||||||
| this file contains board specific definitions |
|
|
||||||
\*===============================================================*/
|
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Copyright (c) 2007 embedded brains GmbH. All rights reserved.
|
||||||
|
*
|
||||||
|
* The license and distribution terms for this file may be
|
||||||
|
* found in the file LICENSE in this distribution or at
|
||||||
|
* http://www.rtems.org/license/LICENSE.
|
||||||
|
*/
|
||||||
|
|
||||||
#ifndef __GEN83xx_HWREG_VALS_h
|
#ifndef __GEN83xx_HWREG_VALS_h
|
||||||
#define __GEN83xx_HWREG_VALS_h
|
#define __GEN83xx_HWREG_VALS_h
|
||||||
|
|||||||
@@ -1,22 +1,16 @@
|
|||||||
/*===============================================================*\
|
/*
|
||||||
| Project: RTEMS generic MPC83xx BSP |
|
* RTEMS generic MPC83xx BSP
|
||||||
+-----------------------------------------------------------------+
|
*
|
||||||
| Copyright (c) 2007, 2010 |
|
* This file declares constants of the interrupt controller.
|
||||||
| 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.org/license/LICENSE. |
|
|
||||||
| |
|
|
||||||
+-----------------------------------------------------------------+
|
|
||||||
| this file declares constants of the interrupt controller |
|
|
||||||
\*===============================================================*/
|
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Copyright (c) 2008, 2010 embedded brains GmbH. All rights reserved.
|
||||||
|
*
|
||||||
|
* The license and distribution terms for this file may be
|
||||||
|
* found in the file LICENSE in this distribution or at
|
||||||
|
* http://www.rtems.org/license/LICENSE.
|
||||||
|
*/
|
||||||
|
|
||||||
#ifndef GEN83xx_IRQ_IRQ_H
|
#ifndef GEN83xx_IRQ_IRQ_H
|
||||||
#define GEN83xx_IRQ_IRQ_H
|
#define GEN83xx_IRQ_IRQ_H
|
||||||
|
|||||||
@@ -1,21 +1,16 @@
|
|||||||
/*===============================================================*\
|
/*
|
||||||
| Project: RTEMS generic MPC83xx BSP |
|
* RTEMS generic MPC83xx BSP
|
||||||
+-----------------------------------------------------------------+
|
*
|
||||||
| Copyright (c) 2007 |
|
* This file integrates the IPIC irq controller.
|
||||||
| embedded brains GmbH |
|
*/
|
||||||
| Obere Lagerstr. 30 |
|
|
||||||
| 82178 Puchheim |
|
/*
|
||||||
| Germany |
|
* Copyright (c) 2007 embedded brains GmbH. All rights reserved.
|
||||||
| rtems@embedded-brains.de |
|
*
|
||||||
+-----------------------------------------------------------------+
|
* The license and distribution terms for this file may be
|
||||||
| The license and distribution terms for this file may be |
|
* found in the file LICENSE in this distribution or at
|
||||||
| found in the file LICENSE in this distribution or at |
|
* http://www.rtems.org/license/LICENSE.
|
||||||
| |
|
*/
|
||||||
| http://www.rtems.org/license/LICENSE. |
|
|
||||||
| |
|
|
||||||
+-----------------------------------------------------------------+
|
|
||||||
| this file integrates the IPIC irq controller |
|
|
||||||
\*===============================================================*/
|
|
||||||
|
|
||||||
#include <mpc83xx/mpc83xx.h>
|
#include <mpc83xx/mpc83xx.h>
|
||||||
|
|
||||||
|
|||||||
@@ -1,23 +1,17 @@
|
|||||||
/*===============================================================*\
|
/*
|
||||||
| Project: RTEMS support for MPC83xx |
|
* RTEMS support for MPC83xx
|
||||||
+-----------------------------------------------------------------+
|
*
|
||||||
| Copyright (c) 2007 |
|
* This file contains the low level MPC83xx SPI driver parameters
|
||||||
| embedded brains GmbH |
|
* and board-specific functions.
|
||||||
| 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.org/license/LICENSE. |
|
|
||||||
| |
|
|
||||||
+-----------------------------------------------------------------+
|
|
||||||
| this file contains the low level MPC83xx SPI driver parameters |
|
|
||||||
| and board-specific functions |
|
|
||||||
\*===============================================================*/
|
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Copyright (c) 2007 embedded brains GmbH. All rights reserved.
|
||||||
|
*
|
||||||
|
* The license and distribution terms for this file may be
|
||||||
|
* found in the file LICENSE in this distribution or at
|
||||||
|
* http://www.rtems.org/license/LICENSE.
|
||||||
|
*/
|
||||||
|
|
||||||
#include <mpc83xx/mpc83xx_spidrv.h>
|
#include <mpc83xx/mpc83xx_spidrv.h>
|
||||||
#include <bsp/irq.h>
|
#include <bsp/irq.h>
|
||||||
|
|||||||
@@ -1,22 +1,16 @@
|
|||||||
/*===============================================================*\
|
/*
|
||||||
| Project: RTEMS generic MPC83xx BSP |
|
* RTEMS generic MPC83xx BSP
|
||||||
+-----------------------------------------------------------------+
|
*
|
||||||
| Copyright (c) 2007 |
|
* This file contains the startup assembly code.
|
||||||
| 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.org/license/LICENSE. |
|
|
||||||
| |
|
|
||||||
+-----------------------------------------------------------------+
|
|
||||||
| this file contains the startup assembly code |
|
|
||||||
\*===============================================================*/
|
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Copyright (c) 2007 embedded brains GmbH. All rights reserved.
|
||||||
|
*
|
||||||
|
* The license and distribution terms for this file may be
|
||||||
|
* found in the file LICENSE in this distribution or at
|
||||||
|
* http://www.rtems.org/license/LICENSE.
|
||||||
|
*/
|
||||||
|
|
||||||
#include <libcpu/powerpc-utility.h>
|
#include <libcpu/powerpc-utility.h>
|
||||||
#include <rtems/powerpc/cache.h>
|
#include <rtems/powerpc/cache.h>
|
||||||
|
|||||||
Reference in New Issue
Block a user