ARM: mvebu: ClearFog make sure that SATA and UART images are buildable
authorDennis Gilmore <dennis@ausil.us>
Wed, 9 Dec 2020 03:07:38 +0000 (21:07 -0600)
committerStefan Roese <sr@denx.de>
Wed, 27 Jan 2021 06:25:39 +0000 (07:25 +0100)
SATA and UART ClearFog imaages are not buildable as ENV_SECT_SIZE is not defined
set values for both possible targets

Signed-off-by: Dennis Gilmore <dennis@ausil.us>
board/solidrun/clearfog/Kconfig

index e8c3f53..cf95258 100644 (file)
@@ -50,9 +50,9 @@ config ENV_OFFSET
 config ENV_SECT_SIZE
        hex "Environment Sector-Size"
        # Use SPI flash erase block size of 4 KiB
-       default 0x1000 if MVEBU_SPL_BOOT_DEVICE_SPI
+       default 0x1000 if MVEBU_SPL_BOOT_DEVICE_SPI || MVEBU_SPL_BOOT_DEVICE_SATA
        # Use optimistic 64 KiB erase block, will vary between actual media
-       default 0x10000 if MVEBU_SPL_BOOT_DEVICE_MMC
+       default 0x10000 if MVEBU_SPL_BOOT_DEVICE_MMC || MVEBU_SPL_BOOT_DEVICE_UART
 
 config SYS_SPI_U_BOOT_OFFS
        hex "address of u-boot payload in SPI flash"