u-boot/drivers
Jean-Jacques Hiblot 5fe7702ecc blk: dm: make blk_create_device() take a number of block instead of a size
There is an overflow problem when taking the size instead of the number
of blocks in blk_create_device(). This results in a wrong device size: the
device apparent size is its real size  modulo 4GB.
Using the number of blocks instead of the device size fixes the problem and
is more coherent with the internals of the block layer.

Signed-off-by: Jean-Jacques Hiblot <jjhiblot@ti.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
2017-09-11 21:43:58 -06:00
..
adc dm: adc: Convert uclass to livetree 2017-06-01 07:03:13 -06:00
ata dm: sata: dwc_ahsata: Add support for driver model 2017-08-17 16:44:17 +09:00
bios_emulator bios_emulator: Fix cast for 64-bit compilation 2016-10-11 11:55:33 +08:00
block blk: dm: make blk_create_device() take a number of block instead of a size 2017-09-11 21:43:58 -06:00
bootcount env: Rename getenv_hex(), getenv_yesno(), getenv_ulong() 2017-08-16 08:30:32 -04:00
clk clk: uniphier: add System clock support 2017-08-30 09:07:04 +09:00
core ofnode: add {ofnode, dev}_read_resource_byname() 2017-08-29 23:56:17 +09:00
cpu dm: core: Update device_bind_driver_to_node() to use ofnode 2017-06-01 07:03:08 -06:00
crypto crypto/fsl: fix obj-yy in Makefile 2017-09-04 09:02:07 -04:00
ddr env: Rename getenv/_f() to env_get() 2017-08-16 08:30:24 -04:00
demo dm: core: Replace of_offset with accessor 2017-02-08 06:12:14 -07:00
dfu env: Rename getenv/_f() to env_get() 2017-08-16 08:30:24 -04:00
dma imx: reorganize IMX code as other SOCs 2017-07-12 10:17:44 +02:00
firmware dm: core: Rename of_device_is_compatible() 2017-06-01 07:03:06 -06:00
fpga fpga: xilinx: Avoid using local intermediate buffer 2017-08-02 09:11:52 +02:00
gpio stm32f1: remove stm32f1 support 2017-08-13 15:17:37 -04:00
i2c rockchip: i2c: fix >32 byte reads 2017-09-05 11:13:36 +02:00
input env: Rename getenv/_f() to env_get() 2017-08-16 08:30:24 -04:00
led dm: core: Update device_bind_driver_to_node() to use ofnode 2017-06-01 07:03:08 -06:00
mailbox dm: mailbox: Update uclass to support livetree 2017-06-01 07:03:15 -06:00
memory memory: Move TI_AEMIF config to KCONFIG 2016-04-18 17:11:43 -04:00
misc Kconfig: Add EEPROM options to Kconfig when I2C_EEPROM is set 2017-09-02 15:50:30 -04:00
mmc mmc: sunxi: Only update timing mode bit when enabling new timing mode 2017-09-01 19:49:47 +05:30
mtd mtd: nand: denali_dt: add a DT driver 2017-08-30 09:03:11 +09:00
net net: fix typos 2017-09-07 13:23:52 -05:00
nvme nvme: Remove dead codes in nvme_setup_io_queues() 2017-09-03 15:30:34 -04:00
pch dm: Use dm_scan_fdt_dev() directly where possible 2016-07-27 14:15:54 -06:00
pci vbe: Drop vbe_get_video_info() 2017-08-24 11:00:47 +08:00
pcmcia Kconfig; Drop CONFIG_IDE_TI_CARDBUS and associated driver 2017-08-11 15:41:51 -04:00
phy phy: add a NO-OP phy driver 2017-07-28 23:34:44 +02:00
pinctrl pinctrl: imx7ulp: Add new info instance for iomuxc1 2017-08-23 10:48:15 +02:00
power regulator: palmas: disable bypass when the LDO is enabled 2017-08-01 11:58:01 +09:00
pwm dm: tegra: pwm: Convert to livetree 2017-07-28 12:02:47 -06:00
qe QE: add QE support on SD boot 2017-06-01 19:56:54 -07:00
ram ram: kconfig: s/SPL/TPL/ in TPL_RAM help text 2017-08-26 14:56:06 -04:00
remoteproc dm: core: Replace of_offset with accessor 2017-02-08 06:12:14 -07:00
reset reset: uniphier: add PXs3 support 2017-08-30 09:07:04 +09:00
rtc env: Rename getenv/_f() to env_get() 2017-08-16 08:30:24 -04:00
scsi blk: dm: make blk_create_device() take a number of block instead of a size 2017-09-11 21:43:58 -06:00
serial serial: serial-uclass: Add generic serial RX buffer support 2017-08-24 11:00:47 +08:00
soc Use correct spelling of "U-Boot" 2016-02-06 12:00:59 +01:00
sound dm: gpio: Add live tree support 2017-06-01 07:03:10 -06:00
spi x86: ich-spi: Clear atomic preop only when SPI settings are not locked 2017-09-02 23:35:55 +08:00
spmi dm: Rename dev_addr..() functions 2017-06-01 07:03:01 -06:00
sysreset rockchip: rk322x: add sysreset driver 2017-07-11 12:13:46 +02:00
thermal thermal: imx: fix calculation 2017-05-18 11:23:31 +02:00
timer rockchip: timer: fix U_BOOT_DRIVER name 2017-09-05 11:04:35 +02:00
tpm dm: Rename dev_addr..() functions 2017-06-01 07:03:01 -06:00
usb usb: net: migrate USB Ethernet adapters to Kconfig 2017-09-08 10:23:00 -04:00
video video: ipuv3_fb: skip IPU shutdown if IPU was not enabled before 2017-09-04 23:33:45 +02:00
watchdog wdt: Update uclass to make clear that the timeout is in ms 2017-08-13 15:17:34 -04:00
Kconfig nvme: Add NVM Express driver support 2017-08-13 15:17:31 -04:00
Makefile Merge branch 'master' of git://git.denx.de/u-boot-rockchip 2017-08-14 10:40:01 -04:00