u-boot/drivers
Bin Meng 3968398eb2 dm: video: Don't do anything in alloc_fb() when plat->size is zero
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 <bmeng.cn@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
2016-10-12 10:58:23 +08:00
..
adc sandbox: add ADC driver 2015-11-02 10:38:00 +09:00
bios_emulator bios_emulator: Fix cast for 64-bit compilation 2016-10-11 11:55:33 +08:00
block ahci: Make ahci_port_base() non-static to enable overwrite 2016-09-27 17:29:54 +02:00
bootcount bootcounter_ram: Flush dcache after data is written into SDRAM 2016-04-11 20:48:25 -04:00
clk clock: implement a driver for the Tegra CAR 2016-09-27 09:11:02 -07:00
core dm: core: Add a function to get a uclass name 2016-10-11 11:55:33 +08:00
cpu x86: Move MP initialization codes into a common place 2015-07-14 18:03:16 -06:00
crypto Various, accumulated typos collected from around the tree. 2016-10-06 20:57:40 -04:00
ddr Various, accumulated typos collected from around the tree. 2016-10-06 20:57:40 -04:00
demo drivers: hierarchize drivers Kconfig menu 2015-08-12 20:47:44 -04:00
dfu dfu: Migrate to Kconfig 2016-09-27 10:46:45 -04:00
dma treewide: replace #include <asm/errno.h> with <linux/errno.h> 2016-09-23 17:55:42 -04:00
fpga treewide: replace #include <asm/errno.h> with <linux/errno.h> 2016-09-23 17:55:42 -04:00
gpio Revert "x86: broadwell: gpio: Remove the codes to set up pin control" 2016-10-11 11:55:33 +08:00
hwmon mailaddr: Update mail address 2016-01-27 15:32:05 +01:00
i2c x86: i2c: Fix cast of address to 32-bit value 2016-10-11 11:55:33 +08:00
input input: specify the default of I8042_KEYB in more correct manner 2016-10-01 20:04:35 -04:00
led dm: led: Tidy up SPL options for the led and led-gpio 2015-09-02 21:28:22 -06:00
mailbox ARM: tegra: adapt to latest HSP DT binding 2016-08-04 13:36:58 -07:00
memory memory: Move TI_AEMIF config to KCONFIG 2016-04-18 17:11:43 -04:00
misc Merge branch 'master' of git://www.denx.de/git/u-boot-imx 2016-10-08 09:33:37 -04:00
mmc Merge branch 'master' of git://www.denx.de/git/u-boot-imx 2016-10-08 09:33:37 -04:00
mtd spl: Update ext functions to take an spl_image parameter 2016-10-06 15:08:53 -04:00
net Various, accumulated typos collected from around the tree. 2016-10-06 20:57:40 -04:00
pch dm: Use dm_scan_fdt_dev() directly where possible 2016-07-27 14:15:54 -06:00
pci vbe: Make vbe_setup_video_priv() public 2016-10-12 10:56:51 +08:00
pcmcia powerpc: mpc824x: remove MPC824X cpu support 2015-01-05 12:08:55 -05:00
phy/marvell drivers/phy: Add Marvell SerDes / PHY drivers used on Armada 7K/8K 2016-09-27 17:29:54 +02:00
pinctrl pinctrl: imx: do not announce driver initialization 2016-10-07 12:26:14 +02:00
power power: pmic: add Ricoh RN5T567 PMIC support 2016-10-07 12:26:15 +02:00
pwm PWM: Correct misspellings of "module" in context of PWM 2016-10-06 20:57:43 -04:00
qe treewide: replace #include <asm/errno.h> with <linux/errno.h> 2016-09-23 17:55:42 -04:00
ram ram: rename CONFIG_SPL_RAM_SUPPORT to CONFIG_SPL_RAM 2015-08-18 13:46:02 -04:00
remoteproc remoteproc: Add support for TI power processor 2016-03-14 19:18:37 -04:00
reset reset: implement a driver for the Tegra CAR 2016-09-27 09:11:02 -07:00
rtc rtc: Use CONFIG_X86 instead of __I386__ 2016-10-11 11:55:33 +08:00
serial Merge branch 'master' of git://www.denx.de/git/u-boot-imx 2016-10-08 09:33:37 -04:00
soc Use correct spelling of "U-Boot" 2016-02-06 12:00:59 +01:00
sound of: clean up OF_CONTROL ifdef conditionals 2015-08-18 13:46:05 -04:00
spi Various, accumulated typos collected from around the tree. 2016-10-06 20:57:40 -04:00
spmi Merge git://git.denx.de/u-boot-dm 2016-08-12 16:00:50 -04:00
sysreset xtensa: add support for the 'xtfpga' evaluation board 2016-08-15 18:46:40 -04:00
thermal Fix various typos, scattered over the code. 2016-05-05 21:39:26 -04:00
timer Merge git://git.denx.de/u-boot-dm 2016-03-14 19:21:44 -04:00
tpm tpm: Tidy up use of size_t 2016-10-11 11:55:33 +08:00
twserial drivers: convert makefiles to Kbuild style 2013-10-31 13:26:01 -04:00
usb usb: pci: Fix cast for 64-bit compilation 2016-10-11 11:55:33 +08:00
video dm: video: Don't do anything in alloc_fb() when plat->size is zero 2016-10-12 10:58:23 +08:00
watchdog imx_watchdog: Do not assert WDOG_B on watchdog init 2016-10-04 12:01:14 +02:00
Kconfig drivers/phy: Add Marvell SerDes / PHY drivers used on Armada 3k 2016-09-27 17:29:53 +02:00
Makefile drivers/phy: Add Marvell SerDes / PHY drivers used on Armada 3k 2016-09-27 17:29:53 +02:00