diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2017-11-21 11:43:13 +0100 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2017-11-22 09:40:23 +0100 |
commit | 1c193a26d227a42a1ea76564950488f48189dbde (patch) | |
tree | 5818e3c47383605bd5fd78f80ceb0c9f9ce3cef8 /c/src/lib/libbsp/powerpc/beatnik/pci/pci_io_remap.c | |
parent | sapi: New implementation of rtems_panic() (diff) | |
download | rtems-1c193a26d227a42a1ea76564950488f48189dbde.tar.bz2 |
powerpc: Replace BSP_panic() with rtems_panic()
Due to a new rtems_panic() implementation, it is possible to replace the
PowerPC-specific BSP_panic() with rtems_panic(). Remove BSP_panic()
implementations.
Close #3245.
Diffstat (limited to 'c/src/lib/libbsp/powerpc/beatnik/pci/pci_io_remap.c')
-rw-r--r-- | c/src/lib/libbsp/powerpc/beatnik/pci/pci_io_remap.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/c/src/lib/libbsp/powerpc/beatnik/pci/pci_io_remap.c b/c/src/lib/libbsp/powerpc/beatnik/pci/pci_io_remap.c index 79dd2976d0..56118d01d5 100644 --- a/c/src/lib/libbsp/powerpc/beatnik/pci/pci_io_remap.c +++ b/c/src/lib/libbsp/powerpc/beatnik/pci/pci_io_remap.c @@ -84,7 +84,7 @@ rtems_pci_io_remap(int bus_from, int bus_to, uint32_t offset) unsigned int bas, lim; if ( offset & ((1<<12)-1) ) { - BSP_panic("rtems_pci_io_remap(): offset must be 4k aligned"); + rtems_panic("rtems_pci_io_remap(): offset must be 4k aligned"); return -1; } @@ -114,12 +114,12 @@ rtems_pci_io_remap(int bus_from, int bus_to, uint32_t offset) switch ( b ) { default: printk("PCI header type %i (@%i/%i/%i)\n", b, bus, dev, fun); - BSP_panic("rtems_pci_io_remap(): unknown PCI header type"); + rtems_panic("rtems_pci_io_remap(): unknown PCI header type"); return -1; /* keep compiler happy */ case PCI_HEADER_TYPE_CARDBUS: printk("PCI header type %i (@%i/%i/%i)\n", b, bus, dev, fun); - BSP_panic("rtems_pci_io_remap(): don't know how to deal with Cardbus bridge"); + rtems_panic("rtems_pci_io_remap(): don't know how to deal with Cardbus bridge"); return -1; case PCI_HEADER_TYPE_NORMAL: @@ -167,7 +167,7 @@ rtems_pci_io_remap(int bus_from, int bus_to, uint32_t offset) switch ( b ) { default: printk("Unknown IO range type 0x%x (@%i/%i/%i)\n", b, bus, dev, fun); - BSP_panic("rtems_pci_io_remap(): unknown IO range type"); + rtems_panic("rtems_pci_io_remap(): unknown IO range type"); return -1; case PCI_IO_RANGE_TYPE_16: |