u-boot-brain/drivers
Matthieu CASTET d62e9caaaf mtd: support ONFI multi lun NAND
With onfi a flash is organized into one or more logical units (LUNs).
A logical unit (LUN) is the minimum unit that can independently execute
commands and report status.

Mtd does not exploit LUN, so make it see a big single flash where size is
lun_size * number_of_lun.

Without this patch MT29F8G08ADBDAH4 size is 512MiB instead of 1GiB.

Artem: split long line on 2 shorter ones.

This is commit 637957551c0ac80de8dfc7650d320c5a98c2c0c0 from Linux

Signed-off-by: Matthieu Castet <matthieu.castet@parrot.com>
Acked-by: Florian Fainelli <ffainelli@freebox.fr>
Signed-off-by:  Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
[scottwood@freescale.com: picked from Linux into U-Boot]
Reported-by: Rafael Beims <rafael.beims@gmail.com>
Signed-off-by: Scott Wood <scottwood@freescale.com>
2012-09-17 16:17:28 -05:00
..
bios_emulator Add abs() macro to return absolute value 2012-05-15 08:31:37 +02:00
block Remove remaining mdelay() macros 2012-07-08 22:15:08 +02:00
bootcount Consolidate bootcount code into drivers/bootcount 2012-09-01 14:26:02 +02:00
dfu dfu: MMC specific routines for DFU operation 2012-09-01 16:21:51 +02:00
dma MX28: DMA: Prolong the DMA timeout 2012-09-01 14:58:29 +02:00
fpga Remove execute permissions from source files 2012-03-04 21:56:15 +01:00
gpio gpio: add gpio api support to mx27 (v4) 2012-09-01 14:58:29 +02:00
hwmon hwmon: do not init sensors on startup 2011-08-04 23:30:38 +02:00
i2c mxs: Convert sys_proto.h prefixes to 'mxs' 2012-09-01 14:58:25 +02:00
input input: key_matrix: fix header inclusion 2012-09-02 17:44:20 +02:00
misc pmic: dialog: Avoid name conflicts 2012-05-15 08:31:34 +02:00
mmc mmc: Remove unused item flags in struct mmc_cmd 2012-09-02 16:56:17 +02:00
mtd mtd: support ONFI multi lun NAND 2012-09-17 16:17:28 -05:00
net Merge branch 'master' of git://git.denx.de/u-boot-avr32 2012-09-04 09:17:27 +02:00
pci pci: add CONFIG_PCI_ENUM_ONLY for platforms that don't need PCI setup done 2012-09-02 14:19:05 +02:00
pcmcia PXA: Remove PXA PCMCIA support 2012-03-26 23:09:23 +02:00
power i2c: Add TPS6586X driver 2012-05-15 08:31:37 +02:00
qe drivers/qe/uec.c: Fix compile warning 2012-05-22 13:41:48 -05:00
rtc rtc: pcf8563: Make century compatible with Linux 2012-09-02 17:31:00 +02:00
serial Merge branch 'agust@denx.de' of git://git.denx.de/u-boot-staging 2012-09-02 00:44:09 +02:00
spi spi: atmel: add WDRBT bit to avoid receive overrun 2012-09-01 17:06:14 +02:00
tpm Introduce generic TPM support in u-boot 2011-12-07 08:45:51 +01: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-usb 2012-09-02 16:38:48 +02:00
video video: support exynos pwm backlight driver 2012-09-01 14:58:24 +02:00
watchdog AT91: fix at91sam_wdt.c to reworked header files 2011-05-18 07:56:51 +02:00