diff options
author | Joel Sherrill <joel.sherrill@oarcorp.com> | 2014-10-15 14:21:20 -0500 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@oarcorp.com> | 2014-10-16 08:58:49 -0500 |
commit | d4ab6611f3a809b7a177c3e4340f346f288588b7 (patch) | |
tree | 3e22f747e1792b63edde4507815a2e81051f5dc4 /c/src/lib/libbsp/powerpc/score603e/PCI_bus/universe.c | |
parent | SH libcpu and libbsp: Fix warnings (diff) | |
download | rtems-d4ab6611f3a809b7a177c3e4340f346f288588b7.tar.bz2 |
powerpc/score603e: Fix warnings
Diffstat (limited to '')
-rw-r--r-- | c/src/lib/libbsp/powerpc/score603e/PCI_bus/universe.c | 23 |
1 files changed, 3 insertions, 20 deletions
diff --git a/c/src/lib/libbsp/powerpc/score603e/PCI_bus/universe.c b/c/src/lib/libbsp/powerpc/score603e/PCI_bus/universe.c index a1011daff8..c373aa6955 100644 --- a/c/src/lib/libbsp/powerpc/score603e/PCI_bus/universe.c +++ b/c/src/lib/libbsp/powerpc/score603e/PCI_bus/universe.c @@ -16,22 +16,6 @@ #include <bsp.h> #include "PCI.h" -/******************************************************************** - ******************************************************************** - ********* ********* - ********* Prototypes ********* - ********* ********* - ******************************************************************** - ********************************************************************/ - -/******************************************************************** - ******************************************************************** - ********* ********* - ********* ********* - ********* ********* - ******************************************************************** - ********************************************************************/ - typedef struct { uint32_t PCI_ID; /* 0x80030000 */ uint32_t PCI_CSR; /* 0x80030004 */ @@ -153,7 +137,6 @@ volatile Universe_Memory *UNIVERSE = * by the boot code. This routine should be called by user code only if * a complete SCORE603e VME initialization is required. */ - void initialize_universe(void) { uint32_t jumper_selection; @@ -227,7 +210,7 @@ void set_vme_base_address ( /* * Gets the VME base address */ -uint32_t get_vme_base_address (void) +static uint32_t get_vme_base_address (void) { volatile uint32_t temp; @@ -236,7 +219,7 @@ uint32_t get_vme_base_address (void) return (temp); } -uint32_t get_vme_slave_size(void) +uint32_t get_vme_slave_size(void) { volatile uint32_t temp; temp = PCI_bus_read( &UNIVERSE->VSI0_BD); @@ -249,7 +232,7 @@ uint32_t get_vme_slave_size(void) * Set the size of the VME slave image * Note: The maximum size is up to 24 M bytes. (00000000 - 017FFFFF) */ -void set_vme_slave_size (uint32_t size) +void set_vme_slave_size (uint32_t size) { volatile uint32_t temp; |