On Wed, Oct 12, 2016 at 8:06 AM, Simon Glass <[email protected]> wrote:
> On 9 October 2016 at 05:14, Bin Meng <[email protected]> wrote:
>> With DM VESA driver on x86 boards, plat->base/size/align are all
>> zeroes and starting address passed to alloc_fb() happens to be 1MB
>> aligned, so this routine does not trigger any issue. On QEMU with
>> U-Boot as coreboot payload, the starting address is within 1MB
>> range (eg: 0x7fb0000), thus causes failure in video_post_bind().
>>
>> Actually if plat->size is zero, it makes no sense to do anything
>> in this routine. Add such check there.
>>
>> Signed-off-by: Bin Meng <[email protected]>
>> ---
>>
>>  drivers/video/video-uclass.c | 3 +++
>>  1 file changed, 3 insertions(+)
>
> Reviewed-by: Simon Glass <[email protected]>

applied to u-boot-x86, thanks!
_______________________________________________
U-Boot mailing list
[email protected]
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to