Re: [U-Boot] [PATCH 08/11] dm: video: Don't do anything in alloc_fb() when plat->size is zero

2016-10-11 Thread Bin Meng
On Wed, Oct 12, 2016 at 8:06 AM, Simon Glass wrote: > On 9 October 2016 at 05:14, Bin Meng 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

Re: [U-Boot] [PATCH 08/11] dm: video: Don't do anything in alloc_fb() when plat->size is zero

2016-10-11 Thread Simon Glass
On 9 October 2016 at 05:14, Bin Meng 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,

[U-Boot] [PATCH 08/11] dm: video: Don't do anything in alloc_fb() when plat->size is zero

2016-10-09 Thread Bin Meng
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: 0x7fb), thus causes