From 6ad2452bc61d925eaa40f52377baaddf92c43464 Mon Sep 17 00:00:00 2001 From: Simon Glass Date: Mon, 28 Feb 2022 07:16:54 -0700 Subject: binman: Add VPL support Add support for U-Boot's Verifying Program Loader phase. Signed-off-by: Simon Glass --- tools/binman/test/082_fdt_update_all.dts | 2 ++ tools/binman/test/255_u_boot_vpl.dts | 11 +++++++++++ tools/binman/test/256_u_boot_vpl_nodtb.dts | 13 +++++++++++++ tools/binman/test/257_fdt_incl_vpl.dts | 13 +++++++++++++ tools/binman/test/258_vpl_bss_pad.dts | 19 +++++++++++++++++++ 5 files changed, 58 insertions(+) create mode 100644 tools/binman/test/255_u_boot_vpl.dts create mode 100644 tools/binman/test/256_u_boot_vpl_nodtb.dts create mode 100644 tools/binman/test/257_fdt_incl_vpl.dts create mode 100644 tools/binman/test/258_vpl_bss_pad.dts (limited to 'tools/binman/test') diff --git a/tools/binman/test/082_fdt_update_all.dts b/tools/binman/test/082_fdt_update_all.dts index 284975cc289..1aea56989f0 100644 --- a/tools/binman/test/082_fdt_update_all.dts +++ b/tools/binman/test/082_fdt_update_all.dts @@ -14,5 +14,7 @@ }; u-boot-tpl-dtb { }; + u-boot-vpl-dtb { + }; }; }; diff --git a/tools/binman/test/255_u_boot_vpl.dts b/tools/binman/test/255_u_boot_vpl.dts new file mode 100644 index 00000000000..a3a281a91e0 --- /dev/null +++ b/tools/binman/test/255_u_boot_vpl.dts @@ -0,0 +1,11 @@ +// SPDX-License-Identifier: GPL-2.0+ +/dts-v1/; + +/ { + binman { + u-boot-vpl { + }; + u-boot-vpl-dtb { + }; + }; +}; diff --git a/tools/binman/test/256_u_boot_vpl_nodtb.dts b/tools/binman/test/256_u_boot_vpl_nodtb.dts new file mode 100644 index 00000000000..055016badd5 --- /dev/null +++ b/tools/binman/test/256_u_boot_vpl_nodtb.dts @@ -0,0 +1,13 @@ +// SPDX-License-Identifier: GPL-2.0+ + +/dts-v1/; + +/ { + #address-cells = <1>; + #size-cells = <1>; + + binman { + u-boot-vpl-nodtb { + }; + }; +}; diff --git a/tools/binman/test/257_fdt_incl_vpl.dts b/tools/binman/test/257_fdt_incl_vpl.dts new file mode 100644 index 00000000000..435256fe317 --- /dev/null +++ b/tools/binman/test/257_fdt_incl_vpl.dts @@ -0,0 +1,13 @@ +// SPDX-License-Identifier: GPL-2.0+ + +/dts-v1/; + +/ { + #address-cells = <1>; + #size-cells = <1>; + + binman { + u-boot-vpl { + }; + }; +}; diff --git a/tools/binman/test/258_vpl_bss_pad.dts b/tools/binman/test/258_vpl_bss_pad.dts new file mode 100644 index 00000000000..d308dcade17 --- /dev/null +++ b/tools/binman/test/258_vpl_bss_pad.dts @@ -0,0 +1,19 @@ +// SPDX-License-Identifier: GPL-2.0+ + +/dts-v1/; + +/ { + #address-cells = <1>; + #size-cells = <1>; + + binman { + u-boot-vpl { + }; + + u-boot-vpl-bss-pad { + }; + + u-boot { + }; + }; +}; -- cgit v1.3.1