mirror of
https://git.codelinaro.org/clo/qsdk/oss/boot/u-boot-2016.git
synced 2026-02-15 04:19:27 +01:00
Currently, the nand driver expects the start address to be page aligned. This patch adds the support for reading data from non-page aligned start address by using intermediate buffer. 1. Determine the number of pages with start address and length. 2. Do the full page read for all the pages. For first page, check the start address and determine the column. If column is non-zero then use the intermediate buffer for page data and copy the required number of bytes from this intermediate buffer to actual buffer. Change-Id: I05a4b98547c83f785096027596cedd83a283edd8 Signed-off-by: Abhishek Sahu <absahu@codeaurora.org> |
||
|---|---|---|
| .. | ||
| nand | ||
| onenand | ||
| spi | ||
| ubi | ||
| altera_qspi.c | ||
| at45.c | ||
| cfi_flash.c | ||
| cfi_mtd.c | ||
| dataflash.c | ||
| ftsmc020.c | ||
| ipq_spi_flash.c | ||
| jedec_flash.c | ||
| Kconfig | ||
| Makefile | ||
| mtd-uclass.c | ||
| mtd_uboot.c | ||
| mtdconcat.c | ||
| mtdcore.c | ||
| mtdcore.h | ||
| mtdpart.c | ||
| mw_eeprom.c | ||
| st_smi.c | ||