diff options
author | Chris Johns <chrisj@rtems.org> | 2023-04-10 17:43:47 -1000 |
---|---|---|
committer | Chris Johns <chris@contemporary.net.au> | 2023-04-11 14:54:54 +1000 |
commit | 25e1a1140283e440d06d4af544d02a46997ba495 (patch) | |
tree | ae1cdada3cec425d17a5cc16b3012a8ecac2db87 /bsps/powerpc/motorola_powerpc/include/bsp.h | |
parent | bsps/motorola_powerpc: Add spec support for BSP defines (diff) | |
download | rtems-25e1a1140283e440d06d4af544d02a46997ba495.tar.bz2 |
bsps/motorola_powerpc: Change defines from BSP names to avoid clash
- Change mvme2100 to mot_pcc_mvme2100 to avoid clashing with the
RTEMS_BSP value for the BSP. You cannot have a define that is the
BSP name.
Diffstat (limited to 'bsps/powerpc/motorola_powerpc/include/bsp.h')
-rw-r--r-- | bsps/powerpc/motorola_powerpc/include/bsp.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/bsps/powerpc/motorola_powerpc/include/bsp.h b/bsps/powerpc/motorola_powerpc/include/bsp.h index db0995fa5c..d44bcd5cff 100644 --- a/bsps/powerpc/motorola_powerpc/include/bsp.h +++ b/bsps/powerpc/motorola_powerpc/include/bsp.h @@ -89,7 +89,7 @@ extern "C" { */ /* fundamental addresses for BSP (CHRPxxx and PREPxxx are from libcpu/io.h) */ -#if defined(mvme2100) +#if defined(mot_ppc_mvme2100) #define _IO_BASE CHRP_ISA_IO_BASE #define _ISA_MEM_BASE CHRP_ISA_MEM_BASE /* address of our ram on the PCI bus */ @@ -154,7 +154,7 @@ extern "C" { * find out what it is which is VERY different from other Motorola boards. */ -#if defined(mvme2100) +#if defined(mot_ppc_mvme2100) #define BSP_UART_IOBASE_COM1 ((_IO_BASE)+0x01e10000) /* #define BSP_UART_IOBASE_COM1 (0xffe10000) */ #define BSP_OPEN_PIC_BASE_OFFSET 0x40000 @@ -169,7 +169,7 @@ extern "C" { #define BSP_VGA_IOBASE ((_IO_BASE)+0x3c0) #endif -#if defined(mvme2300) || defined(mvme2307) || defined(mvme2700) +#if defined(mvme2300) || defined(mot_ppc_mvme2307) || defined(mot_ppc_mvme2700) #define MVME_HAS_DEC21140 #endif #endif |