diff options
| author | Aditya Prayoga <[email protected]> | 2018-12-05 00:57:24 +0800 |
|---|---|---|
| committer | Stefan Roese <[email protected]> | 2018-12-08 16:19:41 +0100 |
| commit | 8d7d97e2d1a340ddc2ebe2286bb212ae3f54da62 (patch) | |
| tree | 7a2aa7c5383fc387770ec0185d76e5960787a792 /arch | |
| parent | 16b6aefafdabe1c8733e876f02f54cdaaad5f409 (diff) | |
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 <[email protected]>
Reviewed-by: Stefan Roese <[email protected]>
Tested-By: Dennis Gilmore <[email protected]>
Reviewed-By: Dennis Gilmore <[email protected]>
Signed-off-by: Stefan Roese <[email protected]>
Diffstat (limited to 'arch')
| -rw-r--r-- | arch/arm/dts/armada-388-helios4-u-boot.dtsi | 10 |
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 bd8c6ce5016..4bc00aec10f 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; +}; |
