u-boot/drivers
Kuo-Jung Su d8b57c0a83 cfi_flash: use buffer length in unmap_physmem()
While the flash_detect_legacy() of drivers/mtd/cfi_flash.c
feed unmap_physmem() with MAP_NOCACHE as 2nd parameter,
the do_spi_flash_read_write() of common/cmd_sf.c
feed unmap_physmem() with the length of the mapped buffer
as 2nd parameter.

It's apparently a bug, and I personally think the 2nd parameter
should be the length of the mapped buffer.

Signed-off-by: Kuo-Jung Su <dantesu@faraday-tech.com>
CC: Albert Aribaud <albert.u.boot@aribaud.net>
CC: Stefan Roese <sr@denx.de>
Signed-off-by: Stefan Roese <sr@denx.de>
2013-07-25 16:43:40 +02:00
..
bios_emulator biosemu: include <asm/io.h> header 2013-04-02 16:23:35 -04:00
block dwc_ahsata: Allow use with dcache enabled 2013-06-26 16:26:45 +02:00
bootcount Consolidate bootcount code into drivers/bootcount 2012-09-01 14:26:02 +02:00
crypto Exynos: Add hardware accelerated SHA256 and SHA1 2013-03-29 20:10:42 +09:00
dfu dfu:ext4:fix Fix DFU upload functionality 2013-07-03 08:41:23 -04:00
dma dma: Add i.MX6 support to drivers/dma/apbh_dma.c 2013-04-22 10:26:13 +02:00
fpga fpga: Check device name against bitstream name 2013-05-06 10:41:25 +02:00
gpio Merge branch 'u-boot-samsung/master' into 'u-boot-arm/master' 2013-07-10 20:40:47 +02:00
hwmon hwmon: lm63: Use ARRAY_SIZE at appropriate place 2013-06-26 10:26:06 -04:00
i2c i2c: fsl_i2c: i2c_read(): dont try to write address w/ alen=0 2013-07-16 17:44:30 -05:00
input cros: adds cros_ec keyboard driver 2013-06-26 10:13:31 -04:00
misc cros: add LPC support for cros_ec 2013-06-26 10:13:28 -04:00
mmc fsl_esdhc: Touch only relevant sys ctrl bits 2013-07-16 18:44:23 -05:00
mtd cfi_flash: use buffer length in unmap_physmem() 2013-07-25 16:43:40 +02:00
net net: phy: Set SUPPORTED_1000baseX_Half flag in ESTATUS_1000_XHALF case 2013-07-19 17:12:20 -04:00
pci powerpc/boot: Change the macro of Boot from SRIO and PCIE master module 2013-06-20 17:08:48 -05:00
pcmcia PXA: Remove PXA PCMCIA support 2012-03-26 23:09:23 +02:00
power power🦇trats: Break battery charging with ctrl+C 2013-07-05 18:46:14 +09:00
qe ppc: Move CONFIG_QE to arch_global_data 2013-02-04 09:05:42 -05:00
rtc Consolidate bool type 2013-04-01 16:33:52 -04:00
serial Merge branch 'master' of git://git.denx.de/u-boot-arm 2013-07-12 10:36:48 -04:00
sound Sound: Support for MAX98095 codec in driver 2013-03-08 22:34:18 +09:00
spi Merge branch 'master' of git://git.denx.de/u-boot-arm 2013-07-12 10:36:48 -04:00
tpm Add Atmel I2C tpm 2013-07-16 17:44:30 -05:00
twserial Switch from archive libraries to partial linking 2010-11-17 21:02:18 +01:00
usb Merge branch 'master' of git://git.denx.de/u-boot-arm 2013-07-12 10:36:48 -04:00
video Merge branch 'master' of git://git.denx.de/u-boot-arm 2013-07-12 10:36:48 -04:00
watchdog Merge branch 'u-boot-imx/master' into 'u-boot-arm/master' 2013-06-08 14:35:10 +02:00