arm: mvebu: spl: Allow to build SATA kwbimage for 4K Native disks
authorPali Rohár <pali@kernel.org>
Wed, 29 Mar 2023 19:25:58 +0000 (21:25 +0200)
committerStefan Roese <sr@denx.de>
Thu, 13 Apr 2023 09:34:47 +0000 (11:34 +0200)
commitc62af15393b34dff4350d37e678707ad70e288a7
tree6731ad8ac56a4430a4db7dfcc330000134ed883b
parent5d8178563bc6f3d684f1835d79cb2cb0336409d5
arm: mvebu: spl: Allow to build SATA kwbimage for 4K Native disks

Add a new config option CONFIG_MVEBU_SPL_SATA_BLKSZ for specifying block
size of SATA disk. This information is used during building of SATA
kwbimage and must be correctly set, otherwise BootROM does not load SPL.

For 4K Native disks CONFIG_MVEBU_SPL_SATA_BLKSZ must be set to 4096.

Signed-off-by: Pali Rohár <pali@kernel.org>
Tested-by: Martin Rowe <martin.p.rowe@gmail.com>
arch/arm/mach-mvebu/Kconfig
arch/arm/mach-mvebu/Makefile
arch/arm/mach-mvebu/kwbimage.cfg.in