On 2020/7/9 上午6:50, Johannes Krottmayer wrote:
Add U-Boot SPI Flash support for the PINE64 Rock64 board

Signed-off-by: Johannes Krottmayer <krj...@gmail.com>
Cc: Matwey V. Kornilov <matwey.korni...@gmail.com>
Reviewed-by: Kever Yang<kever.y...@rock-chips.com>

Thanks,
- Kever
---
  arch/arm/dts/rk3328-rock64-u-boot.dtsi | 6 ++++++
  1 file changed, 6 insertions(+)

diff --git a/arch/arm/dts/rk3328-rock64-u-boot.dtsi 
b/arch/arm/dts/rk3328-rock64-u-boot.dtsi
index f076075076..7340ef95f1 100644
--- a/arch/arm/dts/rk3328-rock64-u-boot.dtsi
+++ b/arch/arm/dts/rk3328-rock64-u-boot.dtsi
@@ -46,3 +46,9 @@
  &vcc_sd {
        u-boot,dm-spl;
  };
+
+&spi0 {
+       spi_flash: spiflash@0 {
+               u-boot,dm-pre-reloc;
+       };
+};


Reply via email to