Commit graph

14 commits

Author SHA1 Message Date
Wangjialin
2fbc62f986 feature(psram): add 80Mhz mode for psram. Since we have flash rom code patch now, we can fix the compatibility issue between SPI APIs and psram.
1. add qio enable option in bootloader for GD25LQ32C flash.
2. add option for psram mode: 40m+40m, 80m+40m, 80m+80m.
3. fix bugs in spi_flash_rom_patch
2017-06-24 13:28:51 +08:00
Jeroen Domburg
1c4369d00f Fix intlvl 4 stuff to give a correct backtrace; add cache invalid access to intlvl4 2017-03-28 11:50:22 +08:00
Jeroen Domburg
05237496c2 Get rid of superfluous printf 2017-03-28 11:49:33 +08:00
Jeroen Domburg
15514b804d After rebasing, it was found out that flushing the cache drops the writeback-pending psram cache lines on the ground. We now evict these by reading 64/128K of memory before flushing the cache. Also fixes a snafu in psram cache mode (inverted hi/lo and even/odd selectors) as well as an option to not let the heap allocator touch the psram. 2017-03-28 11:49:33 +08:00
Wangjialin
b8b8a6b21c remove unused codes in psram driver 2017-03-28 11:49:33 +08:00
Wangjialin
3b92cdecf4 update psram driver:
1. fix init error after system restart
2. use MACROs for GPIO definition and psram id.
3. format the code
2017-03-28 11:49:33 +08:00
Jeroen Domburg
117ad017f6 More MR comment fixes 2017-03-28 11:49:33 +08:00
Jeroen Domburg
614b735787 Maybe I should try to compile before commit/push... 2017-03-28 11:49:33 +08:00
Jeroen Domburg
6262253742 Some fixes to MR comments 2017-03-28 11:49:33 +08:00
Jeroen Domburg
d5b5a6e234 Fix psram silicon bug test; clean up Kconfig mess, clean out psram unused functions warnings 2017-03-28 11:49:10 +08:00
Jeroen Domburg
b816bbc43f Fix dualcore PSRAM. 2017-03-28 11:48:36 +08:00
Jeroen Domburg
07805e0c08 Add interlan memory capability to heap alloc, add some PSRAM tests 2017-03-28 11:46:11 +08:00
Jeroen Domburg
32e83d257a Psram driver cleanup: remove DMA and test functions, tabs to spaces, add copyright header 2017-03-28 11:46:11 +08:00
Wangjialin
4a2999f729 update psram example files
1. update psram code
2. add missing files
3. add psram example
4. add mmu and psram init
2017-03-28 11:46:11 +08:00