summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/powerpc/beatnik/pci/gt_pci_init.c
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2017-11-21 11:43:13 +0100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2017-11-22 09:40:23 +0100
commit1c193a26d227a42a1ea76564950488f48189dbde (patch)
tree5818e3c47383605bd5fd78f80ceb0c9f9ce3cef8 /c/src/lib/libbsp/powerpc/beatnik/pci/gt_pci_init.c
parentsapi: New implementation of rtems_panic() (diff)
downloadrtems-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/gt_pci_init.c')
-rw-r--r--c/src/lib/libbsp/powerpc/beatnik/pci/gt_pci_init.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/c/src/lib/libbsp/powerpc/beatnik/pci/gt_pci_init.c b/c/src/lib/libbsp/powerpc/beatnik/pci/gt_pci_init.c
index d2a5232a1d..68d7467b22 100644
--- a/c/src/lib/libbsp/powerpc/beatnik/pci/gt_pci_init.c
+++ b/c/src/lib/libbsp/powerpc/beatnik/pci/gt_pci_init.c
@@ -193,7 +193,7 @@ extern pci_config_access_functions pci_indirect_functions;
pci_initialize();
/* check for overflow of an unsigned char */
if ( BSP_pci_hose1_bus_base + pci_bus_count() > 255 ) {
- BSP_panic("Too many PCI busses in the system");
+ rtems_panic("Too many PCI busses in the system");
}
/* readjust total number */
ucMaxPCIBus+=BSP_pci_hose1_bus_base;