summaryrefslogtreecommitdiffstats
path: root/c/src/lib
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2002-05-14 17:10:49 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2002-05-14 17:10:49 +0000
commit6a4df9f918ee72b73a7da49068e3551ecb80803e (patch)
treef5e49f7ce23e5ef5e30d8ccbd4e7262f1adb5cf0 /c/src/lib
parent2001-05-14 Till Straumann <strauman@slac.stanford.edu> (diff)
downloadrtems-6a4df9f918ee72b73a7da49068e3551ecb80803e.tar.bz2
2001-05-14 Till Straumann <strauman@slac.stanford.edu>
* bootloader/Makefile.am, console/Makefile.am, pci/Makefile.am: Per PR216, "libbsp/powerpc/shared" BSP has been modified considerably with the goal to make it more flexible and reusable by other BSPs. The main strategies were: - eliminate hardcoded base addresses; devices use offsets and a BSP defined base address. - separate functionality into different files (e.g. reboot from inch.c to reboot.c) which can be overridden by a 'derived' BSP. - separate initialization code into separate files (e.g. PCI bridge detection/initialization was separated from the more generic PCI access routines), also to make it easier for 'derived' BSPs to substitute their own initialization code. There are also a couple of enhancements and fixes: - IRQ handling code now has a hook for attaching a VME bridge. - OpenPIC is now explicitely initialized (polarities, senses). Eliminated the implicit assumption on the presence of an ISA PIC. - UART and console driver now supports more than 1 port. The current maximum of 2 can easily be extended by enlarging a table (it would even be easier if the ISR API was not broken by design). - fixed polled_io.c so it correctly supports console on COM2 - fixed TLB invalidation code (start.S). - exception handler prints a stack backtrace. - added BSP_pciFindDevice() to scan the pci bus for a particular vendor/device/instance.
Diffstat (limited to 'c/src/lib')
-rw-r--r--c/src/lib/libbsp/powerpc/motorola_powerpc/ChangeLog17
-rw-r--r--c/src/lib/libbsp/powerpc/motorola_powerpc/console/Makefile.am2
-rw-r--r--c/src/lib/libbsp/powerpc/motorola_powerpc/pci/Makefile.am2
3 files changed, 19 insertions, 2 deletions
diff --git a/c/src/lib/libbsp/powerpc/motorola_powerpc/ChangeLog b/c/src/lib/libbsp/powerpc/motorola_powerpc/ChangeLog
index 33d57d5652..aba0be1e6e 100644
--- a/c/src/lib/libbsp/powerpc/motorola_powerpc/ChangeLog
+++ b/c/src/lib/libbsp/powerpc/motorola_powerpc/ChangeLog
@@ -1,3 +1,20 @@
+2001-05-14 Till Straumann <strauman@slac.stanford.edu>
+
+ * bootloader/Makefile.am, console/Makefile.am, pci/Makefile.am:
+ Per PR216, "libbsp/powerpc/shared" BSP has been modified considerably
+ with the goal to make it more flexible and reusable by other
+ BSPs. The main strategies were:
+ - eliminate hardcoded base addresses; devices use offsets
+ and a BSP defined base address.
+ - separate functionality into different files (e.g. reboot from
+ inch.c to reboot.c) which can be overridden by a 'derived' BSP.
+ - separate initialization code into separate files (e.g. PCI
+ bridge detection/initialization was separated from the more
+ generic PCI access routines), also to make it easier for
+ 'derived' BSPs to substitute their own initialization code.
+ There are also a couple of enhancements and fixes:
+ - IRQ handling code now has a hook for attaching a VME bridge.
+ - OpenPIC is now explicitely initialized (polarities, senses).
Eliminated the implicit assumption on the presence of an ISA PIC.
- UART and console driver now supports more than 1 port. The current
maximum of 2 can easily be extended by enlarging a table (it
diff --git a/c/src/lib/libbsp/powerpc/motorola_powerpc/console/Makefile.am b/c/src/lib/libbsp/powerpc/motorola_powerpc/console/Makefile.am
index f300782dd9..a3368abc16 100644
--- a/c/src/lib/libbsp/powerpc/motorola_powerpc/console/Makefile.am
+++ b/c/src/lib/libbsp/powerpc/motorola_powerpc/console/Makefile.am
@@ -5,7 +5,7 @@
VPATH = @srcdir@:@srcdir@/../../shared/console:@srcdir@/../../../shared
-C_FILES = polled_io.c uart.c console.c inch.c
+C_FILES = polled_io.c uart.c console.c inch.c reboot.c
C_O_FILES = $(C_FILES:%.c=$(ARCH)/%.o)
H_FILES = ../../shared/console/consoleIo.h ../../shared/console/keyboard.h \
diff --git a/c/src/lib/libbsp/powerpc/motorola_powerpc/pci/Makefile.am b/c/src/lib/libbsp/powerpc/motorola_powerpc/pci/Makefile.am
index bc37b878ab..a1f05ebce6 100644
--- a/c/src/lib/libbsp/powerpc/motorola_powerpc/pci/Makefile.am
+++ b/c/src/lib/libbsp/powerpc/motorola_powerpc/pci/Makefile.am
@@ -5,7 +5,7 @@
VPATH = @srcdir@:@srcdir@/../../shared/pci
-C_FILES = pci.c
+C_FILES = pci.c detect_raven_bridge.c pcifinddevice.c
C_O_FILES = $(C_FILES:%.c=$(ARCH)/%.o)
H_FILES = ../../shared/pci/pci.h