OSPI NAND MTD load and boot support
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest7 patches 7 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/7 | common: spl: mtd: Add support for loading images from MTDcommon/ common/ include/ | +139 | 3 replies | |
| 2/7 | spl: mtd: Remove MTD device after loading imagescommon/ common/ drivers/ +2 more | +38 | 0 replies | |
| 3/7 | spl: mtd: Add bad block handling for SPL image loadingcommon/ | +68 | 1 reply | |
| 4/7 | spl: Add MTD loading support configurationcommon/ common/ | +24 | 0 replies | |
| 5/7 | mtd: nand: spi: Enable spinand build Kconfig option for splcommon/ drivers/ drivers/ | +11 | 0 replies | |
| 6/7 | arm: spl: Enumerate SPINAND as a boot devicearch/ | +1 | 1 reply | |
| 7/7 | include: environment: ti: Add ospi_nand environment variablesinclude/ | +22 | 0 replies |
Reviews trailers per patch
None of the 7 patches has a Reviewed-by or Acked-by.
| Patch | Santhosh Kumar K |
|---|---|
| Series | T-b |
| 1/7 | |
| 2/7 | |
| 3/7 | |
| 4/7 | |
| 5/7 | |
| 6/7 | |
| 7/7 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/7] OSPI NAND MTD load and boot support
Hi all
The series adds SPL support for loading images via the MTD subsystem, including handling of bad blocks during read operations and removal of the MTD device after image loading to allow reuse by later boot stages. These changes enable SPL to load U-Boot proper from SPI NAND in a generic and reusable manner.
Tested on j784s4: https://gist.github.com/anuragdutta731/e873fb91098e71c1613fb9a3472d94e7
Apurva Nandan (6):
common: spl: mtd: Add support for loading images from MTD
spl: mtd: Remove MTD device after loading images
spl: Add MTD loading support configuration
mtd: nand: spi: Enable spinand build Kconfig option for spl
arm: spl: Enumerate SPINAND as a boot device
include: environment: ti: Add ospi_nand environment variables
Santhosh Kumar K (1):
spl: mtd: Add bad block handling for SPL image loading
arch/arm/include/asm/spl.h | 1 + common/spl/Kconfig | 30 +++++++ common/spl/Makefile | 2 + common/spl/spl_mtd.c | 149 +++++++++++++++++++++++++++++++++++ common/spl/spl_mtd_nand.c | 35 ++++++++ drivers/mtd/Makefile | 1 + drivers/mtd/mtd-uclass.c | 12 +++ drivers/mtd/nand/Makefile | 3 +- drivers/mtd/nand/spi/core.c | 12 ++- include/env/ti/ospi_nand.env | 22 ++++++ include/mtd.h | 2 +- include/spl.h | 18 +++++ 12 files changed, 281 insertions(+), 6 deletions(-) create mode 100644 common/spl/spl_mtd.c create mode 100644 common/spl/spl_mtd_nand.c create mode 100644 include/env/ti/ospi_nand.env
Signature · 1 line
2.34.1