summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libcpu/powerpc (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Remove CVS-Ids.Ralf Corsépius2012-05-042-8/+0
|
* General - Remove extraneous blank line in license messageJoel Sherrill2012-05-034-4/+0
| | | | | | | | | | | | | 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.
* bsp/mpc55xx: Add and use chip featuresSebastian Huber2012-04-031-1/+6
| | | | Add defines MPC55XX_HAS_SIU and MPC55XX_HAS_SIU_LITE.
* Add Virtex4 and Virtex5 BSPsRic Claus2012-03-3010-190/+255
| | | | | | | | | | | | | | | | | 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.
* bsps: Add shared default IRQ handlerSebastian Huber2012-03-241-5/+0
|
* Remove all .cvsignore files.Joel Sherrill2012-02-011-8/+0
|
* Support for MPC5643L.Sebastian Huber2012-01-2321-519/+20970
| | | | | Rework of the start sequence to reduce the amount assembler code and to support configuration tables which may be provided by the application.
* 2011-12-01 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2011-12-013-33/+14
| | | | | | * mpc8260/console-generic/console-generic.c, mpc8xx/console-generic/console-generic.c: Eliminate unused var "nb_overflow".
* 2011-12-01 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2011-12-013-2/+7
| | | | | * shared/include/cpuIdent.c, shared/include/cpuIdent.h (get_ppc_cpu_type_name): Return const char*.
* 2011-11-10 Sebastian Huber <sebastian.huber@embedded-brains.de>Sebastian Huber2011-11-102-4/+10
| | | | | PR 1927/bsps: * mpc83xx/network/tsec.c: Fixed integer truncation.
* 2011-11-08 Sebastian Huber <sebastian.huber@embedded-brains.de>Sebastian Huber2011-11-084-28/+39
| | | | | | | | * 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.
* 2011-10-10 Sebastian Huber <sebastian.huber@embedded-brains.de>Sebastian Huber2011-10-102-0/+5
| | | | * mpc55xx/include/fsl-mpc567x.h: Added EQADC as an alias to EQADC_A.
* 2011-10-10 Sebastian Huber <sebastian.huber@embedded-brains.de>Sebastian Huber2011-10-103-1/+12
| | | | | | PR 1928/bsps: * mpc55xx/include/fsl-mpc567x.h: Revert previous change. * mpc55xx/misc/flash_support.c: Enable this file only for MPC55XX.
* 2011-10-07 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2011-10-072-1/+2
| | | | * ppc403/clock/clock.c (ClockOn): Define pvr only for "ifndef ppc405".
* 2011-10-07 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2011-10-072-4/+1
| | | | * ppc403/clock/clock.c (Install_clock): Remove unused var "pvr".
* 2011-10-07 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2011-10-072-1/+3
| | | | | * new-exceptions/bspsupport/ppc_exc_prologue.c (ppc_exc_create_branch_op): Comment out unused var "BRANCH_OP_LINK".
* 2011-10-07 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2011-10-072-1/+6
| | | | | * mpc5xx/clock/clock.c: Make BSP_disconnect_clock_handler decl a prototype.
* 2011-10-07 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2011-10-072-2/+7
| | | | | | PR 1928/bsps: * mpc55xx/include/fsl-mpc567x.h (struct FLASH_tag): Extend SIZE to 4 bits.
* 2011-09-27 Sebastian Huber <sebastian.huber@embedded-brains.de>Sebastian Huber2011-09-263-7/+10
| | | | | * mpc83xx/include/mpc83xx.h, mpc83xx/network/tsec.c: Update due to API changes.
* 2011-09-01 Sebastian Huber <sebastian.huber@embedded-brains.de>Sebastian Huber2011-09-012-0/+5
| | | | * mpc55xx/include/fsl-mpc567x.h: Added FLASH as an alias to FLASH_A.
* 2011-09-01 Sebastian Huber <sebastian.huber@embedded-brains.de>Sebastian Huber2011-09-012-8/+12
| | | | * mpc55xx/include/fsl-mpc551x.h: Use legacy register naming.
* 2011-09-01 Sebastian Huber <sebastian.huber@embedded-brains.de>Sebastian Huber2011-09-014-10/+15
| | | | | * mpc55xx/include/fsl-mpc551x.h, mpc55xx/include/fsl-mpc556x.h, mpc55xx/include/fsl-mpc567x.h: Added missing FLASH types.
* 2011-08-31 Sebastian Huber <sebastian.huber@embedded-brains.de>Sebastian Huber2011-08-3122-5043/+20169
| | | | | | | | | | | | | | | | | | | * 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.
* 2011-08-31 Sebastian Huber <sebastian.huber@embedded-brains.de>Sebastian Huber2011-08-314-7/+18
| | | | | * new-exceptions/bspsupport/ppc_exc_categories.c, shared/include/cpuIdent.c, shared/include/cpuIdent.h: Support e200z7.
* 2011-08-30 Peter Dufault <dufault@hda.com>Sebastian Huber2011-08-307-9/+820
| | | | | | | | | | | | | | | * 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.
* 2011-08-24 Sebastian Huber <sebastian.huber@embedded-brains.de>Sebastian Huber2011-08-246-13/+19
| | | | | | | * 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.
* 2011-07-21 Sebastian Huber <sebastian.huber@embedded-brains.de>Sebastian Huber2011-07-2111-76/+541
| | | | | | | | | | | | 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.
* 2011-06-18 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2011-06-182-1/+5
| | | | | * Makefile.am: Remove reference to non-existing file new-exceptions/bspsupport/nest_irq_test.c.
* 2011-06-07 Sebastian Huber <sebastian.huber@embedded-brains.de>Sebastian Huber2011-06-074-0/+61
| | | | | | | * new-exceptions/bspsupport/ppc_exc_alignment.c: New file. * Makefile.am: Reflect change above. * new-exceptions/bspsupport/vectors.h: Declare ppc_exc_alignment_handler().
* 2011-06-07 Sebastian Huber <sebastian.huber@embedded-brains.de>Sebastian Huber2011-06-072-9/+14
| | | | | * new-exceptions/cpu_asm.S: Use BSP_DATA_CACHE_ENABLED instead of PPC_USE_DATA_CACHE.
* 2011-06-07 Sebastian Huber <sebastian.huber@embedded-brains.de>Sebastian Huber2011-06-074-292/+268
| | | | | | | * 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.
* 2011-06-07 Sebastian Huber <sebastian.huber@embedded-brains.de>Sebastian Huber2011-06-072-5/+5
| | | | * shared/src/cache_.h: Include required header file.
* 2011-05-19 Sebastian Huber <sebastian.huber@embedded-brains.de>Sebastian Huber2011-05-192-14/+18
| | | | | * shared/include/powerpc-utility.h: API changes for ppc_*_cache_*() functions.
* 2011-05-11 Sebastian Huber <sebastian.huber@embedded-brains.de>Sebastian Huber2011-05-112-0/+40
| | | | | * shared/include/powerpc-utility.h: Added ppc_fsl_system_version*() functions.
* 2011-03-10 Sebastian Huber <sebastian.huber@embedded-brains.de>Sebastian Huber2011-03-102-6/+10
| | | | * shared/include/cpuIdent.h: Fixed warnings.
* 2011-02-25 Sebastian Huber <sebastian.huber@embedded-brains.de>Sebastian Huber2011-02-252-22/+39
| | | | | | * 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.
* 2011-02-17 Sebastian Huber <sebastian.huber@embedded-brains.de>Sebastian Huber2011-02-172-70/+85
| | | | | | * 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.
* 2011-02-17 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2011-02-172-0/+12
| | | | * new-exceptions/bspsupport/vectors.h: Add extern "C" {}.
* 2011-02-16 Sebastian Huber <sebastian.huber@embedded-brains.de>Sebastian Huber2011-02-162-2/+204
| | | | | | * shared/include/powerpc-utility.h: Fixed LINKER_SYMBOL() for assembler compatibilty. Added synchronization, cache, and alternate time base functions.
* 2011-02-11 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2011-02-112-1/+6
| | | | | * mpc55xx/include/mpc55xx.h: Use "__asm__" instead of "asm" for improved c99-compliance.
* 2011-02-11 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2011-02-113-2/+7
| | | | | * mpc6xx/altivec/vec_sup.c, mpc6xx/mmu/bat.h: Fix up comments having been broken in previous commit.
* 2011-02-11 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2011-02-1124-100/+114
| | | | | | | | | | | | | | * 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.
* 2011-02-02 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2011-02-022-2/+6
| | | | * configure.ac: Require autoconf-2.68, automake-1.11.1.
* 2011-01-31 Sebastian Huber <sebastian.huber@embedded-brains.de>Sebastian Huber2011-01-315-12/+94
| | | | | | | | | * 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.
* 2011-01-31 Sebastian Huber <sebastian.huber@embedded-brains.de>Sebastian Huber2011-01-312-116/+38
| | | | * e500/mmu/mmu.c: Use common defines.
* 2011-01-28 Joel Sherrill <joel.sherrilL@OARcorp.com>Joel Sherrill2011-01-2832-32/+54
| | | | | | | | | | | | | | | | | | | | | | * 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.
* 2011-01-27 Sebastian Huber <sebastian.huber@embedded-brains.de>Sebastian Huber2011-01-272-1/+8
| | | | | * new-exceptions/bspsupport/ppc_exc_categories.c: Fixed e500 categories.
* 2011-01-14 Sebastian Huber <sebastian.huber@embedded-brains.de>Sebastian Huber2011-01-143-99/+57
| | | | | | * 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.
* 2011-01-09 Sebastian Huber <sebastian.huber@embedded-brains.de>Sebastian Huber2011-01-102-1/+6
| | | | | * new-exceptions/bspsupport/ppc_exc_categories.c: Fixed e200 machine check category.
* 2010-12-30 Sebastian Huber <sebastian.huber@embedded-brains.de>Sebastian Huber2010-12-303-7/+7
| | | | | | * 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.