forked from Imagelibrary/rtems
bsps/mvme2700: Add MVME2700 BSP
This commit is contained in:
@@ -50,8 +50,8 @@ extern "C" {
|
|||||||
* _VME_A32_WIN0_ON_VME: VME address of that same window
|
* _VME_A32_WIN0_ON_VME: VME address of that same window
|
||||||
*
|
*
|
||||||
* AFAIK, only PreP boards have a non-zero PCI_MEM_BASE (i.e., an offset between
|
* AFAIK, only PreP boards have a non-zero PCI_MEM_BASE (i.e., an offset between
|
||||||
* CPU and PCI addresses). The mvme2300 'ppcbug' firmware configures the PCI
|
* CPU and PCI addresses). The mvme2307/mvme2700 'ppcbug' firmware configures the
|
||||||
* bus using PCI base addresses! I.e., drivers need to add PCI_MEM_BASE to
|
* PCI bus using PCI base addresses! I.e., drivers need to add PCI_MEM_BASE to
|
||||||
* the base address read from PCI config.space in order to translate that
|
* the base address read from PCI config.space in order to translate that
|
||||||
* into a CPU address.
|
* into a CPU address.
|
||||||
*
|
*
|
||||||
@@ -169,7 +169,7 @@ extern "C" {
|
|||||||
#define BSP_VGA_IOBASE ((_IO_BASE)+0x3c0)
|
#define BSP_VGA_IOBASE ((_IO_BASE)+0x3c0)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(mvme2300)
|
#if defined(mvme2300) || defined(mvme2307) || defined(mvme2700)
|
||||||
#define MVME_HAS_DEC21140
|
#define MVME_HAS_DEC21140
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
@@ -271,7 +271,7 @@ extern int BSP_connect_clock_handler (void);
|
|||||||
* It returns and clears the error bits of the PCI status register.
|
* It returns and clears the error bits of the PCI status register.
|
||||||
* MCP support is disabled because:
|
* MCP support is disabled because:
|
||||||
* a) the 2100 has no raven chip
|
* a) the 2100 has no raven chip
|
||||||
* b) the raven (2300) would raise machine check interrupts
|
* b) the raven (2300, 2307, 2700) would raise machine check interrupts
|
||||||
* on PCI config space access to empty slots.
|
* on PCI config space access to empty slots.
|
||||||
*/
|
*/
|
||||||
extern unsigned long _BSP_clear_hostbridge_errors(int enableMCP, int quiet);
|
extern unsigned long _BSP_clear_hostbridge_errors(int enableMCP, int quiet);
|
||||||
|
|||||||
@@ -17,7 +17,7 @@ default:
|
|||||||
- -mcpu=powerpc
|
- -mcpu=powerpc
|
||||||
- -mmultiple
|
- -mmultiple
|
||||||
- -mstrict-align
|
- -mstrict-align
|
||||||
- enabled-by: powerpc/mvme2307
|
- enabled-by: [powerpc/mvme2307, powerpc/mvme2700]
|
||||||
value:
|
value:
|
||||||
- -mcpu=604
|
- -mcpu=604
|
||||||
- -mmultiple
|
- -mmultiple
|
||||||
|
|||||||
19
spec/build/bsps/powerpc/motorola_powerpc/bspmvme2700.yml
Normal file
19
spec/build/bsps/powerpc/motorola_powerpc/bspmvme2700.yml
Normal file
@@ -0,0 +1,19 @@
|
|||||||
|
SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
|
||||||
|
arch: powerpc
|
||||||
|
bsp: mvme2700
|
||||||
|
build-type: bsp
|
||||||
|
cflags: []
|
||||||
|
copyrights:
|
||||||
|
- Copyright (C) 2023 Chris Johns
|
||||||
|
cppflags: []
|
||||||
|
enabled-by: true
|
||||||
|
family: motorola_powerpc
|
||||||
|
includes: []
|
||||||
|
install: []
|
||||||
|
links:
|
||||||
|
- role: build-dependency
|
||||||
|
uid: ../../opto2
|
||||||
|
- role: build-dependency
|
||||||
|
uid: grp
|
||||||
|
source: []
|
||||||
|
type: build
|
||||||
Reference in New Issue
Block a user