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:
@@ -11,7 +11,7 @@
|
||||
};
|
||||
|
||||
config {
|
||||
u-boot,spl-payload-offset = <0x40000>;
|
||||
u-boot,spl-payload-offset = <CONFIG_SYS_SPI_U_BOOT_OFFS>;
|
||||
};
|
||||
};
|
||||
|
||||
|
@@ -43,7 +43,7 @@
|
||||
};
|
||||
};
|
||||
u-boot-img {
|
||||
offset = <0x40000>;
|
||||
offset = <CONFIG_SYS_SPI_U_BOOT_OFFS>;
|
||||
};
|
||||
u-boot {
|
||||
offset = <0x300000>;
|
||||
|
Reference in New Issue
Block a user