From: Tom Rini Date: Thu, 22 Mar 2018 16:34:29 -0400 Subject: [U-Boot] [U-Boot,v4,2/7] cmd: sf: fix map_physmem check In-Reply-To: <20180314231516.1647-3-liambeguin@gmail.com> References: <20180314231516.1647-3-liambeguin@gmail.com> Message-ID: <20180322203429.GE4759@bill-the-cat.ec.rr.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Wed, Mar 14, 2018 at 07:15:11PM -0400, Liam Beguin wrote: > Make sure 0x00 is a valid address to read to. If `addr` is 0x00 then > map_physmem() will return 0 which should be a valid address. > > Signed-off-by: Liam Beguin > Reviewed-by: Stephen Warren Applied to u-boot/master, thanks! -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: not available URL: