Commit Graph

8489 Commits

Author SHA1 Message Date
Till Straumann
6c81fcc2a1 2007-11-29 Till Straumann <strauman@slac.stanford.edu>
* shared/flash/flash.c, shared/flash/flashPgm.h:
	added calls to obtain info about flash bank start,
	size and block size.
2007-11-27 21:14:26 +00:00
Till Straumann
2a444594b7 2007-11-29 Till Straumann <strauman@slac.stanford.edu>
* Makefile.am, shared/flash, shared/flash/flash.c,
	shared/flash/flashPgm.h, shared/flash/flashPgmPvt.h,
	shared/flash/intelFlash.c, shared/flash/spansionFlash.c:
	Added flash programmer API, implementation and chip drivers
	for some intel + spansion flash chips (as found on mvme5500,
	mvme6100 and mvme3100 boards).
	A more appopriate place would probably be libchip but
	I don't know if the API is acceptable and if the implementation
	is generic enough (e.g., no CFI support) so I leave it here
	for now.
2007-11-27 20:36:22 +00:00
Till Straumann
118df76a8c 2007-11-20 Till Straumann <strauman@slac.stanford.edu>
* libchip/rtc/ds1375.c, libchip/rtc/ds1375-rtc.h:
		added CVS ID.
2007-11-27 19:44:54 +00:00
Joel Sherrill
fa920f122d 2007-11-26 Joel Sherrill <joel.sherrill@oarcorp.com>
* clock/ckinit.c, startup/bspstart.c: Eliminate the
	clicks_per_microsecond field in the SuperH CPU Table and define
	another mechanism for drivers to obtain this information.
2007-11-26 23:02:17 +00:00
Joel Sherrill
26d47f8e73 2007-11-26 Joel Sherrill <joel.sherrill@oarcorp.com>
* startup/bspstart.c: Eliminate the clicks_per_microsecond field in the
	SuperH CPU Table and define another mechanism for drivers to obtain
	this information.
2007-11-26 23:02:15 +00:00
Joel Sherrill
99f67930c2 2007-11-26 Joel Sherrill <joel.sherrill@oarcorp.com>
* sh7032/clock/ckinit.c, sh7032/delay/delay.c, sh7032/timer/timer.c,
	sh7045/clock/ckinit.c, sh7045/timer/timer.c, sh7750/clock/ckinit.c,
	sh7750/timer/timer.c: Eliminate the clicks_per_microsecond field in
	the SuperH CPU Table and define another mechanism for drivers to
	obtain this information.
2007-11-26 23:02:03 +00:00
Joel Sherrill
b72f579982 2007-11-26 Joel Sherrill <joel.sherrill@oarcorp.com>
* clock/ckinit.c: Eliminate the clicks_per_microsecond field in the
	MIPS CPU Table and define another mechanism for drivers to obtain
	this information.
2007-11-26 22:58:07 +00:00
Joel Sherrill
c63f6e2efc 2007-11-26 Joel Sherrill <joel.sherrill@oarcorp.com>
* clock/ckinit.c, startup/bspstart.c: Eliminate the
	clicks_per_microsecond field in the MIPS CPU Table and define another
	mechanism for drivers to obtain this information.
2007-11-26 22:36:18 +00:00
Joel Sherrill
9d7fa71a51 2007-11-26 Joel Sherrill <joel.sherrill@oarcorp.com>
* libchip/network/if_fxp.c: Spacing.
2007-11-26 22:25:53 +00:00
Joel Sherrill
4c3d3cdbfd 2007-11-26 Joel Sherrill <joel.sherrill@oarcorp.com>
* bootcard.c: Add comment.
2007-11-26 22:09:27 +00:00
Joel Sherrill
dde1eb364f 2007-11-26 Joel Sherrill <joel.sherrill@oarcorp.com>
* console/config.c: Fix typo.
2007-11-26 22:08:20 +00:00
Joel Sherrill
6fc48b2cba 2007-11-26 Joel Sherrill <joel.sherrill@oarcorp.com>
* startup/bspstart.c: Eliminate the interrupt_table_segment and
	interrupt_table_offset fields in the i386 CPU Table since they are
	never read.
2007-11-26 22:07:37 +00:00
Joel Sherrill
4bbf6ecbd8 2007-11-26 Joel Sherrill <joel.sherrill@oarcorp.com>
* shmsupp/getcfg.c: Fix spacing.
2007-11-26 21:52:53 +00:00
Joel Sherrill
bf5ef93d30 2007-11-26 Joel Sherrill <joel.sherrill@oarcorp.com>
* clock/ckinit.c, include/bsp.h: Fix spacing.
2007-11-26 21:52:51 +00:00
Joel Sherrill
4b69980046 2007-11-26 Joel Sherrill <joel.sherrill@oarcorp.com>
* startup/bspstart.c: Fix spacing.
2007-11-26 21:28:16 +00:00
Joel Sherrill
1693c131a1 2007-11-26 Joel Sherrill <joel.sherrill@oarcorp.com>
* startup/bspstart.c: Eliminate the interrupt_vector_table field in the
	m68k CPU Table since it is never read.
2007-11-26 21:20:33 +00:00
Joel Sherrill
a4ebf1f481 2007-11-26 Joel Sherrill <joel.sherrill@OARcorp.com>
* runtest.in: Filter out Memory exception error messages.
2007-11-26 19:45:16 +00:00
Joel Sherrill
d9b0895dff 2007-11-26 Joel Sherrill <joel.sherrill@OARcorp.com>
* shared/console/uart.c: Fix typo and spacing.
2007-11-26 19:33:55 +00:00
Joel Sherrill
1066597789 2007-11-26 Eric Norum <norume@aps.anl.gov>
* network/network.c: Fix LED configuration to match uCDIMM.
2007-11-26 17:48:33 +00:00
Till Straumann
f5dea7005a 2007-11-21 Till Straumann <strauman@slac.stanford.edu>
* shared/console/uart.c: when draining UART during
	initialization (wait for possible printk() activity
	to finish) look at TEMT (fifo, holding-reg and shift-reg)
	rather than THRE (fifo, holding-reg only). This resolved
	some scrambled output issues for me.

	Enhanced semantics: if BSP initializes BSPBaseBaud to a negative
	value then the driver interprets the modulus as a speed value
	and uses the current setting of the divisor to compute the
	clock speed (BSPBaseBaud). This is useful if you have a board
	that you know is initialized e.g., to 9600 but you
	don't know the clock speed.
2007-11-22 06:10:53 +00:00
Chris Johns
cb32666020 2007-11-22 Chris Johns <chrisj@rtems.org>
* m68k/mcf5235/include/mcf5235.h: Remove '/' from define label.
2007-11-22 04:40:41 +00:00
Till Straumann
5a8e5df7d4 2007-11-21 Till Straumann <strauman@slac.stanford.edu>
* 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.
2007-11-21 08:03:30 +00:00
Till Straumann
d371a97e58 2007-11-20 Till Straumann <strauman@slac.stanford.edu>
* libchip/rtc/ds1375.c, libchip/rtc/ds1375-rtc.h:
	Avoid using 'stdio' before the system is up and fully
	initialized.
2007-11-21 06:23:12 +00:00
Till Straumann
381a2f18fc 2007-11-20 Till Straumann <strauman@slac.stanford.edu>
* libchip/rtc/ds1375.c, libchip/rtc/ds1375-rtc.h,
	* libchip/Makefile.am, libchip/preinstall.am:
	added new driver for Maxim DS1375 i2c RTC.
2007-11-20 20:16:43 +00:00
Till Straumann
ff9d8898e5 2007-11-13 Till Straumann <strauman@slac.stanford.edu>
* shared/src/cache.c: moved generic operations
	(flush/invalidate 1 data line, invalidate 1 inst. line)
	from #ifdef <cpu_flavor> to general section (all CPUs).
2007-11-14 00:42:18 +00:00
Till Straumann
a10c721462 2007-11-13 Till Straumann <strauman@slac.stanford.edu>
* shared/src/cache_.h: include <libcpu/cache.h> only
	#ifdef _OLD_EXCEPTIONS - no need for <libcpu/cache.h>
	otherwise.
2007-11-14 00:40:20 +00:00
Till Straumann
b472166df6 2007-11-13 Till Straumann <strauman@slac.stanford.edu>
* shared/include/byteorder.h: fixed wrong pointer-type
	of ld_le32() (uint16_t* -> uint32_t*).
2007-11-14 00:36:59 +00:00
Joel Sherrill
d880c88e22 2007-11-09 Joel Sherrill <joel.sherrill@oarcorp.com>
* ada.am: Now builds cleanly with GCC trunk.
2007-11-09 17:09:41 +00:00
Joel Sherrill
edf4ee47df 2007-11-07 Joel Sherrill <joel.sherrill@OARcorp.com>
* aclocal.m4: Removed. Is automatically generated by bootstrap.
2007-11-07 15:31:10 +00:00
Joel Sherrill
5a364be362 2007-11-03 Ray Xu <rayx.cn@gmail.com>
*lpc22xx/irq/bsp_irq_asm.S: Add veneer for ARM<->Thumb
        lpc22xx/irq/bsp_irq_init.c: add VIC address init
2007-11-06 22:54:21 +00:00
Joel Sherrill
f28bbe5c6b 2007-11-03 Ray Xu <rayx.cn@gmail.com>
* shared/abort/simple_abort.c: Add veneer for ARM<->Thumb
        shared/irq/irq_asm.S: Add veneer for ARM<->Thumb
2007-11-06 22:50:51 +00:00
Joel Sherrill
ac654234d6 2007-11-03 Ray Xu <rayx.cn@gmail.com>
* start/start.S, startup/bspclean.c: Add veneer between ARM and
        Thumb instructions.  also moved bss init after CPSR/stack init in
	start.S
2007-11-06 22:50:42 +00:00
Till Straumann
a4722f82b0 2007-11-06 Till Straumann <strauman@slac.stanford.edu>
* ep1a/irq/irq.c, gen5200/irq/irq.c, mbx8xx/irq/irq.c,
	mpc8260ads/irq/irq.c, mvme5500/irq/irq.c, psim/irq/irq.c,
	score603e/irq/irq.c, shared/irq/irq.c:
	test for non-NULL-ness before calling 'on'/'off'
	methods so that users don't have to provide
	no-ops if they don't want this feature.
2007-11-06 22:19:41 +00:00
Till Straumann
db1986ac0f 2007-11-06 Till Straumann <strauman@slac.stanford.edu>
* shared/console/uart.c: removed #define UARTDEBUG
2007-11-06 22:14:04 +00:00
Till Straumann
8e1d542c07 2007-11-06 Till Straumann <strauman@slac.stanford.edu>
* mpc5xx/irq/irq.c, mpc5xx/exceptions/raw_exception.c,
	new-exceptions/raw_exception.c: test for non-NULL-ness before calling
	'on'/'off' methods so that users don't have to provide
	no-ops if they don't want this feature.
2007-11-06 21:54:18 +00:00
Till Straumann
cad1f386ef 2007-11-06 Till Straumann <strauman@slac.stanford.edu>
* shared/irq/irq.c: test for non-NULL-ness before calling
	'on'/'off' methods so that users don't have to provide
	no-ops if they don't want this feature.
2007-11-06 21:44:07 +00:00
Till Straumann
63fa36ea60 2007-11-06 Till Straumann <strauman@slac.stanford.edu>
* gba/irq/irq.c: test for non-NULL-ness before calling
	'on'/'off' methods so that users don't have to provide
	no-ops if they don't want this feature.
2007-11-06 21:38:27 +00:00
Joel Sherrill
b214b1bab9 2007-11-06 Joel Sherrill <joel.sherrill@OARcorp.com>
* clock/ckinit.c: Formatting.
2007-11-06 19:45:35 +00:00
Joel Sherrill
12f1455b78 2007-11-06 Joel Sherrill <joel.sherrill@OARcorp.com>
* startup/linkcmds: Formatting.
2007-11-06 19:45:22 +00:00
Till Straumann
a16747e88c 2007-11-06 Till Straumann <strauman@slac.stanford.edu>
* shared/pci/pci.c: converted access to pci_config_addr to
	conditionally defined macros so that bsp.h can override details.
2007-11-06 09:11:09 +00:00
Joel Sherrill
fa4e67c838 2007-10-31 Joel Sherrill <joel.sherrill@oarcorp.com>
* include/mpc5200.h: Fix typo.
2007-10-31 14:28:19 +00:00
Joel Sherrill
f81b295103 2007-10-30 Joel Sherrill <joel.sherrill@oarcorp.com>
* include/mpc5200.h: Fix constants off by one nibble.
2007-10-30 20:57:38 +00:00
Joel Sherrill
b83b754e28 2007-10-30 Joel Sherrill <joel.sherrill@oarcorp.com>
* include/mpc5200.h: Added some simple interrupt GPIO constants.
2007-10-30 19:32:02 +00:00
Joel Sherrill
327b002078 2007-10-26 Joel Sherrill <joel.sherrill@oarcorp.com>
* irq/irq.h: Fixed typos.
2007-10-26 15:49:59 +00:00
Thomas Doerfler
933f743544 reenable instruction MMU 2007-10-26 14:37:59 +00:00
Thomas Doerfler
99e65f9c28 *** empty log message *** 2007-10-26 12:12:42 +00:00
Thomas Doerfler
7a4e8e7c8a corrected bug in libchip/i2c/spi-flash-m25p40 2007-10-26 09:54:28 +00:00
Thomas Doerfler
83374f3b27 adding new spi flash driver 2007-10-26 06:07:06 +00:00
Joel Sherrill
78c7192903 2007-10-25 Joel Sherrill <joel.sherrill@oarcorp.com>
* mptests/mp01/node1/Makefile.am, mptests/mp01/node2/Makefile.am,
	mptests/mp02/node1/Makefile.am, mptests/mp02/node2/Makefile.am,
	mptests/mp03/node1/Makefile.am, mptests/mp03/node2/Makefile.am,
	mptests/mp04/node1/Makefile.am, mptests/mp04/node2/Makefile.am,
	mptests/mp05/node1/Makefile.am, mptests/mp05/node2/Makefile.am,
	mptests/mp06/node1/Makefile.am, mptests/mp06/node2/Makefile.am,
	mptests/mp07/node1/Makefile.am, mptests/mp07/node2/Makefile.am,
	mptests/mp08/node1/Makefile.am, mptests/mp08/node2/Makefile.am,
	mptests/mp09/node1/Makefile.am, mptests/mp09/node2/Makefile.am,
	mptests/mp10/node1/Makefile.am, mptests/mp10/node2/Makefile.am,
	mptests/mp11/node1/Makefile.am, mptests/mp11/node2/Makefile.am,
	mptests/mp12/node1/Makefile.am, mptests/mp12/node2/Makefile.am,
	mptests/mp13/node1/Makefile.am, mptests/mp13/node2/Makefile.am,
	mptests/mp14/node1/Makefile.am, mptests/mp14/node2/Makefile.am,
	samples/base_mp/Makefile.am, samples/base_mp/node1/Makefile.am,
	samples/base_mp/node2/Makefile.am, samples/base_sp/Makefile.am,
	samples/hello/Makefile.am, samples/nsecs/Makefile.am,
	samples/ticker/Makefile.am, sptests/sp01/Makefile.am,
	sptests/sp02/Makefile.am, sptests/sp03/Makefile.am,
	sptests/sp04/Makefile.am, sptests/sp05/Makefile.am,
	sptests/sp06/Makefile.am, sptests/sp07/Makefile.am,
	sptests/sp08/Makefile.am, sptests/sp09/Makefile.am,
	sptests/sp11/Makefile.am, sptests/sp12/Makefile.am,
	sptests/sp13/Makefile.am, sptests/sp14/Makefile.am,
	sptests/sp15/Makefile.am, sptests/sp16/Makefile.am,
	sptests/sp17/Makefile.am, sptests/sp19/Makefile.am,
	sptests/sp20/Makefile.am, sptests/sp22/Makefile.am,
	sptests/sp23/Makefile.am, sptests/sp24/Makefile.am,
	sptests/sp25/Makefile.am, tmtests/tm01/Makefile.am,
	tmtests/tm02/Makefile.am, tmtests/tm03/Makefile.am,
	tmtests/tm04/Makefile.am, tmtests/tm05/Makefile.am,
	tmtests/tm06/Makefile.am, tmtests/tm07/Makefile.am,
	tmtests/tm08/Makefile.am, tmtests/tm09/Makefile.am,
	tmtests/tm10/Makefile.am, tmtests/tm11/Makefile.am,
	tmtests/tm12/Makefile.am, tmtests/tm13/Makefile.am,
	tmtests/tm14/Makefile.am, tmtests/tm15/Makefile.am,
	tmtests/tm16/Makefile.am, tmtests/tm17/Makefile.am,
	tmtests/tm18/Makefile.am, tmtests/tm19/Makefile.am,
	tmtests/tm20/Makefile.am, tmtests/tm21/Makefile.am,
	tmtests/tm22/Makefile.am, tmtests/tm23/Makefile.am,
	tmtests/tm24/Makefile.am, tmtests/tm25/Makefile.am,
	tmtests/tm28/Makefile.am, tmtests/tm29/Makefile.am,
	tmtests/tmck/Makefile.am, tmtests/tmoverhd/Makefile.am: Executables
	should end in .exe just like their C counterparts.
2007-10-25 22:06:13 +00:00
Glenn Humphrey
d45b4a9802 2007-10-25 Glenn Humphrey <glenn.humphrey@OARcorp.com>
* rtems.adb, rtems.ads: Added some more missing bindings.
2007-10-25 20:44:31 +00:00