| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
This patch is a part of the BSP source reorganization.
Update #3285.
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
Script does what is expected and tries to do it as
smartly as possible.
+ remove occurrences of two blank comment lines
next to each other after Id string line removed.
+ remove entire comment blocks which only exited to
contain CVS Ids
+ If the processing left a blank line at the top of
a file, it was removed.
|
|
|
|
|
|
|
|
| |
* shared/irq/init_irq.c, shared/irq/openpic_i8259_irq.c,
shared/pci/detect_raven_bridge.c: conditionally compile
ISA and PCI-interrupt related stuff only if BSP defines
BSP_ISA_IRQ_NUMBER > 0 and/or BSP_PCI_IRQ_NUMBER > 0,
respectively.
|
|
|
|
| |
* shared/pci/detect_raven_bridge.c: Fix spelling.
|
|
|
|
| |
* shared/pci/detect_raven_bridge.c: Fix spelling.
|
| |
|
|
|
|
|
|
|
| |
* shared/pci/detect_raven_bridge.c: use ifdef mvme2100
rather than ifdef mpc824x so that we don't depend on
compile-time CPU flavor. Eventually, this should become
a run-time check.
|
|
|
|
|
|
|
|
| |
* Makefile.am, motorola_powerpc/Makefile.am,
* shared/pci/detect_raven_bridge.c, Makefile.am,
* shared/pci/generic_clear_hberrs.c: separated the generic
version of _BSP_clear_hostbridge_errors() into its own
file.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* shared/motorola/motorola.c, shared/pci/detect_raven_bridge.c,
shared/pci/pci.c, shared/pci/pci.h, shared/pci/pcifinddevice.c:
Several PCI enhancements and fixes: all BSP flavors now use the
generic clear_hostbridge_errors() routine (this means that only
polling memory probing is possible [see detect_raven_bridge.c for
details]). Interrupt fixup routine now supports multi-function
devices. Interrupt fixup routine now honours a flag/option so that
wrong firmware values can be overridden. Fixed irq routing table for
mvme2100 [PMC]. Added irq routing table for mvme2300. Added a
BSP_pciScan() routine that executes a user callback on each non-empty
slot/fun. Added BSP_pciConfigDump() to display basic config headers.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Makefile.am, bootloader/misc.c, bootloader/pci.c, bootloader/pci.h,
console/console.c, console/inch.c, console/reboot.c, console/uart.c,
console/uart.h, irq/irq.c, irq/irq.h, irq/irq_init.c,
motorola/motorola.c, motorola/motorola.h, openpic/openpic.c,
openpic/openpic.h, pci/detect_raven_bridge.c, pci/pci.c,
start/start.S, startup/bspstart.c, vectors/vectors_init.c,
vme/vmeconfig.c: Add MVME2100 BSP and MPC8240 support. There was also
a significant amount of spelling and whitespace cleanup.
* tod/todcfg.c: New file.
|
| |
|
|
|
|
|
|
|
|
| |
PR 415/bsps
* pci/detect_raven_bridge.c, startup/bspstart.c:
This patch reverts enabling MCP interrupts for the motorola_powerpc
BSPs. REASON: pci config space scanning (as e.g. done by the DEC
Ethernet driver) would raise machine check exceptions.
|
|
|
|
|
|
|
| |
PR 415/bsps
* include/bsp.h, pci/detect_raven_bridge.c, startup/bspstart.c:
Support enabling MCP exceptions on the host bridge. This can
be used for memory probing on the VME bus.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
PR 379/bsps
* console/polled_io.c: libcpu provides 'printk' already.
Therefore, the implementation in this file was removed (still
used for the bootloader, though). It now provides BSP_output_char()
for libcpu's printk().
* console/uart.c, console/uart.h: BSP_output_char_via_serial()
prototype changed to match the BSP_output_char_function_type. Note
that the motorola BSPs use polled-io for the output_char routine, not
the uart.c version. The latter can be used be other BSPs however
(e.g. SVGM).
* console/console.c, console/consoleIo.h, console/polled_io.c,
irq/irq_init.c, openpic/openpic.c, pci/detect_raven_bridge.c:
Unfortunately, the supported 'printk' format string subset of the
polled-io and libcpu implementations are different - hence, a few
format strings in the ppc/shared BSP were changed.
|
|
|
|
|
|
| |
* bootloader/em86.c, console/inch.c, console/polled_io.c, irq/irq.c,
motorola/motorola.c, pci/detect_raven_bridge.c,
vectors/vectors_init.c: Removed warnings.
|
|
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.
|