Commit Graph

23 Commits (32686d48a8fd71a4cf369d4ef8e7ee780eb6b77f)

Author SHA1 Message Date
Martin Kojtal aec8bb6046 drivers: add spdx license 2018-11-28 10:39:50 +00:00
Maciej Bocianski 99be98c8d0 QSPI driver: API parameters fix 2018-09-06 09:00:09 +02:00
Maciej Bocianski 883ea2f1d1 astyle fixes on QSPI API/driver/tests 2018-08-22 15:02:15 +02:00
Maciej Bocianski ad49388888 QSPI driver: fixes after PR 7783 review
- make QSPI::lock and QSPI::unlock protected
- fix QSPI::_initialize return value
- add assert on QSPI::_initialize failure
- minor comments fixes
2018-08-22 15:02:14 +02:00
adustm 0714ac350f Revert "Dummy cycles count is not an init parameter, but a command parameter."
This reverts commit f1ad089660.
2018-08-22 15:00:21 +02:00
adustm 2b234c2902 Move _mode from QSPI::configure_format to QSPI::QSPI
QSPI::configure_format shall not call initialize function.
This way, QSPI::configure_format can be called any time,
only to change the format of commands.
It must contain only parameters for the commands, not for the Init function
2018-08-22 15:00:20 +02:00
adustm 8d2f426d97 Dummy cycles count is not an init parameter, but a command parameter.
It can change depending on the chosen command, not only at start.
This way we avoid to launch init function and break the internal status variables.
2018-08-22 15:00:19 +02:00
Martin Kojtal d54bac2207 QSPI: add address to command transfer 2018-08-22 15:00:18 +02:00
Martin Kojtal 41453169a0 QSPI: fix memset header file missing 2018-08-22 15:00:17 +02:00
Martin Kojtal 784c473f63 QSPI HAL: add disabled flag to format phase
If phase is being skipped, set disabled to true, otherwise false.
2018-08-22 15:00:08 +02:00
Martin Kojtal b71f2a15ea QSPI: fix alt size NONE instead 0 2018-08-22 15:00:07 +02:00
Martin Kojtal 910f1a8884 QSPI: fix driver style issues 2018-08-22 15:00:07 +02:00
Martin Kojtal 3db3364821 QSPI: fix arguments for write/read when alt is defined
Should be: instr, alt, address or inst, addr or just addr
2018-08-22 15:00:06 +02:00
Martin Kojtal 1557ce37f1 QSPI: remove spaces on empty lines 2018-08-22 15:00:05 +02:00
Martin Kojtal 6274cd4597 QSPI: fix address size for build qspi command
if address is skipped, used size NONE
2018-08-22 15:00:04 +02:00
Senthil Ramakrishnan 894f8bdf9f Review fixes 2018-08-22 15:00:04 +02:00
Senthil Ramakrishnan 273cf05d92 Minor optimizations and code style fixes 2018-08-22 15:00:04 +02:00
Senthil Ramakrishnan 04ec07c017 Fix bracket placements 2018-08-22 15:00:03 +02:00
Senthil Ramakrishnan d9036865d8 Remove explicit initialize API and coding style fixes 2018-08-22 15:00:02 +02:00
Senthil Ramakrishnan 0f7cc36f69 Changing config and return definitions to adhere to HAL defs 2018-08-22 15:00:02 +02:00
Senthil Ramakrishnan 9deecacc9b Fix code style issues 2018-08-22 15:00:01 +02:00
Senthil Ramakrishnan 16d121c5d2 Review fixes and doxygen changes 2018-08-22 15:00:00 +02:00
Senthil Ramakrishnan 219d0c6e70 QSPI driver implementation 2018-08-22 15:00:00 +02:00