summaryrefslogtreecommitdiffstats
path: root/arch/arm
diff options
context:
space:
mode:
authorPeter Robinson <pbrobinson@gmail.com>2020-06-08 23:50:30 +0100
committerKever Yang <kever.yang@rock-chips.com>2020-07-07 19:45:57 +0800
commitf9d67436ce5814ea4e394317ddeaf1dbecb1c36b (patch)
tree4d47508111310fa4cb38a64d69b352d9a09982a4 /arch/arm
parent3a57712496ab4383c528184ad1021908d6620162 (diff)
downloadu-boot-f9d67436ce5814ea4e394317ddeaf1dbecb1c36b.tar.gz
u-boot-f9d67436ce5814ea4e394317ddeaf1dbecb1c36b.tar.xz
u-boot-f9d67436ce5814ea4e394317ddeaf1dbecb1c36b.zip
rockchip: Pinebook Pro: Fix SPI flash and store env on it
Some minor fixes for SPI flash on the Pinebook Pro and also default to saving environment to the SPI flash as it's guaranteed to be on board. Signed-off-by: Peter Robinson <pbrobinson@gmail.com> Reviewed-by: Kever Yang <kever.yang@rock-chips.com> (applied with make savedefconfig) Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
Diffstat (limited to 'arch/arm')
-rw-r--r--arch/arm/dts/rk3399-pinebook-pro-u-boot.dtsi6
1 files changed, 5 insertions, 1 deletions
diff --git a/arch/arm/dts/rk3399-pinebook-pro-u-boot.dtsi b/arch/arm/dts/rk3399-pinebook-pro-u-boot.dtsi
index 296321d697..ded7db0aef 100644
--- a/arch/arm/dts/rk3399-pinebook-pro-u-boot.dtsi
+++ b/arch/arm/dts/rk3399-pinebook-pro-u-boot.dtsi
@@ -12,7 +12,11 @@
};
chosen {
- u-boot,spl-boot-order = "same-as-spl", &sdhci, &sdmmc;
+ u-boot,spl-boot-order = "same-as-spl", &sdhci, &spiflash, &sdmmc;
+ };
+
+ config {
+ u-boot,spl-payload-offset = <0x60000>; /* @ 384KB */
};
};