diff options
| author | Marek Vasut <[email protected]> | 2017-09-12 19:09:08 +0200 |
|---|---|---|
| committer | Stefan Roese <[email protected]> | 2017-09-26 10:57:53 +0200 |
| commit | 1ec0a37e1cf2add5680b8d7305922c8210c3e2ed (patch) | |
| tree | 634a3ca0fe61b9dd7cd03f0a58d4c3b41f219a87 /include/mtd | |
| parent | 1f6049e2501b5c35c61435dbc05ba96743202674 (diff) | |
mtd: cfi: Zap cfi_flash_base in DM case
Embed the flash base into struct flash_info instead of having ad-hoc
static array in the code. This does not only remove static variable,
but also allows CFI-like controllers, ie. HyperFlash ones, to use most
of the CFI flash code by populating the flash_info with matching base
address.
Signed-off-by: Marek Vasut <[email protected]>
Signed-off-by: Stefan Roese <[email protected]>
Diffstat (limited to 'include/mtd')
0 files changed, 0 insertions, 0 deletions
