| Commit message (Collapse) | Author | Files | Lines |
|
|
|
Many files had an extra blank line in the license text
found in the file header. This patch removes that line.
* The license and distribution terms for this file may be
* found in the file LICENSE in this distribution or at
*
* http://www.rtems.com/license/LICENSE.
The script that did this also turned off execute permission
when it was turned on incorrectly.
|
|
Add defines MPC55XX_HAS_SIU and MPC55XX_HAS_SIU_LITE.
|
|
This commit covers at least PR2020, 2022, and 2023. This
patch adds all of the code for both BSPs, modifications
to libcpu/powerpc for the ppc440, and some updates to the
BSPs from follow up review and testing.
These BSPs should be good baselines for future development.
The configurations used by Ric are custom and have a non-standard
NIC. They also do not have a UART. Thus the current console
driver just prints to a RAM buffer.
The NIC and UART support are left for future work. When the UART
support is added, moving the existing "to RAM" console driver to
a shared location is likely desirable because boards with no debug
UART port are commonly deployed. This would let printk() go to RAM.
|
|
|
|
|
|
Rework of the start sequence to reduce the amount assembler code and to
support configuration tables which may be provided by the application.
|
|
* mpc8260/console-generic/console-generic.c,
mpc8xx/console-generic/console-generic.c:
Eliminate unused var "nb_overflow".
|
|
* shared/include/cpuIdent.c, shared/include/cpuIdent.h
(get_ppc_cpu_type_name): Return const char*.
|
|
PR 1927/bsps:
* mpc83xx/network/tsec.c: Fixed integer truncation.
|
|
* new-exceptions/bspsupport/ppc_exc_async_normal.S: Bugfix for
MPC5674F. Use it for all to be safe.
* mpc55xx/include/emios.h: Fixed eMIOS module count.
* mpc55xx/include/irq.h: Fixed CAN vector numbers.
BSP_INTERRUPT_HANDLER_TABLE_SIZE is now a BSP option.
|
|
* mpc55xx/include/fsl-mpc567x.h: Added EQADC as an alias to EQADC_A.
|
|
PR 1928/bsps:
* mpc55xx/include/fsl-mpc567x.h: Revert previous change.
* mpc55xx/misc/flash_support.c: Enable this file only for MPC55XX.
|
|
* ppc403/clock/clock.c (ClockOn): Define pvr only for "ifndef ppc405".
|
|
* ppc403/clock/clock.c (Install_clock): Remove unused var "pvr".
|
|
* new-exceptions/bspsupport/ppc_exc_prologue.c
(ppc_exc_create_branch_op): Comment out unused var "BRANCH_OP_LINK".
|
|
* mpc5xx/clock/clock.c: Make BSP_disconnect_clock_handler decl a
prototype.
|
|
PR 1928/bsps:
* mpc55xx/include/fsl-mpc567x.h (struct FLASH_tag): Extend SIZE to 4
bits.
|
|
* mpc83xx/include/mpc83xx.h, mpc83xx/network/tsec.c: Update due to API
changes.
|
|
* mpc55xx/include/fsl-mpc567x.h: Added FLASH as an alias to FLASH_A.
|
|
* mpc55xx/include/fsl-mpc551x.h: Use legacy register naming.
|
|
* mpc55xx/include/fsl-mpc551x.h, mpc55xx/include/fsl-mpc556x.h,
mpc55xx/include/fsl-mpc567x.h: Added missing FLASH types.
|
|
* mpc55xx/include/fsl-mpc551x.h, mpc55xx/include/fsl-mpc555x.h,
mpc55xx/include/fsl-mpc556x.h, mpc55xx/include/fsl-mpc567x.h,
mpc55xx/include/regs-edma.h, mpc55xx/include/regs-mmu.h: New files.
* Makefile.am, M preinstall.am: Reflect changes above.
* mpc55xx/dspi/dspi.c: Update due to API changes.
* mpc55xx/include/edma.h, mpc55xx/edma/edma.c: Rework to support
multiple eDMA modules. Removed complex error interrupt handling.
* mpc55xx/include/esci.h, mpc55xx/esci/esci.c: Support interrupt mode
and printk(). Use configure options.
* mpc55xx/include/irq.h: More defines. API changes.
* mpc55xx/include/mpc55xx.h: API changes.
* mpc55xx/include/reg-defs.h: Added register defines.
* mpc55xx/include/regs.h: Use new register header files.
* mpc55xx/include/siu.h: Fixed includes.
* mpc55xx/misc/fmpll.S, mpc55xx/misc/copy.S, mpc55xx/misc/flash.S:
Changed sections. API changes. Support MPC5674F.
|
|
* new-exceptions/bspsupport/ppc_exc_categories.c,
shared/include/cpuIdent.c, shared/include/cpuIdent.h: Support e200z7.
|
|
* mpc55xx/misc/flash_support.c: New file.
* Makefile.am: Reflect change above.
* mpc55xx/include/mpc55xx.h: Add definitions for the FLASH interface
and two memory protect interfaces. Add modifications to eliminate
warnings in some of the cache macros.
* mpc55xx/include/regs.h: Add some structure tag names for some
structures that I needed access to. Don't define the ALTCADR for the
MPC5554 - it is reserved and acess casues an exception. Hide the C99
designated initializers when compiling with C++. Add some support for
the EQADC.
* mpc55xx/include/esci.h, mpc55xx/include/watchdog.h: Add C++
protection.
|
|
* mpc6xx/clock/c_clock.c, mpc6xx/mmu/mmuAsm.S,
new-exceptions/bspsupport/ppc_exc_global_handler.c,
shared/include/cpuIdent.c, shared/src/stack.c: Update due to API
changes.
|
|
PR 1799/bsps
* new-exceptions/bspsupport/ppc_exc_async_normal.S: New file.
* new-exceptions/cpu.c, new-exceptions/cpu_asm.S,
new-exceptions/bspsupport/ppc_exc_asm_macros.h,
new-exceptions/bspsupport/ppc_exc_global_handler.c,
new-exceptions/bspsupport/ppc_exc_prologue.c,
new-exceptions/bspsupport/vectors.h: Added support for SPE.
* configure.ac, preinstall.am, Makefile.am: Added support for qoriq
BSPs.
|
|
* Makefile.am: Remove reference to non-existing file
new-exceptions/bspsupport/nest_irq_test.c.
|
|
* new-exceptions/bspsupport/ppc_exc_alignment.c: New file.
* Makefile.am: Reflect change above.
* new-exceptions/bspsupport/vectors.h: Declare
ppc_exc_alignment_handler().
|
|
* new-exceptions/cpu_asm.S: Use BSP_DATA_CACHE_ENABLED instead of
PPC_USE_DATA_CACHE.
|
|
* shared/src/cache_.h: Moved implementation from "cache.c" to here.
This avoids the function call overhead.
* shared/src/cache.c: Removed file.
* Makefile.am: Reflect changes above.
|
|
* shared/src/cache_.h: Include required header file.
|
|
* shared/include/powerpc-utility.h: API changes for ppc_*_cache_*()
functions.
|
|
* shared/include/powerpc-utility.h: Added ppc_fsl_system_version*()
functions.
|
|
* shared/include/cpuIdent.h: Fixed warnings.
|
|
* mpc83xx/network/tsec.c: New default MAC configuration. Set MDIO
clock according to actual CCB frequency. Print media info only if we
have a PHY. Avoid infinite loop in media adaption.
|
|
* new-exceptions/bspsupport/vectors.h: Added defines PPC_EXC_GPR_TYPE,
PPC_EXC_GPR_SIZE, PPC_EXC_GPR_OFFSET, PPC_EXC_MINIMAL_FRAME_SIZE, and
PPC_EXC_FRAME_SIZE. Changed layout of BSP_Exception_frame.
|
|
* new-exceptions/bspsupport/vectors.h: Add extern "C" {}.
|
|
* shared/include/powerpc-utility.h: Fixed LINKER_SYMBOL() for
assembler compatibilty. Added synchronization, cache, and alternate
time base functions.
|
|
* mpc55xx/include/mpc55xx.h:
Use "__asm__" instead of "asm" for improved c99-compliance.
|
|
* mpc6xx/altivec/vec_sup.c, mpc6xx/mmu/bat.h:
Fix up comments having been broken in previous commit.
|
|
* e500/mmu/mmu.c, mpc505/ictrl/ictrl.c, mpc505/timer/timer.c,
mpc5xx/ictrl/ictrl.c, mpc5xx/timer/timer.c,
mpc6xx/altivec/vec_sup.c, mpc6xx/clock/c_clock.c,
mpc6xx/mmu/bat.c, mpc6xx/mmu/bat.h, mpc6xx/mmu/pte121.c,
mpc8260/timer/timer.c, mpc8xx/timer/timer.c, new-exceptions/cpu.c,
new-exceptions/bspsupport/ppc_exc_initialize.c,
ppc403/clock/clock.c, ppc403/console/console.c,
ppc403/console/console.c.polled, ppc403/console/console405.c,
ppc403/irq/ictrl.c, ppc403/tty_drv/tty_drv.c,
rtems/powerpc/cache.h, shared/include/powerpc-utility.h, shared/src/cache.c:
Use "__asm__" instead of "asm" for improved c99-compliance.
|
|
* configure.ac: Require autoconf-2.68, automake-1.11.1.
|
|
* new-exceptions/bspsupport/ppc_exc.S,
new-exceptions/bspsupport/ppc_exc_asm_macros.h,
new-exceptions/bspsupport/ppc_exc_naked.S,
new-exceptions/bspsupport/ppc_exc_prologue.c: Branch targets are now
global for all minimal prologues. Generate branch instruction in
minimal prologues.
|
|
* e500/mmu/mmu.c: Use common defines.
|
|
* mpc5xx/exceptions/raw_exception.c, mpc5xx/exceptions/raw_exception.h,
mpc5xx/include/console.h, mpc5xx/include/mpc5xx.h, mpc5xx/irq/irq.c,
mpc5xx/irq/irq.h, mpc5xx/irq/irq_asm.S, mpc5xx/vectors/vectors.h,
mpc5xx/vectors/vectors_init.c, mpc6xx/mmu/bat.c, mpc6xx/mmu/bat.h,
mpc6xx/mmu/mmuAsm.S, new-exceptions/bspsupport/irq.c,
new-exceptions/bspsupport/irq_supp.h,
new-exceptions/bspsupport/nested_irq_test.c,
new-exceptions/bspsupport/ppc_exc_address.c,
new-exceptions/bspsupport/ppc_exc_categories.c,
new-exceptions/bspsupport/ppc_exc_global_handler.c,
new-exceptions/bspsupport/ppc_exc_hdl.c,
new-exceptions/bspsupport/ppc_exc_initialize.c,
new-exceptions/bspsupport/ppc_exc_prologue.c,
new-exceptions/bspsupport/ppc_exc_test.c,
new-exceptions/bspsupport/vectors.h, shared/include/byteorder.h,
shared/include/cpuIdent.c, shared/include/cpuIdent.h,
shared/include/io.h, shared/include/mmu.h, shared/include/page.h,
shared/include/pgtable.h, shared/include/spr.h: Fix typo where
license said found in found in.
|
|
* new-exceptions/bspsupport/ppc_exc_categories.c: Fixed e500
categories.
|
|
* mpc83xx/network/tsec.c, mpc83xx/network/tsec.h: Use configuration
structure instead of many function parameters. Moved board specific
initializations. Added support for interfaces without PHY access.
|
|
* new-exceptions/bspsupport/ppc_exc_categories.c: Fixed e200 machine
check category.
|
|
* Makefile.am, preinstall.am, mpc83xx/include/mpc83xx.h,
mpc83xx/network/tsec.c, mpc83xx/network/tsec.h: Make it possible to
use the TSEC driver for other systems.
|