Commit Graph

3494 Commits

Author SHA1 Message Date
Gregory Nutt
e78f36e229 SAMA5: Update from David Sidrane to last RAM function change: Apparently inline functions need to placed into the same RAM section, or they do not get inlined. From David Sidrane 2014-04-04 08:59:39 -06:00
Gregory Nutt
724d2de086 Fix a build error when only USB device tracing is enabled (from David Sidrane). Also an update to the USB tracing document 2014-04-04 08:56:10 -06:00
Gregory Nutt
38e49b48c5 SAMA5: On some hardware, reconfiguring the PLL while executing out of NOR FLASH causes crashes. This was fixed by David Sidrane by implementing RAM functions. The killer code is copied and executed from ISRAM and the crash is avoided. 2014-04-03 16:08:18 -06:00
Gregory Nutt
e92eaabb3e SAMA5: Fix SAMA5 so that interpretation of BMS bit is correct. From David Sidrane 2014-04-03 15:47:34 -06:00
Gregory Nutt
489651d041 ARMv7-A: Typo fix from David Sidrane 2014-04-03 15:43:13 -06:00
Gregory Nutt
774a24a2c2 SAMA5: Cosmetic updates to comments and README files 2014-04-03 15:30:00 -06:00
Gregory Nutt
c00a3ce914 SAMA5: When booting from SDRAM, don't copy vectors to ISRAM. Instread just set the VBAR register to add address of the vectors in SDRAM 2014-04-03 14:09:11 -06:00
Gregory Nutt
362d539914 If LOWVECTORS is selected, then we need to clear the VBAR register. A bootloader may have left the VBAR in an bad state 2014-04-03 13:09:30 -06:00
Gregory Nutt
e3d2117b29 SAMA5: Make sure the MMU and caches are disabled on power up; flush the vector region D-Cache after copying interrupt vectors; make sure that D-Cache, I-Cache, and TLBs are invalidated after modifying the AXI MATRIX remapping 2014-04-02 16:27:00 -06:00
Gregory Nutt
3a1e08bc3c SAMA5: When running from SRAM, vectors must lie in ISRAM 2014-04-02 12:54:15 -06:00
Gregory Nutt
7372485e16 Updated comments and README 2014-04-02 09:03:29 -06:00
Gregory Nutt
df7429add0 SAMA5 DBGU: Add logic to suppress DBGU reconfiguration when started from a bootloader 2014-04-02 09:03:27 -06:00
Gregory Nutt
c6685c7f7d Fix typo introduced to the serial driver when the DBGU driver was added 2014-04-02 09:02:15 -06:00
Gregory Nutt
c0bf638798 SAMA5: Add support for DBGU. Xplained board now uses DBGU for the serial console 2014-04-01 11:24:15 -06:00
Gregory Nutt
cec5d575c0 Cosmetic update to comments and README files 2014-03-31 17:25:39 -06:00
Gregory Nutt
4a37d6b042 SAMA5: Add DBGU register definition header file 2014-03-31 17:25:16 -06:00
Gregory Nutt
cd45038326 Remove double mapping of SDRAM when running from SDRAM 2014-03-31 15:08:04 -06:00
Gregory Nutt
bb7fbad8bd cosmetic updates to comments 2014-03-30 10:25:01 -06:00
Gregory Nutt
9767d1f976 Fix some backward conditional compilation 2014-03-30 08:29:21 -06:00
Gregory Nutt
406e91e262 SAMA5: Remove HSCMI-related functions that did not belong in sam_pmc.c and give them their own file 2014-03-30 08:00:59 -06:00
Gregory Nutt
eacf905089 Fix a rounding problem in HSMCI divider calculation 2014-03-29 18:13:00 -06:00
Gregory Nutt
c20f9c71b1 SAMA5D23 boards: When running out of SDRAM, need to query the PMC to determine operating frequency 2014-03-29 17:51:06 -06:00
Gregory Nutt
ff594d859e SAMA5: Add functions to calculate PLLACK, PCK, and MCK frequencies given the main clock frequency 2014-03-29 15:54:10 -06:00
Gregory Nutt
797f149481 SAMA5D3 Xplained: Has no NOR flash. Remove all NOR support from board configuration 2014-03-29 15:05:09 -06:00
Gregory Nutt
73f0ff6c47 Documentatin updated; fix errors in some comments 2014-03-28 09:52:07 -06:00
Gregory Nutt
1b11e89c25 Add support for the SAMA5D36 2014-03-28 08:33:01 -06:00
Gregory Nutt
32ca368f16 Fix a warning that happens with debug is disabled 2014-03-26 16:32:38 -06:00
Gregory Nutt
e5360ef5d9 SAM4E CMCC: Fix some errors introducted in last check-in 2014-03-26 16:32:16 -06:00
Gregory Nutt
8f7d58c011 Eliminate some warnings 2014-03-26 16:31:26 -06:00
Gregory Nutt
67695a2248 SAM3/4: SPI and HSCMI drivers with now use the CMCC is available; The SPI driver will now handle word sizes greater than 8-bits 2014-03-26 13:19:44 -06:00
Gregory Nutt
be88e99ec8 SAM4E USP: Re-vamp read request queue handling. Add logic to handle RX overrun errors 2014-03-26 11:38:47 -06:00
Gregory Nutt
d2001a1dc3 tools/astyle.sh: Formatting tool based on logic from Lorenz Meier 2014-03-26 08:50:48 -06:00
Gregory Nutt
f1e6ea46ed SAMA5D3: Fix some typos in last blind changes backported from the SAM4e. And verified 2014-03-25 16:11:33 -06:00
Gregory Nutt
9a724d8b36 backport a serial console fix from the sam4e to the sama5d3 2014-03-25 14:34:07 -06:00
Gregory Nutt
9b5e800cc0 SAM3/4 CMCC: if region to be invalidate is bigger than that cache, then invalidate all 2014-03-25 14:25:22 -06:00
Gregory Nutt
99f9239a00 SAM3/4 Serial: Fix a mysterious multi-tasking bug that can lock up the serial port 2014-03-25 12:44:03 -06:00
Gregory Nutt
3425d20072 SAM3/4 HSMCI: Update configuration names to match last change to Kconfig 2014-03-24 17:42:28 -06:00
Gregory Nutt
fa3f78c821 Add missing HSCMI configuration options; Make HSMCI configuration naming more compatible; Fix HSCMI clocking to use the CLKODD bit 2014-03-24 14:25:40 -06:00
Gregory Nutt
ff7c62574a SAM3/4 HSCMI: Another fix for complication with SAM4E 2014-03-24 10:25:02 -06:00
Gregory Nutt
eddfa4222f STM32 EMAC: Add support for IGMP hash table update. From Manuel Stühn 2014-03-24 09:32:48 -06:00
Gregory Nutt
f2d44cd8db SAM3/4: Changes for clean HSMCI compilation 2014-03-23 15:52:14 -06:00
Gregory Nutt
f613048460 SAM3/4: Rename CONFIG_GPIO*_IRQ to CONFIG_SAM34_GPIO*_IRQ 2014-03-23 15:51:34 -06:00
Gregory Nutt
b8ea1d49a8 SAM3/4: Rename CONFIG_GPIO*_IRQ to CONFIG_SAM34_GPIO*_IRQ 2014-03-23 15:51:08 -06:00
Gregory Nutt
6b4a4c8293 SAM4E-EK: Enable interrupt stack in all configurations 2014-03-23 10:12:57 -06:00
Gregory Nutt
788d5bb0fc Add logic to check interrupt stack usage 2014-03-23 10:11:58 -06:00
Gregory Nutt
88d0375f38 AVR assertion logic will report stack usage on crash if DEBUG_STACK is set 2014-03-23 10:11:14 -06:00
Gregory Nutt
c41976f23c Clean-up AVR stack colorization logic 2014-03-23 10:09:53 -06:00
Gregory Nutt
82c9694c5b All ARM Make.defs files should build up_checkstack.c if DEBUG_STACK is enabled 2014-03-23 10:07:52 -06:00
Gregory Nutt
5ac5506b35 All ARM assertion logic will show stack usage on assertion if DEBUG_STACK is enabled 2014-03-23 10:06:48 -06:00
Gregory Nutt
b6784677d0 Every ARM architecture must export g_instackbase 2014-03-23 10:05:21 -06:00