[U-Boot] [U-Boot, 2/2] PCI: autoconfig: Don't allocate 64-bit addresses to 32-bit only resources

Tom Rini trini at konsulko.com
Mon May 28 19:12:18 UTC 2018


On Mon, May 14, 2018 at 07:38:13PM +0300, Tuomas Tynkkynen wrote:

> Currently, if we happen to allocate an address requiring 64 bits to a
> device only supporting 32-bit BARs, the address eventually gets silently
> truncated to 32 bits. Avoid this by adding a new flag to
> pciauto_region_allocate() to bail out in such situations.
> 
> Signed-off-by: Tuomas Tynkkynen <tuomas.tynkkynen at iki.fi>
> Reviewed-by: Simon Glass <sjg at chromium.org>

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: <http://lists.denx.de/pipermail/u-boot/attachments/20180528/d75470a9/attachment.sig>


More information about the U-Boot mailing list