u-boot/arch/arm/mach-mvebu
Pali Rohár 67bd6158d4 arm: mvebu: Add support for generating NAND kwbimage
Add a new Kconfig option CONFIG_MVEBU_SPL_BOOT_DEVICE_NAND which instruct
make to generate kwbimage with NAND header. This image is used for booting
from NAND flash (either SPI or parallel).

Support is very simple, SPL after finishes DDR training returns back to the
BootROM (via CONFIG_SPL_BOOTROM_SUPPORT option) and BootROM then loads and
executes U-Boot proper.

To generate correct kwbimage NAND header, it is required to set following
Kconfig options:

CONFIG_SYS_NAND_PAGE_SIZE
CONFIG_SYS_NAND_BLOCK_SIZE
CONFIG_MVEBU_SPL_NAND_BADBLK_LOCATION

They are used only by make / mkimage when generating final kwbimage.

CONFIG_MVEBU_SPL_NAND_BADBLK_LOCATION is a new mvebu specific Kconfig
option which is set into kwbimage NAND_BADBLK_LOCATION header field.

Signed-off-by: Pali Rohár <pali@kernel.org>
2023-03-01 06:39:17 +01:00
..
alleycat5 global: Move remaining CONFIG_SYS_SDRAM_* to CFG_SYS_SDRAM_* 2022-12-05 16:06:07 -05:00
armada8k global: Move remaining CONFIG_SYS_SDRAM_* to CFG_SYS_SDRAM_* 2022-12-05 16:06:07 -05:00
armada3700 treewide: Fix Marek's name and change my e-mail address 2022-07-21 10:14:04 +02:00
include/mach configs: Remove unused or redundant CONFIG symbols 2022-12-23 10:15:13 -05:00
serdes arm: mvebu: Mark constant data with const keyword 2022-09-13 06:38:08 +02:00
.gitignore mvebu: select boot device at SoC level 2018-08-06 14:07:23 +02:00
arm64-common.c Correct SPL uses of ARMADA_8K 2023-02-09 16:32:25 -05:00
cpu.c global: Migrate CONFIG_SAR_REG to CFG 2022-12-23 10:15:11 -05:00
dram.c arm: mvebu: Avoid reading MVEBU_REG_PCIE_DEVID register too many times 2022-07-21 10:14:04 +02:00
efuse.c arm: mvebu: Add support for specifying VHV_Enable GPIO 2022-10-06 10:15:35 +02:00
gpio.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
Kconfig arm: mvebu: Add support for generating NAND kwbimage 2023-03-01 06:39:17 +01:00
kwbimage.cfg.in arm: mvebu: Add support for generating NAND kwbimage 2023-03-01 06:39:17 +01:00
lowlevel.S global: Move remaining CONFIG_SYS_* to CFG_SYS_* 2022-12-05 16:06:08 -05:00
lowlevel_spl.S mvebu: Use CONFIG_SPL_STACK + 4 directly for bootparam location 2022-06-06 12:09:12 -04:00
Makefile arm: mvebu: Add support for generating NAND kwbimage 2023-03-01 06:39:17 +01:00
mbus.c arm: mvebu: Mark constant data with const keyword 2022-09-13 06:38:08 +02:00
spl.c arm: mvebu: spl: Fix support for loading U-Boot proper from SD card 2023-03-01 06:39:17 +01:00
system-controller.c arm: mvebu: Mark constant data with const keyword 2022-09-13 06:38:08 +02:00