]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
x86: Set up some assumed sizes for binary blobs
authorSimon Glass <sjg@chromium.org>
Sun, 23 Jun 2024 17:55:08 +0000 (11:55 -0600)
committerSimon Glass <sjg@chromium.org>
Wed, 3 Jul 2024 06:36:33 +0000 (07:36 +0100)
Add assumed sizes so that Binman can check that the U-Boot binaries do
not grow too large.

Signed-off-by: Simon Glass <sjg@chromium.org>
arch/x86/dts/u-boot.dtsi

index e0de331809105f09e233a6829b07358a4a52fa08..fdd28979e0b05d513edc23df172bf790d34ce3b9 100644 (file)
 #ifdef CONFIG_HAVE_INTEL_ME
        intel-descriptor {
                filename = CONFIG_FLASH_DESCRIPTOR_FILE;
+               assume-size = <0x1000>;
        };
        intel-me {
                filename = CONFIG_INTEL_ME_FILE;
+               assume-size = <0x1ff000>;
        };
 #endif
 #ifdef CONFIG_TPL
@@ -87,6 +89,7 @@
 #ifdef CONFIG_HAVE_MRC
        intel-mrc {
                offset = <CFG_X86_MRC_ADDR>;
+               assume-size = <0x2fc94>;
        };
 #endif
 #ifdef CONFIG_FSP_VERSION1
 #ifdef CONFIG_FSP_VERSION2
        intel-descriptor {
                filename = CONFIG_FLASH_DESCRIPTOR_FILE;
+               assume-size = <4096>;
        };
        intel-ifwi {
                filename = CONFIG_IFWI_INPUT_FILE;
        intel-vga {
                filename = CONFIG_VGA_BIOS_FILE;
                offset = <CONFIG_VGA_BIOS_ADDR>;
+               assume-size = <0x10000>;
        };
 #endif
 #ifdef CONFIG_HAVE_VBT