arm: mvebu: helios4: Enable SPI flash support
authorAditya Prayoga <aditya@kobol.io>
Tue, 4 Dec 2018 16:57:24 +0000 (00:57 +0800)
committerStefan Roese <sr@denx.de>
Sat, 8 Dec 2018 15:19:41 +0000 (16:19 +0100)
commit8d7d97e2d1a340ddc2ebe2286bb212ae3f54da62
tree7a2aa7c5383fc387770ec0185d76e5960787a792
parent16b6aefafdabe1c8733e876f02f54cdaaad5f409
arm: mvebu: helios4: Enable SPI flash support

Enable SPI flash support under U-Boot and SPL. The ENV size and offset,
ported from U-Boot 2013.01 Marvell version: 2015_T1.0p16

To create U-Boot image for SPI flash, user would need to replace
* CONFIG_MVEBU_SPL_BOOT_DEVICE_MMC with CONFIG_MVEBU_SPL_BOOT_DEVICE_SPI
* CONFIG_ENV_IS_IN_MMC with CONFIG_ENV_IS_IN_SPI_FLASH

Signed-off-by: Aditya Prayoga <aditya@kobol.io>
Reviewed-by: Stefan Roese <sr@denx.de>
Tested-By: Dennis Gilmore <dgilmore@redhat.com>
Reviewed-By: Dennis Gilmore <dgilmore@redhat.com>
Signed-off-by: Stefan Roese <sr@denx.de>
arch/arm/dts/armada-388-helios4-u-boot.dtsi
configs/helios4_defconfig
include/configs/helios4.h