Commit Graph

109 Commits

Author SHA1 Message Date
Gregory Nutt
d9737f0645 TMS570: reset stack pointer before calling os_start 2015-12-29 07:56:22 -06:00
Gregory Nutt
ae0e6b4096 ARMv7-R and TMS570: Re-orider some initialization logic. __start used to called arm_boot() which would return. Then __start would call os_start(). That won't work for the TMS570 if is does a destructive memory tested because the return information will be lost in the stack. Also comment a nuisance assertion. The assertion is probably correct but certainly a nuisance during initial testing 2015-12-28 16:15:33 -06:00
Gregory Nutt
00f70474bb TMS570: Power-up errcheck assertion is a headache 2015-12-28 08:30:03 -06:00
Gregory Nutt
c3758286d7 TMS570: Add ESM interrupt handler 2015-12-27 08:34:14 -06:00
Gregory Nutt
e1b1f80237 TMS570: Add ESM initialization logic 2015-12-27 07:54:43 -06:00
Gregory Nutt
1f2d9c9174 TMS570: Does not have prioritized interrupts in the sense of other CPUs. Fix some compile errors when DEBUG is enabled 2015-12-26 12:26:57 -06:00
Gregory Nutt
d592b2824e TMS570: A little more selftest logic 2015-12-26 12:05:32 -06:00
Gregory Nutt
a27cd8e54e TMS570: Add the beginning of some selftest logic 2015-12-26 10:01:53 -06:00
Gregory Nutt
9c1b677bd5 TMS570: Clean up misc. build issues 2015-12-26 08:18:52 -06:00
Gregory Nutt
c58393cb4d TMS570: Add GIO drivrs and GIO interrupt support 2015-12-25 13:44:49 -06:00
Gregory Nutt
ccc6913383 TMS570: Add definitions to support GIO second level interrupts 2015-12-25 11:43:38 -06:00
Gregory Nutt
f539d331c5 TMS570: A few more GIO definitions 2015-12-25 11:30:08 -06:00
Gregory Nutt
0a936e7fa7 TMS570: More GIO definitions 2015-12-25 11:28:01 -06:00
Gregory Nutt
2563663a45 TMS570: Add GIO header file 2015-12-25 10:39:04 -06:00
Gregory Nutt
be99e773cf TMS570: Return serial status when a byte is read 2015-12-25 08:47:12 -06:00
Gregory Nutt
6b1f3da01a TMS570: Don't try building arm_fpuconfig.S for a Cortex-R4 2015-12-24 13:46:49 -06:00
Gregory Nutt
ea1fa2e938 TMS570: SCI serial driver is now included in the build and compiles without error 2015-12-24 13:37:42 -06:00
Gregory Nutt
90cfe8e23b TMS570: Initalize SCI interrupt handling logic 2015-12-24 12:35:22 -06:00
Gregory Nutt
af1504ec4a TMS570: Flesh out low-level serial console logic 2015-12-24 11:07:03 -06:00
Gregory Nutt
7c72f32bbc TMS570: Add TMS570 SCI driver(s). Initial commits are just SAMV7 drivers with name changes. A lot more needs to be done 2015-12-23 17:48:33 -06:00
Gregory Nutt
1ab3e02ac8 TMS570: Fix a few naming issues leftover from leverage 2015-12-23 16:08:29 -06:00
Gregory Nutt
a76f2b853a TMS570: Add system timer logic 2015-12-23 13:41:36 -06:00
Gregory Nutt
6db67471cb TMS570: Add an RTI header file. Still incomplete on initial commit 2015-12-23 08:18:18 -06:00
Gregory Nutt
860a2fc786 TMS570: Add interrupt decode logic 2015-12-21 12:17:26 -06:00
Gregory Nutt
092c681157 TMS570: Add a little more IRQ/FIQ logic 2015-12-21 10:57:01 -06:00
Gregory Nutt
caad954b01 TMS570: Add VIM header file 2015-12-21 07:40:27 -06:00
Gregory Nutt
010a73d3b6 TMS570: A little more selftest structure 2015-12-20 17:55:21 -06:00
Gregory Nutt
a2fb50d812 TMS570: Add a framework that will eventually support self-test 2015-12-20 11:51:36 -06:00
Gregory Nutt
2629053bbe TMS570: Add pin multiplexing logic 2015-12-20 10:14:51 -06:00
Gregory Nutt
b69c91a8a8 TMS570: Add empty, stub interrupt initialization logic 2015-12-19 19:06:30 -06:00
Gregory Nutt
63d5032d3b TMS4570: Was not building arm_head.S or up_allocateheap.c; ARMv7-R: Fix variious problems not that arm_head.S is being built 2015-12-19 18:56:23 -06:00
Gregory Nutt
4d99e2b0e6 TMS570: Add FLASH wait state configuration 2015-12-19 16:33:39 -06:00
Gregory Nutt
c9c473997c TMS570: Add ECLK setup 2015-12-19 15:56:00 -06:00
Gregory Nutt
d7595446bf TMS570: More clock configuration logic 2015-12-19 13:15:26 -06:00
Gregory Nutt
2bd1be6c96 TMS570: Use values from TI OTP to set LPO trim value 2015-12-19 11:40:38 -06:00
Gregory Nutt
fac00f04d0 TMS570: Add a FLASH controller header file 2015-12-19 09:01:24 -06:00
Gregory Nutt
1ddabf9ff1 TMS570: Add peripheral initialization logic 2015-12-19 08:10:21 -06:00
Gregory Nutt
3a6aa75d15 TMS570: Initial PBIST register definitions 2015-12-18 20:36:06 -06:00
Gregory Nutt
834c2baf40 TMS570: Add SCI header file 2015-12-18 19:52:08 -06:00
Gregory Nutt
50205b4342 TMS570: Add some basic PLL configuration logic 2015-12-18 18:24:53 -06:00
Gregory Nutt
aa524024d0 Add a few more TMS570 SYS register bit definitions 2015-12-18 11:15:16 -06:00
Gregory Nutt
0403132800 TMS570: Add selftest configuration option; Add a few more SYS register definitions 2015-12-18 09:09:58 -06:00
Gregory Nutt
d4b7bf59d0 TMS570: More start-up logic 2015-12-18 08:57:29 -06:00
Gregory Nutt
f55ff3a3c5 TMS570: Add PBIST header file 2015-12-18 06:55:43 -06:00
Gregory Nutt
e7b48d264b TMS570: Separate SYS register definitions into SYS, STS2, and PCR 2015-12-18 06:39:19 -06:00
Gregory Nutt
1ff36b19e8 TMS570: Misc, minor updates 2015-12-17 15:31:58 -06:00
Gregory Nutt
0405ac92a2 TMS570: Add SYS register definitions (incomplete) 2015-12-17 15:30:54 -06:00
Gregory Nutt
4bdc22d7e2 TMS570: Eliminate some warnings 2015-12-17 12:57:48 -06:00
Gregory Nutt
0f7f364865 TMS570: Correct a few problems introduced in previous commits 2015-12-17 12:52:15 -06:00
Gregory Nutt
3f964ab20c SR4 is the same as SR1-3 2015-12-17 12:28:45 -06:00
Gregory Nutt
add1754dcc TMS570: Add ESM header file 2015-12-17 12:17:48 -06:00
Gregory Nutt
c251fd7756 ARMv7-R: Add a configuration to support delayed memory initialization. This logic was already in place for SDRAM but is also required for some ECC memories as well. 2015-12-17 10:49:56 -06:00
Gregory Nutt
9364824a53 ARMv7-R: Add logic to work-around errata, remove logic to access VBAR since this is no VBAR and add logic to access PMCR. TMS570: Add logic to set debug bits in PMCR 2015-12-17 09:34:38 -06:00
Gregory Nutt
5794675247 TMS570: Memory map applies only to LS04x and LS03x. Peripheral numbering seems to start with 1, not 0 2015-12-16 14:10:45 -06:00
Gregory Nutt
9f9cb00104 TMS570: Remove some garbage left in Kconfig file 2015-12-16 12:46:42 -06:00
Gregory Nutt
f310887bb9 TMS570: Add memory map and peripheral selection logic 2015-12-16 11:06:14 -06:00
Gregory Nutt
bacf7cf07e ARMv7-R: fix some issues to get a clean compilation; TMS570: Add enough logic to support a minimum build. Not much there on the initial commit 2015-12-16 09:03:14 -06:00
Gregory Nutt
8cabb844ab TMS570: Hook into build/configuration system 2015-12-15 17:15:37 -06:00
Gregory Nutt
8fb76cf970 TMS570: Add a place holder for the TMS570. Not much there yet 2015-12-14 16:38:05 -06:00