summaryrefslogtreecommitdiff
path: root/arch/arm/dts/rk3399-puma-haikou-u-boot.dtsi
diff options
context:
space:
mode:
authorQuentin Schulz <quentin.schulz@theobroma-systems.com>2022-09-15 11:14:30 +0200
committerKever Yang <kever.yang@rock-chips.com>2022-10-19 19:30:49 +0800
commit35f571b56c3f4a3d2dd669aac61a5edd55d0d4e2 (patch)
treea9fbbc0e01321b34acfbbd8a07e6676e76b430ec /arch/arm/dts/rk3399-puma-haikou-u-boot.dtsi
parent2169e29c5a1b2b9c0a898c99e93057b5a1fe0af8 (diff)
downloadu-boot-35f571b56c3f4a3d2dd669aac61a5edd55d0d4e2.tar.gz
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> Signed-off-by: Quentin Schulz <quentin.schulz@theobroma-systems.com> Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
Diffstat (limited to 'arch/arm/dts/rk3399-puma-haikou-u-boot.dtsi')
-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;
};