Commit Graph

1524 Commits

Author SHA1 Message Date
Sebastian Huber
a762dc2a49 Support for MPC5643L.
Rework of the start sequence to reduce the amount assembler code and to
support configuration tables which may be provided by the application.
2012-01-23 11:19:22 +01:00
Ralf Corsepius
ac4f31c814 2011-12-10 Ralf Corsépius <ralf.corsepius@rtems.org>
* shared/interrupts/vectorexceptions.c: Make
	mips_dump_exception_frame, mips_default_exception_code_handler
	static.
2011-12-10 04:07:46 +00:00
Ralf Corsepius
de5868fe37 2011-12-10 Ralf Corsépius <ralf.corsepius@rtems.org>
PR 1986/libcpu
	* shared/src/cache_aligned_malloc.c:
	Include <rtems/rtems/cache.h>.
2011-12-10 04:03:50 +00:00
Ralf Corsepius
f865fc5db5 2011-12-01 Ralf Corsépius <ralf.corsepius@rtems.org>
* mpc8260/console-generic/console-generic.c,
	mpc8xx/console-generic/console-generic.c:
	Eliminate unused var "nb_overflow".
2011-12-01 08:20:03 +00:00
Ralf Corsepius
952199297e 2011-12-01 Ralf Corsépius <ralf.corsepius@rtems.org>
* shared/include/cpuIdent.c, shared/include/cpuIdent.h
	(get_ppc_cpu_type_name): Return const char*.
2011-12-01 08:06:06 +00:00
Sebastian Huber
f0e748cc61 2011-11-10 Sebastian Huber <sebastian.huber@embedded-brains.de>
PR 1927/bsps:
	* mpc83xx/network/tsec.c: Fixed integer truncation.
2011-11-10 08:44:37 +00:00
Sebastian Huber
edb1dd83b8 2011-11-08 Sebastian Huber <sebastian.huber@embedded-brains.de>
* 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-11-08 10:05:50 +00:00
Gedare Bloom
65f2aeccab 2011-11-06 Gedare Bloom <gedare@rtems.org>
* ChangeLog: Fix ChangeLog with name and email address
2011-11-06 16:55:33 +00:00
Gedare Bloom
05e75a4b05 2011-11-06 gedare@rtems.org
* shared/score/interrupt.S: Pass ISR correct pointer to interrupt frame
2011-11-06 16:48:36 +00:00
Ralf Corsepius
b01abd58c6 2011-10-23 Ralf Corsépius <ralf.corsepius@rtems.org>
* page.c: Remove unused var "dirCount".
2011-10-23 06:40:09 +00:00
Jennifer Averett
11f7aab754 2011-10-18 Jennifer Averett <Jennifer.Averett@OARcorp.com>
PR 1917/bsps
	* mongoosev/duart/mg5uart.c: Modifications to add dynamic tables for
	libchip serial drivers.
2011-10-18 18:39:05 +00:00
Jennifer Averett
7431fdc965 2011-10-18 Jennifer Averett <Jennifer.Averett@OARcorp.com>
PR 1917/bsps
	* sh7045/sci/sci_termios.c: Modifications to add dynamic tables for
	libchip serial drivers.
2011-10-18 18:37:32 +00:00
Sebastian Huber
fcec9c4caa 2011-10-10 Sebastian Huber <sebastian.huber@embedded-brains.de>
* mpc55xx/include/fsl-mpc567x.h: Added EQADC as an alias to EQADC_A.
2011-10-10 08:37:07 +00:00
Sebastian Huber
e2d3e37192 2011-10-10 Sebastian Huber <sebastian.huber@embedded-brains.de>
PR 1928/bsps:
	* mpc55xx/include/fsl-mpc567x.h: Revert previous change.
	* mpc55xx/misc/flash_support.c: Enable this file only for MPC55XX.
2011-10-10 08:22:27 +00:00
Ralf Corsepius
968ff5bbd3 2011-10-07 Ralf Corsépius <ralf.corsepius@rtems.org>
* ppc403/clock/clock.c (ClockOn): Define pvr only for "ifndef ppc405".
2011-10-07 09:58:39 +00:00
Ralf Corsepius
7eb31ec936 2011-10-07 Ralf Corsépius <ralf.corsepius@rtems.org>
* ppc403/clock/clock.c (Install_clock): Remove unused var "pvr".
2011-10-07 09:55:46 +00:00
Ralf Corsepius
c3178737d0 2011-10-07 Ralf Corsépius <ralf.corsepius@rtems.org>
* new-exceptions/bspsupport/ppc_exc_prologue.c
	(ppc_exc_create_branch_op): Comment out unused var "BRANCH_OP_LINK".
2011-10-07 09:18:24 +00:00
Ralf Corsepius
c6d8f9970e 2011-10-07 Ralf Corsépius <ralf.corsepius@rtems.org>
* mpc5xx/clock/clock.c: Make BSP_disconnect_clock_handler decl a
	prototype.
2011-10-07 09:15:21 +00:00
Ralf Corsepius
4960b2928d 2011-10-07 Ralf Corsépius <ralf.corsepius@rtems.org>
PR 1928/bsps:
	* mpc55xx/include/fsl-mpc567x.h (struct FLASH_tag): Extend SIZE to 4
	bits.
2011-10-07 08:41:45 +00:00
Sebastian Huber
c2bc9efe85 2011-09-27 Sebastian Huber <sebastian.huber@embedded-brains.de>
* mpc83xx/include/mpc83xx.h, mpc83xx/network/tsec.c: Update due to API
	changes.
2011-09-26 10:03:30 +00:00
Sebastian Huber
dfdf7961e1 2011-09-19 Andrei Mozzhuhin <nopscmn@gmail.com>
PR 1915/libcpu
	* at91rm9200/usart/usart.c: Fixed polled read.
2011-09-19 07:01:02 +00:00
Sebastian Huber
df8204f590 2011-09-01 Sebastian Huber <sebastian.huber@embedded-brains.de>
* mpc55xx/include/fsl-mpc567x.h: Added FLASH as an alias to FLASH_A.
2011-09-01 08:18:56 +00:00
Sebastian Huber
3ac2bf5e24 2011-09-01 Sebastian Huber <sebastian.huber@embedded-brains.de>
* mpc55xx/include/fsl-mpc551x.h: Use legacy register naming.
2011-09-01 08:15:10 +00:00
Sebastian Huber
7a84689f29 2011-09-01 Sebastian Huber <sebastian.huber@embedded-brains.de>
* mpc55xx/include/fsl-mpc551x.h, mpc55xx/include/fsl-mpc556x.h,
	mpc55xx/include/fsl-mpc567x.h: Added missing FLASH types.
2011-09-01 08:09:28 +00:00
Sebastian Huber
97fa2f1b1e 2011-08-31 Sebastian Huber <sebastian.huber@embedded-brains.de>
* 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 15:50:30 +00:00
Sebastian Huber
b2aa729698 2011-08-31 Sebastian Huber <sebastian.huber@embedded-brains.de>
* new-exceptions/bspsupport/ppc_exc_categories.c,
	shared/include/cpuIdent.c, shared/include/cpuIdent.h: Support e200z7.
2011-08-31 15:27:58 +00:00
Sebastian Huber
c1188b418c 2011-08-30 Peter Dufault <dufault@hda.com>
* 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-30 13:30:09 +00:00
Sebastian Huber
1d367a49df 2011-08-24 Sebastian Huber <sebastian.huber@embedded-brains.de>
* 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-08-24 09:45:20 +00:00
Sebastian Huber
fdd9de8001 2011-07-21 Sebastian Huber <sebastian.huber@embedded-brains.de>
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-07-21 15:03:31 +00:00
Joel Sherrill
bbacebe209 2011-07-13 Sebastian Huber <sebastian.huber@embedded-brains.de>
PR 1832/libcpu
	* at91rm9200/irq/irq.c: he bsp_interrupt_dispatch routine does not
	determine the correct interrupt source number. According to the
	datasheet, the reading of the interrupt vector register (AIC_IVR)
	notifies the hardware that the OS is taken care of the interrupt.
	Only after AIC_IVR have been read can the correct source number be
	read from the interrupt status register (AIC_ISR).
2011-07-13 20:24:04 +00:00
Ralf Corsepius
dbfd8b111b 2011-06-18 Ralf Corsépius <ralf.corsepius@rtems.org>
* Makefile.am: Remove reference to non-existing file
	 shared/include/utility.h.
2011-06-18 07:18:28 +00:00
Ralf Corsepius
4860d1c1f6 2011-06-18 Ralf Corsépius <ralf.corsepius@rtems.org>
* Makefile.am: Remove reference to non-existing file
	new-exceptions/bspsupport/nest_irq_test.c.
2011-06-18 07:17:04 +00:00
Sebastian Huber
88dcb841e7 2011-06-07 Sebastian Huber <sebastian.huber@embedded-brains.de>
* 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 13:58:23 +00:00
Sebastian Huber
ae2b1e056a 2011-06-07 Sebastian Huber <sebastian.huber@embedded-brains.de>
* new-exceptions/cpu_asm.S: Use BSP_DATA_CACHE_ENABLED instead of
	PPC_USE_DATA_CACHE.
2011-06-07 12:59:39 +00:00
Sebastian Huber
68e60ddbff 2011-06-07 Sebastian Huber <sebastian.huber@embedded-brains.de>
* 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 08:23:44 +00:00
Sebastian Huber
07f8af124d 2011-06-07 Sebastian Huber <sebastian.huber@embedded-brains.de>
* shared/include/cache_.h: Moved content of "cache.h" to "cache_.h".
	* shared/include/cache.h: Removed file.
2011-06-07 07:58:16 +00:00
Sebastian Huber
479f876816 2011-06-07 Sebastian Huber <sebastian.huber@embedded-brains.de>
* cache/cache_.h: Include required header file.
	* cache/cache.c: Removed superfuous header file.
2011-06-07 07:54:26 +00:00
Sebastian Huber
3f6fa8ed98 2011-06-07 Sebastian Huber <sebastian.huber@embedded-brains.de>
* shared/src/cache_.h: Include required header file.
2011-06-07 07:52:59 +00:00
Sebastian Huber
f3aa15c254 2011-06-07 Sebastian Huber <sebastian.huber@embedded-brains.de>
* shared/include/cache.h, shared/src/cache_manager.c: Removed include
	files to reduce implementation constraints.
2011-06-07 07:51:21 +00:00
Ralf Corsepius
2b07af59f2 2011-05-25 Ralf Corsépius <ralf.corsepius@rtems.org>
* serial/uart.c, serial/uart.h: Remove CVS-Author tag.
2011-05-25 11:19:22 +00:00
Sebastian Huber
00d95ce002 2011-05-19 Sebastian Huber <sebastian.huber@embedded-brains.de>
* shared/include/powerpc-utility.h: API changes for ppc_*_cache_*()
	functions.
2011-05-19 12:03:09 +00:00
Sebastian Huber
3560b4faa3 2011-05-11 Sebastian Huber <sebastian.huber@embedded-brains.de>
* shared/include/powerpc-utility.h: Added ppc_fsl_system_version*()
	functions.
2011-05-11 08:46:33 +00:00
Jennifer Averett
85f5c14bd0 2011-04-21 Jennifer Averett <Jennifer.Averett@OARcorp.com
PR 1777/cpukit
	* src/lib/libbsp/powerpc/shared/startup/panic.c,
	src/lib/libcpu/sh/sh7032/score/cpu_asm.c,
	src/lib/libcpu/sh/sh7045/score/cpu_asm.c,
	src/lib/libcpu/sh/sh7750/score/cpu_asm.c,
	src/lib/libcpu/sh/shgdb/score/cpu_asm.c: Consolidated access to
	_Thread_Dispatch_disable_level.
2011-04-21 19:04:50 +00:00
Joel Sherrill
cb4c90b227 2011-04-20 Rohan Kangralkar <rkangral@ece.neu.edu>
PR 1781/bsps
	* bf52x/include: Added additional MMR.
	* bf52x/interrupt: The BF52X processors have a different
	System interrupt controller than present in the 53X range of
	processors. The 52X have 8 interrupt assignment registers. The
	implementation uses tables to increase predictability.
	* serial/uart.?: Added DMA based and interrupt based transfer
	support. The uart code used a single ISR for TX and RX and tried
	to identify and multiplex inside the ISR. In the new code the
	type of interrupt is identified by the central ISR dispatcher
	bf52x/interrupt or interrupt/.	This simplifies the UART ISR.
2011-04-20 20:20:47 +00:00
Joel Sherrill
7d0e70214f 2011-03-14 Joel Sherrill <joel.sherrill@oarcorp.com>
* cpu.h: Remove warnings.
2011-03-14 17:37:00 +00:00
Sebastian Huber
73406bfbbf 2011-03-10 Sebastian Huber <sebastian.huber@embedded-brains.de>
* shared/include/cpuIdent.h: Fixed warnings.
2011-03-10 15:04:22 +00:00
Sebastian Huber
06280c35de 2011-02-25 Sebastian Huber <sebastian.huber@embedded-brains.de>
* 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-25 13:34:41 +00:00
Sebastian Huber
2888a652a6 2011-02-17 Sebastian Huber <sebastian.huber@embedded-brains.de>
* 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 11:19:43 +00:00
Ralf Corsepius
0f7b6eff46 2011-02-17 Ralf Corsépius <ralf.corsepius@rtems.org>
* new-exceptions/bspsupport/vectors.h: Add extern "C" {}.
2011-02-17 03:30:08 +00:00
Sebastian Huber
0f801cdc62 2011-02-16 Sebastian Huber <sebastian.huber@embedded-brains.de>
* shared/include/powerpc-utility.h: Fixed LINKER_SYMBOL() for
	assembler compatibilty.  Added synchronization, cache, and alternate
	time base functions.
2011-02-16 08:33:02 +00:00