rockchip: rk3399-gru: Use SYS_SPI_U_BOOT_OFFS value in offset prop

Use the offset configured with SYS_SPI_U_BOOT_OFFS Kconfig option
instead of a hardcoded 0x40000 for the FIT payload offset.

This has no intended impact as SYS_SPI_U_BOOT_OFFS=0x40000.

Signed-off-by: Jonas Karlman <jonas@kwiboo.se>
Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
This commit is contained in:
Jonas Karlman
2024-12-12 23:57:09 +00:00
committed by Tom Rini
parent 4576e65a5d
commit 01048aa9f8
2 changed files with 2 additions and 2 deletions

View File

@@ -11,7 +11,7 @@
};
config {
u-boot,spl-payload-offset = <0x40000>;
u-boot,spl-payload-offset = <CONFIG_SYS_SPI_U_BOOT_OFFS>;
};
};

View File

@@ -43,7 +43,7 @@
};
};
u-boot-img {
offset = <0x40000>;
offset = <CONFIG_SYS_SPI_U_BOOT_OFFS>;
};
u-boot {
offset = <0x300000>;