summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorQuentin Schulz <quentin.schulz@theobroma-systems.com>2022-09-15 11:14:30 +0200
committerQuentin Schulz <quentin.schulz@theobroma-systems.com>2022-10-19 12:13:03 +0200
commit72bd97aeba3010ba41ff11e9bab9d48dd92f3aad (patch)
tree85291e5e7f160f483679dd05b104f30a6df70746 /arch
parent19070a762379be877f4c892c45e83acc21bf033a (diff)
FROMLIST: rockchip: puma-rk3399: migrate to u-boot-rockchip.bin
The offset of the SPL payload on Puma is different than for other Rockchip devices in that it is stored at offset 256K instead of much further away in the MMC. Flashing one binary instead of two at different offsets is much more user friendly so let's migrate to it by modifying the offset in the Puma specific Device Tree. Cc: Quentin Schulz <foss+uboot@0leil.net> Reviewed-by: Kever Yang <kever.yang@rock-chips.com> Signed-off-by: Quentin Schulz <quentin.schulz@theobroma-systems.com> Link: https://lore.kernel.org/r/20220915091432.789294-11-foss+uboot@0leil.net Signed-off-by: Quentin Schulz <quentin.schulz@theobroma-systems.com>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/dts/rk3399-puma-haikou-u-boot.dtsi8
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/arm/dts/rk3399-puma-haikou-u-boot.dtsi b/arch/arm/dts/rk3399-puma-haikou-u-boot.dtsi
index 27a792fe6d..3c4487232a 100644
--- a/arch/arm/dts/rk3399-puma-haikou-u-boot.dtsi
+++ b/arch/arm/dts/rk3399-puma-haikou-u-boot.dtsi
@@ -44,6 +44,14 @@
};
};
+&binman {
+ simple-bin {
+ blob {
+ offset = <((CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR - 64) * 512)>;
+ };
+ };
+};
+
&gpio1 {
u-boot,dm-pre-reloc;
};