Commit Graph

3499 Commits

Author SHA1 Message Date
Gregory Nutt
6c5535cc38 SAMA5 clocking: USB clock setup needs to be done no matter the state of BMS and not matter how we are booting 2014-04-05 11:53:20 -06:00
Gregory Nutt
abca33bd6b Cosmetic update to comments 2014-04-05 11:35:05 -06:00
Gregory Nutt
120589434f Kconfig: Remove warnings. ARCH_RAMFUNCS depends on ARCH_HAVE_RAMFUNCS, so it is not possible to select ARCH_RAMFUNCS wihtout ARCH_HAVE_RAMFUNCS 2014-04-04 16:26:24 -06:00
Gregory Nutt
781f2804ee SAMA5: Don't use MMU PMD bufferable bit to try to control write-through vs write-back. It does not work that way 2014-04-04 16:05:20 -06:00
Gregory Nutt
0b7ec97370 SAMA5 boards: Operation at 528Mhz has been verified 2014-04-04 10:36:53 -06:00
Gregory Nutt
69c69c45c6 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
5eeb9f97fc 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
2efc4d6396 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
b884ab50f4 SAMA5: Fix SAMA5 so that interpretation of BMS bit is correct. From David Sidrane 2014-04-03 15:47:34 -06:00
Gregory Nutt
8d1781437d ARMv7-A: Typo fix from David Sidrane 2014-04-03 15:43:13 -06:00
Gregory Nutt
5fef770362 SAMA5: Cosmetic updates to comments and README files 2014-04-03 15:30:00 -06:00
Gregory Nutt
048230fb94 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
c9fc03d52f 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
11c7386dab 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
16c4ea72ec SAMA5: When running from SRAM, vectors must lie in ISRAM 2014-04-02 12:54:15 -06:00
Gregory Nutt
6201df6463 Updated comments and README 2014-04-02 09:03:29 -06:00
Gregory Nutt
0d66ba9c00 SAMA5 DBGU: Add logic to suppress DBGU reconfiguration when started from a bootloader 2014-04-02 09:03:27 -06:00
Gregory Nutt
0b8d635d96 Fix typo introduced to the serial driver when the DBGU driver was added 2014-04-02 09:02:15 -06:00
Gregory Nutt
cbdc9155ab SAMA5: Add support for DBGU. Xplained board now uses DBGU for the serial console 2014-04-01 11:24:15 -06:00
Gregory Nutt
3d8cbb415c Cosmetic update to comments and README files 2014-03-31 17:25:39 -06:00
Gregory Nutt
a29187bd34 SAMA5: Add DBGU register definition header file 2014-03-31 17:25:16 -06:00
Gregory Nutt
5dd8a2cfe4 Remove double mapping of SDRAM when running from SDRAM 2014-03-31 15:08:04 -06:00
Gregory Nutt
8e919137b2 cosmetic updates to comments 2014-03-30 10:25:01 -06:00
Gregory Nutt
d14940a375 Fix some backward conditional compilation 2014-03-30 08:29:21 -06:00
Gregory Nutt
ec60f6cd9d 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
4d6b1ed2c8 Fix a rounding problem in HSMCI divider calculation 2014-03-29 18:13:00 -06:00
Gregory Nutt
aac2a6759d 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
1b6ae2ccbb 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
8bc70e38ab SAMA5D3 Xplained: Has no NOR flash. Remove all NOR support from board configuration 2014-03-29 15:05:09 -06:00
Gregory Nutt
f12e37cae4 Documentatin updated; fix errors in some comments 2014-03-28 09:52:07 -06:00
Gregory Nutt
085d7dfe34 Add support for the SAMA5D36 2014-03-28 08:33:01 -06:00
Gregory Nutt
47baf7bf2b Fix a warning that happens with debug is disabled 2014-03-26 16:32:38 -06:00
Gregory Nutt
4c14053238 SAM4E CMCC: Fix some errors introducted in last check-in 2014-03-26 16:32:16 -06:00
Gregory Nutt
fb41a1104e Eliminate some warnings 2014-03-26 16:31:26 -06:00
Gregory Nutt
135b6b0ca2 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
3f4593dda8 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
f6dedaee30 tools/astyle.sh: Formatting tool based on logic from Lorenz Meier 2014-03-26 08:50:48 -06:00
Gregory Nutt
8fb610a537 SAMA5D3: Fix some typos in last blind changes backported from the SAM4e. And verified 2014-03-25 16:11:33 -06:00
Gregory Nutt
e68f6049c5 backport a serial console fix from the sam4e to the sama5d3 2014-03-25 14:34:07 -06:00
Gregory Nutt
aefe9637c7 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
93380d8156 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
bd52d9af21 SAM3/4 HSMCI: Update configuration names to match last change to Kconfig 2014-03-24 17:42:28 -06:00
Gregory Nutt
03bd2a6ad9 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
d508e6a370 SAM3/4 HSCMI: Another fix for complication with SAM4E 2014-03-24 10:25:02 -06:00
Gregory Nutt
7d3d1f79bb STM32 EMAC: Add support for IGMP hash table update. From Manuel Stühn 2014-03-24 09:32:48 -06:00
Gregory Nutt
5b1e019fdd SAM3/4: Changes for clean HSMCI compilation 2014-03-23 15:52:14 -06:00
Gregory Nutt
659783fad5 SAM3/4: Rename CONFIG_GPIO*_IRQ to CONFIG_SAM34_GPIO*_IRQ 2014-03-23 15:51:34 -06:00
Gregory Nutt
4cc814220e SAM3/4: Rename CONFIG_GPIO*_IRQ to CONFIG_SAM34_GPIO*_IRQ 2014-03-23 15:51:08 -06:00
Gregory Nutt
9d9631243a SAM4E-EK: Enable interrupt stack in all configurations 2014-03-23 10:12:57 -06:00
Gregory Nutt
a37ad4ecca Add logic to check interrupt stack usage 2014-03-23 10:11:58 -06:00