diff options
author | Tom Rini <trini@konsulko.com> | 2022-03-24 16:21:33 -0400 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2022-03-24 16:21:33 -0400 |
commit | b7f4413abb04e136c9ec534098297d6fffaf0a02 (patch) | |
tree | 03a3779dadfff17f077b572448136a9c1b71658c | |
parent | 5bc486286f4f54d9f399adaa560720d4bf9f6566 (diff) | |
parent | 8285b928c5c1cb48a6ef9f54dae99cfc1066a44e (diff) | |
download | u-boot-b7f4413abb04e136c9ec534098297d6fffaf0a02.zip u-boot-b7f4413abb04e136c9ec534098297d6fffaf0a02.tar.gz u-boot-b7f4413abb04e136c9ec534098297d6fffaf0a02.tar.bz2 |
Merge https://source.denx.de/u-boot/custodians/u-boot-marvell
- a37xx: espressobin: Fix non-working SPI (Pali)
-rw-r--r-- | arch/arm/dts/armada-3720-espressobin-u-boot.dtsi | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/arch/arm/dts/armada-3720-espressobin-u-boot.dtsi b/arch/arm/dts/armada-3720-espressobin-u-boot.dtsi index 3e01c64..07293ab 100644 --- a/arch/arm/dts/armada-3720-espressobin-u-boot.dtsi +++ b/arch/arm/dts/armada-3720-espressobin-u-boot.dtsi @@ -1,8 +1,15 @@ // SPDX-License-Identifier: (GPL-2.0+ OR MIT) -#ifdef CONFIG_ENV_IS_IN_SPI_FLASH &spi0 { - spi-flash@0 { + flash@0 { + /* + * For some unknown reason U-Boot SPI driver cannot access + * SPI-NOR with higher frequency. Linux kernel SPI driver + * does not have this problem. + */ + spi-max-frequency = <50000000>; + +#ifdef CONFIG_ENV_IS_IN_SPI_FLASH partitions { compatible = "fixed-partitions"; #address-cells = <1>; @@ -18,9 +25,9 @@ label = "u-boot-env"; }; }; +#endif }; }; -#endif /* * U-Boot requires to have this eMMC node by default in "okay" status. U-Boot |