summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorAditya Prayoga <aditya@kobol.io>2018-12-05 00:57:24 +0800
committerStefan Roese <sr@denx.de>2018-12-08 16:19:41 +0100
commit8d7d97e2d1a340ddc2ebe2286bb212ae3f54da62 (patch)
tree7a2aa7c5383fc387770ec0185d76e5960787a792 /arch
parent16b6aefafdabe1c8733e876f02f54cdaaad5f409 (diff)
downloadu-boot-8d7d97e2d1a340ddc2ebe2286bb212ae3f54da62.tar.gz
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>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/dts/armada-388-helios4-u-boot.dtsi10
1 files changed, 10 insertions, 0 deletions
diff --git a/arch/arm/dts/armada-388-helios4-u-boot.dtsi b/arch/arm/dts/armada-388-helios4-u-boot.dtsi
index bd8c6ce501..4bc00aec10 100644
--- a/arch/arm/dts/armada-388-helios4-u-boot.dtsi
+++ b/arch/arm/dts/armada-388-helios4-u-boot.dtsi
@@ -4,5 +4,15 @@
aliases {
i2c0 = &i2c0;
i2c1 = &i2c1;
+ spi1 = &spi1;
};
};
+
+&spi1 {
+ u-boot,dm-spl;
+};
+
+&w25q32 {
+ status = "okay";
+ u-boot,dm-spl;
+};