| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
Stacked mode doubles the number of sectors and device size while
parallel mode doubles the sector size and the device size. Make sure
that this is accounted for in the device size accessor.
|
|
|
|
|
| |
This adds a function to allow reading of the SFDP configuration space
that describes attributes of NOR flash chips.
|
|
|
|
|
| |
Expose a function to read the NOR flash chip ID information beyond the
minimum 3 bytes for the lookup table.
|
|
|
|
|
|
|
| |
The NOR driver was not written with SMP systems and caching in mind.
This makes the IsBusy flag volatile for updates across cores and
introduces cache flushing and invalidation where necessary for data
manipulated by the DMA engine in the QSPI peripheral.
|
|
|
|
|
|
| |
Instead of statically defining the device parameters, use the device
information available via the NOR device layer's Flash Configuration
Table.
|
|
|
|
|
|
|
| |
When given the exact bounds of a sector, the current algorithm
calculates that 3 sectors need to be erased. This corrects the
calculation such that only 1 sector needs to be erased for erasures that
exactly match sector boundaries.
|
|
|
|
|
|
|
| |
This change causes NOR writes to be broken according to page boundaries.
Writes across page boundaries cause the writes beyond the boundary to
fail silently. This also introduces a new function that will explicitly
write pages.
|
|
|
|
|
| |
This adds a helper function to read the ECC status for an ECC unit in
SPI-attached NOR memory.
|
|
This adds helper functions for working with NOR flash connected to the
Xilinx GQSPI controller. The helper functions are based on Xilinx's
QSPIPSU flash interrupt example.
|