Skip to content
Snippets Groups Projects
Commit 1ec0a37e authored by Marek Vasut's avatar Marek Vasut Committed by Stefan Roese
Browse files

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: default avatarMarek Vasut <marek.vasut+renesas@gmail.com>
Signed-off-by: default avatarStefan Roese <sr@denx.de>
parent 1f6049e2
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment