Martin Kojtal
21652971a5
Merge pull request #12644 from macronix/macronix_ospi
...
Add OSPI driver to support the Octa mode of Macronix octaflash MX25LM51245G
2020-09-30 16:07:20 +01:00
Lingkai Dong
7a8460a759
drivers/SFDP: mbed-trace header is now always available
...
This reverts commit 183ca7729c
.
Now the "mbed_trace.h" header is always available and maps
trace functions to dummy macros when tracing is disabled.
2020-09-21 15:40:38 +01:00
rogeryou
48524f25ae
add opsi driver
2020-09-16 11:27:23 +08:00
Martin Kojtal
b2ac60924c
Merge pull request #13476 from talorion/bugfix/fix-warnings
...
Fix trivial compiler Warnings
2020-09-07 09:58:41 +01:00
Lingkai Dong
183ca7729c
drivers/SFDP should compile without mbed-trace
...
The library "drivers" is a core one available to bare metal.
It should not depend on mbed-trace which is an optional library.
2020-09-02 15:50:25 +01:00
Lingkai Dong
af1950fb16
Add include/ path for mbed-trace
2020-09-02 12:30:59 +01:00
Lingkai Dong
a88438ce04
Move mbed-trace into platform
2020-09-02 12:30:59 +01:00
talorion
a721767c00
fixed warnings: comparison of integer expressions of different signedness
2020-08-24 15:34:20 +02:00
Veijo Pesonen
b89e60ba8f
SFDP: code readability improvements
2020-03-17 17:48:39 +02:00
Veijo Pesonen
eb01afb198
SFDP: fixes a trace print
...
Indexing runs from highest to lowest, not other way round.
2020-03-17 17:48:39 +02:00
Veijo Pesonen
e04a1a4017
SFDP: adds traces to identify known SFDP headers
2020-03-17 17:48:39 +02:00
Veijo Pesonen
43289c74ce
SFDP: converts to smart pointers
...
C++14-ify memory allocation.
2020-03-17 17:43:09 +02:00
Veijo Pesonen
e40ce82fee
SFDP: Sector Map Parameter Tbl parsing refactored
...
Making search for common erase type between regions more clear
2020-03-17 17:43:09 +02:00
Veijo Pesonen
19c9735a9f
Bugfix: SFDP Sector Map Param Tbl size is variable
...
Earlier it was assumed that the table has a certain max length but that
isn't true.
2020-03-17 17:43:09 +02:00
Veijo Pesonen
a088d30b6d
SFDP: whitespace cleanup
2020-03-17 17:43:09 +02:00
Veijo Pesonen
98dbebb3ed
SFDP: Refactor Sector Map Parameter Table parsing
...
Doxygen documentation was updated.
Code reorganized to make it more readable.
Moves SFDP specific bits out from Q/SPIFBlockDevices.
2020-03-02 11:07:03 +02:00
Veijo Pesonen
c84deff782
SFDP: consolidates check for addressability
...
Takes implementations found from SPIFBlockDevice and QSPIFBlockDevice
and makes those as part of the SFDP module.
2020-03-02 11:04:05 +02:00
Veijo Pesonen
2ce3bed910
SFDP: consolidates device density detection
...
Combines implementations found from SPIFBlockDevice and QSPIFBlockDevice
and makes it as part of the SFDP module.
2020-03-02 11:02:09 +02:00
Veijo Pesonen
c953b656ac
SFDP: provides doxygen documentation improvements
2020-02-26 13:44:34 +02:00
Veijo Pesonen
ca704a4b3d
SFDP: consolidates erase region search
...
Merges erase region search found from SPIFBlockDevice and
QSPIFBlockDevice. Moves the implementation within the SFDP
component
2020-02-26 12:41:34 +02:00
Veijo Pesonen
de22648e76
SFDP: refactoring traces and defines
2020-02-20 09:46:41 +02:00
Veijo Pesonen
107f003af6
SFDP: sanitizes API
2020-02-20 09:46:41 +02:00
Veijo Pesonen
6a60574cf5
SFDP: consolidates sfdp_detect_erase_types_inst_and_size
2020-02-20 09:46:40 +02:00
Veijo Pesonen
7d1886ecae
SFDP: consolidation of sfdp_detect_page_size
2020-02-20 09:46:40 +02:00
Veijo Pesonen
ba71b09902
astyle fixes
2020-02-07 09:52:12 +02:00
Veijo Pesonen
4f4ef6069e
SFDP: Sector Map Parameter Table naming improvements
2020-02-07 09:52:12 +02:00
Veijo Pesonen
83c0fdf19f
QSPIFBlockDevice: Sector Map Table parsing moved under SFDP
2020-02-07 09:52:11 +02:00
Veijo Pesonen
7518a35da3
SFDP: data structures got refactored
2020-02-07 09:52:11 +02:00
Veijo Pesonen
6108f384fb
QSPIFBlockDevice: Consolidates SFDP info data
...
This far all SFDP Sector Map Table related data has been found in small
pieces inside QSPIFBlockDevice. Purpose was to consolidate the data
under one SFDP structure where all the information gathered from
SFDP tables is stored.
Parsing a Sector Map Table was made more generic so that later it can be
moved under SFDP module. Once that is done it can be shared with
SPIFBlockDevice to avoid code duplication.
2020-02-07 09:52:11 +02:00
Veijo Pesonen
4e1fb07633
SFDP: reorganizes internal info structure
2020-02-07 09:52:11 +02:00
Veijo Pesonen
2d9cde9493
SFDP: fix mbed-os-example-blinky-baremetal build
...
Including mbed_trace.h file only doesn't work - the path is also
required.
2020-01-24 13:39:23 +02:00
Veijo Pesonen
6bd3933652
Q/SPIFBlockDevice: Separates SFDP Header retrieval
...
Separates SFDP header retrieval and moves it as a part of the earlier
introduced SFDP file.
Purpose is to abstract away differences between SPIF and QSPIF devices
when it comes to fetching the SFDP headers from a device.
2020-01-20 16:36:21 +02:00
Veijo Pesonen
aa599412e6
SFDP: replaces statix fx with usage of anon namespace
2020-01-20 12:59:22 +02:00
Veijo Pesonen
cefae9020e
SFDP: splits header parsing to its own file
...
SFDP logic is the same between SPIF and QSIP.
2020-01-17 14:43:03 +02:00