commit | 970940f7ccbcb719af025ae7359675f98b149f92 | [log] [tgz] |
---|---|---|
author | Marek Vasut <marek.vasut@gmail.com> | Tue Sep 12 19:09:08 2017 +0200 |
committer | Stefan Roese <sr@denx.de> | Tue Sep 26 10:57:53 2017 +0200 |
tree | 634a3ca0fe61b9dd7cd03f0a58d4c3b41f219a87 | |
parent | 0e17fc7291c5d8093d6e4318912de2b82ec28ee7 [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 <marek.vasut+renesas@gmail.com> Signed-off-by: Stefan Roese <sr@denx.de>