Re: [U-Boot] [PATCH] mtd: cfi: Zap cfi_flash_base in DM case

2017-09-26 Thread Stefan Roese
On 12.09.2017 19:09, Marek Vasut wrote: 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_in

[U-Boot] [PATCH] mtd: cfi: Zap cfi_flash_base in DM case

2017-09-12 Thread Marek Vasut
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