Commit Graph

11211 Commits

Author SHA1 Message Date
Jennifer Averett
a39316315d 2011-10-18 Jennifer Averett <Jennifer.Averett@OARcorp.com>
PR 1917/bsps
	* Makefile.am, console/console-config.c: Modifications to add dynamic
	tables for libchip serial drivers.
2011-10-18 18:25:35 +00:00
Jennifer Averett
0a91018fd3 2011-10-18 Jennifer Averett <Jennifer.Averett@OARcorp.com>
PR 1917/bsps
	* Makefile.am, console/console-config.c, console/hsu.c: Modifications
	to add dynamic tables for libchip serial drivers.
2011-10-18 18:25:15 +00:00
Jennifer Averett
ba692232fa 2011-10-18 Jennifer Averett <Jennifer.Averett@OARcorp.com>
PR 1917/bsps
	* console.c: Modifications to add dynamic tables for libchip serial
	drivers.
	* console_control.c, console_private.h, console_read.c,
	console_select.c, console_write.c: New files.
2011-10-18 18:23:51 +00:00
Ralf Corsepius
c145d73986 2011-10-17 Ralf Corsépius <ralf.corsepius@rtems.org>
* ne2000/ne2000.c: Remove unused var "stat".
2011-10-17 12:37:24 +00:00
Ralf Corsepius
f1e608864d 2011-10-17 Ralf Corsépius <ralf.corsepius@rtems.org>
* libchip/rtc/icm7170.c (icm7170_get_time): Remove unused var setReg.
	* libchip/rtc/icm7170.c (icm7170_set_time): Remove unused var getReg.
2011-10-17 11:56:31 +00:00
Sebastian Huber
4f609eec67 2011-10-17 Sebastian Huber <sebastian.huber@embedded-brains.de>
* include/start-config.h, make/custom/lpc24xx_plx800_rom_int.cfg,
	startup/linkcmds.lpc24xx_plx800_rom_int,
	startup/start-config-emc-dynamic.c, startup/start-config-emc-static.c,
	startup/start-config-pinsel.c: New files.
	* Makefile.am, configure.ac, preinstall.am: Reflect changes above.
	* startup/bspstarthooks.c: Use configuration tables for EMC
	initialization.
2011-10-17 10:40:00 +00:00
Ralf Corsepius
04a5c54911 2011-10-13 Ralf Corsépius <ralf.corsepius@rtems.org>
* shared/comm/uart.c: Remove unused var "tmp".
2011-10-13 12:18:39 +00:00
Ralf Corsepius
d1dbd228d3 2011-10-11 Ralf Corsépius <ralf.corsepius@rtems.org>
* libchip/network/smc91111.c: Eliminate unused var "success".
2011-10-11 05:19:13 +00:00
Ralf Corsepius
b4fe8c305d Fix changelog entry. 2011-10-11 05:17:46 +00:00
Ralf Corsepius
7095f9f84c 2011-10-11 Ralf Corsépius <ralf.corsepius@rtems.org>
* libchip/serial/mc68681.c: Eliminate unused var "success".
2011-10-11 04:56:22 +00:00
Ralf Corsepius
a39985713f 2011-10-10 Ralf Corsépius <ralf.corsepius@rtems.org>
* libchip/serial/z85c30.c: Eliminate unused var "dummy".
2011-10-10 08:37:28 +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
a32a86e758 2011-10-10 Ralf Corsépius <ralf.corsepius@rtems.org>
* libchip/network/sonic.c: Don't cast pointers to uint32_t.
2011-10-10 02:12:46 +00:00
Ralf Corsepius
1f25c77783 2011-10-09 Ralf Corsépius <ralf.corsepius@rtems.org>
* libchip/network/greth.c, libchip/network/open_eth.c
	libchip/network/sonic.c: Eliminate evil typecasts.
	* libchip/network/greth.h, libchip/network/open_eth.h,
	libchip/network/sonic.h: Use void* for addresses.
2011-10-09 15:37:53 +00:00
Joel Sherrill
47a61aa16f 2011-10-07 Daniel Hellstrom <daniel@gaisler.com>
PR 1933/cpukit
	* shared/irq_asm.S: From code inspection I have found the following
	issues (most SMP), and some improvements in irq_asm.S. I would need a
	long test with interrupts to verify the interrupt handler better,
	however I can not see that these patches hurt. Please see comment per
	hunk below, One should go through the file to indent delay-slots
	correctly, I have fixed some in the patch areas. An extra space is
	added in front of delay slots to indicate a delay slot.
2011-10-07 14:35:03 +00:00
Ralf Corsepius
591e964eb8 2011-10-07 Ralf Corsépius <ralf.corsepius@rtems.org>
* shared/startup/bspstart.c: Comment out unused vars.
2011-10-07 14:29:38 +00:00
Ralf Corsepius
5191d84995 2011-10-07 Ralf Corsépius <ralf.corsepius@rtems.org>
* shared/console/console.c: Remove stray local decl of "close".
2011-10-07 14:25:31 +00:00
Ralf Corsepius
6ae51d2e96 2011-10-07 Ralf Corsépius <ralf.corsepius@rtems.org>
* make/custom/rtl22xx_t.cfg: Remove USE_THUMB (Violates *.cfg
	conventions, unused).
2011-10-07 11:00:48 +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
Joel Sherrill
48449a8713 2011-10-06 Gedare Bloom <giddyup44@yahoo.com>
PR 1920/bsp
	* shared/helenos/kernel/sparc64/src/sun4u/takemmu.S,
	shared/start/start.S, shared/startup/bspgetworkarea.c,
	shared/startup/linkcmds: Fix BSP memory use to support more than 4 MB
	of RAM.
2011-10-06 16:46:36 +00:00
Joel Sherrill
b7d3a2ca33 2011-10-06 Gedare Bloom <giddyup44@yahoo.com>
PR 1919/bsp
	* shared/startup/bsppredriverhook.c: New file.
2011-10-06 16:45:12 +00:00
Joel Sherrill
87f92e4b33 2011-10-06 Gedare Bloom <giddyup44@yahoo.com>
PR 1919/bsp
	* Makefile.am: Change install ISR callout to bsppredriverhook.
2011-10-06 16:44:56 +00:00
Jennifer Averett
656f958759 Corrected changelog. 2011-10-05 14:12:40 +00:00
Jennifer Averett
49baad5f0f 2011-10-04 Sebastian Huber <sebastian.huber@embedded-brains.de>
PR 1922
	* preinstall.am: EDF and CBS scheduler: extern declarations fix.
2011-10-04 15:19:44 +00:00
Ralf Corsepius
11848f35b5 New (Missing from BSP import). 2011-10-02 04:57:04 +00:00
Ralf Corsepius
8880766220 New (Missed during BSP-import). 2011-09-30 10:08:12 +00:00
Sebastian Huber
7a752161b4 2011-09-27 Sebastian Huber <sebastian.huber@embedded-brains.de>
* make/custom/mpc8309som.cfg, startup/linkcmds.mpc8309som: New file.
	* Makefile.am, preinstall.am: Reflect changes above.
	* configure.ac, console/console-config.c, include/bsp.h,
	include/hwreg_vals.h, include/irq.h, network/network.c,
	spi/spi_init.c, startup/cpuinit.c: Renamed various BSP options.
	* make/custom/gen83xx.inc, make/custom/hsc_cm01.cfg,
	make/custom/mpc8313erdb.cfg, make/custom/mpc8349eamds.cfg: Avoid
	special linkcmds.
2011-09-26 10:08:29 +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
8f21cc09aa 2011-09-24 Sebastian Huber <sebastian.huber@embedded-brains.de>
* acinclude.m4: Added lm3s69xx BSP.
2011-09-24 13:25:45 +00:00
Sebastian Huber
e263c1607a 2011-09-24 Sebastian Huber <sebastian.huber@embedded-brains.de>
* 0001-Fixed-interrupt-handling-for-ARMv7M.patch,
	0002-Fixed-system-handler-priority-register-access.patch,
	0003-Disable-priority_mask-unused-for-NVIC.patch, 0004-Typo.patch,
	0005-Evil-hack-for-BASEPRI-BASEPRI_MAX.patch,
	0006-Evil-hack-to-increase-the-RAM-size.patch, bsp_specs, ChangeLog,
	clock/clock-config.c, configure.ac, console/console-config.c,
	console/uart.c, .cvsignore, include/bsp.h, include/.cvsignore,
	include/irq.h, include/lm3s69xx.h, include/uart.h, irq/irq.c,
	make/custom/lm3s6965.cfg, make/custom/lm3s69xx.inc, Makefile.am,
	README, start/start.S, startup/bspreset.c, startup/bspstart.c,
	startup/bspstarthook.c, startup/linkcmds.lm3s6965, timer/timer.c: New
	files.
2011-09-24 13:23:42 +00:00
Sebastian Huber
82525a756d 2011-09-22 Sebastian Huber <sebastian.huber@embedded-brains.de>
* make/custom/lpc32xx.inc: Workaround for GCC bug 50106.
	* include/lpc32xx.h: Fixed register map for NAND MLC.
	* include/boot.h: Declare lpc32xx_set_boot_block_bad().
	* misc/boot.c: Define lpc32xx_set_boot_block_bad().
	* include/nand-mlc.h, misc/nand-mlc-erase-block-safe.c,
	misc/nand-mlc-read-blocks.c, misc/nand-mlc-write-blocks.c,
	misc/nand-mlc.c: Changed bad block handling.  Support for non-aligned
	data.  Documentation.
2011-09-22 07:09:07 +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
900d9e66f8 2011-09-01 Sebastian Huber <sebastian.huber@embedded-brains.de>
* startup/bspstart.c: Update due to API changes.
2011-09-01 15:57:09 +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
9e7758b277 2011-08-31 Sebastian Huber <sebastian.huber@embedded-brains.de>
* startup/bspgetworkarea.c, startup/linkcmds.base: Removed files.
	* include/mpc55xx-config.h, make/custom/mpc5674fevb.cfg,
	startup/early-init.c, startup/ebi-cal-cs-config.c,
	startup/ebi-cs-config.c, startup/exc-vector-base.S,
	startup/fmpll-syncr-vals.c, startup/linkcmds.mpc5674fevb,
	startup/mmu-config.c, startup/siu-pcr-config.c: New files.
	* Makefile.am, preinstall.am: Reflect changes above.
	* startup/linkcmds.gwlcfm, startup/linkcmds.mpc5566evb,
	startup/linkcmds.phycore_mpc5554: Use linker command base file.
	* configure.ac: Support MPC5674F.  Changed eSCI options.
	* clock/clock-config.c: Support MPC5674F.
	* i2c/i2c_init.c, network/smsc9218i.c, startup/sd-card-init.c: Update
	due to API changes.
	* include/bsp.h: Define BSP_INTERRUPT_STACK_AT_WORK_AREA_BEGIN.
	* network/if_smc.c: Use HAS_SMC91111.
	* startup/start.S, startup/bspstart.c: Moved low-level initialization
	into new files.  Overall cleanup.
2011-08-31 16:03:10 +00:00
Sebastian Huber
f23c9ed63d 2011-08-31 Sebastian Huber <sebastian.huber@embedded-brains.de>
* startup/linkcmds.base: Removed file.
	* Makefile.am: Reflect change above.
2011-08-31 15:55:52 +00:00
Sebastian Huber
e635abf6a7 2011-08-31 Sebastian Huber <sebastian.huber@embedded-brains.de>
* shared/startup/linkcmds.base: New file.
2011-08-31 15:54:19 +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
54a4fe5fa9 2011-08-30 Peter Dufault <dufault@hda.com>
* make/custom/phycore_mpc5554.cfg, startup/linkcmds.phycore_mpc5554,
	network/if_smc.c: New files.
	* Makefile.am, preinstall.am: Reflect changes above.
	* configure.ac: Add support for the Phytec PhyCORE MPC5554.  Includes:
	  - HAS_SMC91111 to indicate a BSP has that neworking.
	  - SMC91111_ENADDR_IS_SETUP so that it skips code to set up the MAC
	  address.
	  - MPC55XX_CLOCK_EMIOS_CHANNEL to permit one to set which eMIOS
	  channel to use for the clock.
	  - MPC55XX_BOOTFLAGS: Skips two words above the RCHW in the startup
	  for use in skpping over the MMU setup.  Required for debugging via a
	  cheap emulator where code is loaded into RAM and then mapped in as
	  flash.
	 - BOARD_PHYCORE_MPC5554 If defined, use custom settings for the
	 Phytec PhyCORE MPC5554 SOM.
	* clock/clock-config.c: Modify so that the EMIOS channel used for the
	clock can be selected at configuration time.  For MPC5544 only:
	  - Conditionally skip access to a register that faults if accessed on
	  the MPC5554
	  - Do not set the control register mode as was done for GW_LCFM
	  support, it breaks interrupts.
	* make/custom/mpc55xx.inc: Make it possible to override the soft-float
	to set the type of floating point BSP will use.
	* startup/start.S: Add support for the "boot flags", two long-words
	that I manipulate with the debugger to skip over MMU setup.  Use an
	external for the start of external SRAM instead of the hardwired
	number 0x20000000.  Disable write access to the internal flash.
2011-08-30 13:58:05 +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
b907a78b7a 2011-08-30 Sebastian Huber <sebastian.huber@embedded-brains.de>
* libchip/network/smc91111exp.h, libchip/network/smc91111.c: Use
	BSP_FEATURE_IRQ_EXTENSION define.
2011-08-30 13:16:35 +00:00
Sebastian Huber
839dc97e86 2011-08-30 Sebastian Huber <sebastian.huber@embedded-brains.de>
* include/bsp.h: Define BSP_FEATURE_IRQ_EXTENSION.
2011-08-30 13:13:25 +00:00