source: rtems/c/src/lib/libbsp/powerpc/ep1a/pci/no_host_bridge.c @ 7a4c4f4

4.11
Last change on this file since 7a4c4f4 was 7a4c4f4, checked in by Joel Sherrill <joel.sherrill@…>, on Oct 13, 2014 at 3:28:44 PM

powerpc/ep1a: Fix warnings

  • Property mode set to 100644
File size: 671 bytes
Line 
1/*
2 *  COPYRIGHT (c) 1989-2008.
3 *  On-Line Applications Research Corporation (OAR).
4 *
5 *  The license and distribution terms for this file may be
6 *  found in the file LICENSE in this distribution or at
7 *  http://www.rtems.org/license/LICENSE.
8 */
9
10#include <libcpu/io.h>
11#include <libcpu/spr.h>
12
13#include <bsp.h>
14#include <bsp/pci.h>
15#include <bsp/consoleIo.h>
16#include <bsp/residual.h>
17#include <bsp/openpic.h>
18
19#include <rtems/bspIo.h>
20
21/*
22 * For the 8240 and the 8245 there is no host bridge the
23 * Open PIC device is built into the processor chip.
24 */
25void detect_host_bridge(void)
26{
27  OpenPIC=(volatile struct OpenPIC *) (EUMBBAR + BSP_OPEN_PIC_BASE_OFFSET );
28}
Note: See TracBrowser for help on using the repository browser.