Add bootstd information for VBE. Signed-off-by: Simon Glass <s...@chromium.org> ---
arch/arm/dts/rockchip-u-boot.dtsi | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/arch/arm/dts/rockchip-u-boot.dtsi b/arch/arm/dts/rockchip-u-boot.dtsi index 8c6e62398a4..7cce213c32e 100644 --- a/arch/arm/dts/rockchip-u-boot.dtsi +++ b/arch/arm/dts/rockchip-u-boot.dtsi @@ -27,6 +27,33 @@ binman: binman { multiple-images; }; + +#ifdef CONFIG_VPL + bootstd { + bootph-verify; + compatible = "u-boot,boot-std"; + + /* + * This is used for the VBE OS-request tests. A FAT filesystem + * created in a partition with the VBE information appearing + * before the partition starts. + * + * Offsets are aligned to the media block-size, typically 0x200 + */ + firmware0 { + bootph-verify; + compatible = "fwupd,vbe-simple"; + storage = "mmc0"; + skip-offset = <0x8000>; + area-start = <CONFIG_SPL_PAD_TO>; + area-size = <0x800000>; + state-offset = <(CONFIG_SPL_PAD_TO - 0x400)>; + state-size = <0x40>; + version-offset = <(CONFIG_SPL_PAD_TO - 0x200)>; + version-size = <0x100>; + }; + }; +#endif }; #ifdef CONFIG_SPL -- 2.43.0