15e207fa | 14-Jan-2018 |
Jörg Krause <joerg.krause@embedded.rocks> |
spl, nand: add option CONFIG_SPL_NAND_IDENT to lookup for supported NAND chips
Add the config option `CONFIG_SPL_NAND_IDENT` for using the NAND chip ID list to identify the NAND flash in SPL.
Signe
spl, nand: add option CONFIG_SPL_NAND_IDENT to lookup for supported NAND chips
Add the config option `CONFIG_SPL_NAND_IDENT` for using the NAND chip ID list to identify the NAND flash in SPL.
Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
show more ...
|
62754450 | 22-Jun-2018 |
Stefan Agner <stefan.agner@toradex.com> |
mtd: nand: mxs_nand: add support for specific ECC strength
Add support for specified ECC strength/size using device tree properties nand-ecc-strength/nand-ecc-step-size.
This aligns behavior with t
mtd: nand: mxs_nand: add support for specific ECC strength
Add support for specified ECC strength/size using device tree properties nand-ecc-strength/nand-ecc-step-size.
This aligns behavior with the mainline driver, such that: - If fsl,use-minimal-ecc is requested it will use data from data sheet/ONFI. If this is not available the driver will fail. - If nand-ecc-strength/nand-ecc-step-size are specified those value will be used. - By default maximum possible ECC strength is used
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
show more ...
|
f75e83bf | 22-Jun-2018 |
Stefan Agner <stefan.agner@toradex.com> |
mtd: nand: mxs_nand: add device tree support
Support driver data from device tree. Also support fsl,use-minimal-ecc similar to Linux' GPMI NAND driver.
Signed-off-by: Stefan Agner <stefan.agner@tor
mtd: nand: mxs_nand: add device tree support
Support driver data from device tree. Also support fsl,use-minimal-ecc similar to Linux' GPMI NAND driver.
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
show more ...
|
3b1328a0 | 22-Jun-2018 |
Stefan Agner <stefan.agner@toradex.com> |
mtd: nand: mxs_nand: separate board/controller init
In preparation for device tree support separate board init from controller init similar to other raw NAND drivers.
Signed-off-by: Stefan Agner <s
mtd: nand: mxs_nand: separate board/controller init
In preparation for device tree support separate board init from controller init similar to other raw NAND drivers.
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
show more ...
|
0d4e9d8b | 22-Jun-2018 |
Stefan Agner <stefan.agner@toradex.com> |
mtd: nand: mxs_nand: use more precise function name
This function initializes DMA descriptors so mxs_nand_init_dma is more precise. It also frees up the rather generic name mxs_nand_init.
Signed-of
mtd: nand: mxs_nand: use more precise function name
This function initializes DMA descriptors so mxs_nand_init_dma is more precise. It also frees up the rather generic name mxs_nand_init.
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
show more ...
|
931747e5 | 22-Jun-2018 |
Stefan Agner <stefan.agner@toradex.com> |
mtd: nand: mxs_nand: move register structs to driver data
Move GPMI and BCH register structs to the driver struct mxs_nand_info in prepartion for device tree support.
Signed-off-by: Stefan Agner <s
mtd: nand: mxs_nand: move register structs to driver data
Move GPMI and BCH register structs to the driver struct mxs_nand_info in prepartion for device tree support.
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
show more ...
|
984df7ad | 22-Jun-2018 |
Stefan Agner <stefan.agner@toradex.com> |
mtd: nand: mxs_nand: add minimal ECC support
Add support for minimum ECC strength supported by the NAND chip. This aligns with the behavior when using the fsl,use-minimum-ecc device tree property in
mtd: nand: mxs_nand: add minimal ECC support
Add support for minimum ECC strength supported by the NAND chip. This aligns with the behavior when using the fsl,use-minimum-ecc device tree property in Linux.
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
show more ...
|
5c69dd07 | 22-Jun-2018 |
Stefan Agner <stefan.agner@toradex.com> |
mtd: nand: mxs_nand: report correct ECC parameters
Report correct ECC parameters back to the stack. Do not report bytes as we have it not immeaditly available and the Linux version also does not rep
mtd: nand: mxs_nand: report correct ECC parameters
Report correct ECC parameters back to the stack. Do not report bytes as we have it not immeaditly available and the Linux version also does not report it. It seems to have no aversive effect.
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
show more ...
|
28897e8d | 22-Jun-2018 |
Stefan Agner <stefan.agner@toradex.com> |
mtd: nand: mxs_nand: use structure for BCH geometry
Calculate BCH geometry at start and store the information in a structure. This avoids recalculation on every page access and allows to calculate E
mtd: nand: mxs_nand: use structure for BCH geometry
Calculate BCH geometry at start and store the information in a structure. This avoids recalculation on every page access and allows to calculate ECC relevant information in one place. This patch does not change ECC layout or driver behavior in any way.
The patch aligns the driver somewhat with the Linux GPMI NAND driver which drives the same IP.
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
show more ...
|
dc0b69fa | 22-Jun-2018 |
Stefan Agner <stefan.agner@toradex.com> |
mtd: nand: mxs_nand: allow to enable BBT support
Add config option which allows to enable on flash bad block table support. This has the same effect as when using the device tree property "nand-on-f
mtd: nand: mxs_nand: allow to enable BBT support
Add config option which allows to enable on flash bad block table support. This has the same effect as when using the device tree property "nand-on-flash-bbt" in Linux.
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
show more ...
|
5346c31e | 22-Jun-2018 |
Stefan Agner <stefan.agner@toradex.com> |
mtd: nand: mxs_nand: use self init
Instead of completing initialization via scan_bbt callback use NAND self init to initialize the GPMI (MXS) NAND controller.
Suggested-by: Scott Wood <oss@buserror
mtd: nand: mxs_nand: use self init
Instead of completing initialization via scan_bbt callback use NAND self init to initialize the GPMI (MXS) NAND controller.
Suggested-by: Scott Wood <oss@buserror.net> Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
show more ...
|
b1f2b72e | 02-Jun-2018 |
Carlo Caione <carlo@endlessm.com> |
sf: Add support for gd25q32b gigadevice flash
This flash IC is used in some chromebook models manufactured by Bitland.
Signed-off-by: Carlo Caione <carlo@endlessm.com> Reviewed-by: Jagan Teki <jaga
sf: Add support for gd25q32b gigadevice flash
This flash IC is used in some chromebook models manufactured by Bitland.
Signed-off-by: Carlo Caione <carlo@endlessm.com> Reviewed-by: Jagan Teki <jagan@openedev.com>
show more ...
|