From: Stefan Roese Date: Tue, 26 Sep 2017 17:57:08 +0200 Subject: [U-Boot] [PATCH] mtd: cfi: Zap cfi_flash_base in DM case In-Reply-To: <20170912170908.29862-1-marek.vasut+renesas@gmail.com> References: <20170912170908.29862-1-marek.vasut+renesas@gmail.com> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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_info with matching base > address. > > Signed-off-by: Marek Vasut Applied to u-boot-cfi-flash/master. Thanks, Stefan