// SPDX-License-Identifier: GPL-2.0+ /* * Copyright (C) 2016 Google, Inc * Written by Simon Glass */ #include / { binman { multiple-images; rom: rom { }; }; }; #ifdef CONFIG_ROM_SIZE &rom { filename = "u-boot.rom"; end-at-4gb; sort-by-offset; pad-byte = <0xff>; size = ; #ifdef CONFIG_HAVE_INTEL_ME intel-descriptor { filename = CONFIG_FLASH_DESCRIPTOR_FILE; }; intel-me { filename = CONFIG_INTEL_ME_FILE; }; #endif #ifdef CONFIG_TPL #ifdef CONFIG_HAVE_MICROCODE u-boot-tpl-with-ucode-ptr { offset = ; }; u-boot-tpl-dtb { }; #endif spl { type = "u-boot-spl"; offset = ; }; u-boot { offset = ; }; #elif defined(CONFIG_SPL) u-boot-spl-with-ucode-ptr { offset = ; }; u-boot-dtb-with-ucode2 { type = "u-boot-dtb-with-ucode"; }; u-boot { offset = ; }; #else # ifdef CONFIG_SPL u-boot { offset = ; }; # elif defined(CONFIG_HAVE_MICROCODE) /* If there is no SPL then we need to put microcode in U-Boot */ u-boot-with-ucode-ptr { offset = ; }; # else u-boot-nodtb { offset = ; }; # endif #endif #ifdef CONFIG_HAVE_MICROCODE u-boot-dtb-with-ucode { }; u-boot-ucode { align = <16>; }; #else u-boot-dtb { }; #endif fdtmap { }; #ifdef CONFIG_HAVE_X86_FIT intel-fit { }; intel-fit-ptr { }; #endif #ifdef CONFIG_HAVE_MRC intel-mrc { offset = ; }; #endif #ifdef CONFIG_FSP_VERSION1 intel-fsp { filename = CONFIG_FSP_FILE; offset = ; }; #endif #ifdef CONFIG_FSP_VERSION2 intel-descriptor { filename = CONFIG_FLASH_DESCRIPTOR_FILE; }; intel-ifwi { filename = CONFIG_IFWI_INPUT_FILE; convert-fit; section { size = <0x8000>; ifwi-replace; ifwi-subpart = "IBBP"; ifwi-entry = "IBBL"; u-boot-tpl { }; x86-start16-tpl { offset = <0x7800>; }; x86-reset16-tpl { offset = <0x7ff0>; }; }; }; intel-fsp-m { filename = CONFIG_FSP_FILE_M; }; intel-fsp-s { filename = CONFIG_FSP_FILE_S; }; #endif private_files: private-files { type = "files"; pattern = "*.dat"; }; #ifdef CONFIG_HAVE_CMC intel-cmc { filename = CONFIG_CMC_FILE; offset = ; }; #endif #ifdef CONFIG_HAVE_VGA_BIOS intel-vga { filename = CONFIG_VGA_BIOS_FILE; offset = ; }; #endif #ifdef CONFIG_HAVE_VBT intel-vbt { filename = CONFIG_VBT_FILE; offset = ; }; #endif #ifdef CONFIG_HAVE_REFCODE intel-refcode { offset = ; }; #endif #ifdef CONFIG_TPL x86-start16-tpl { offset = ; }; x86-reset16-tpl { offset = ; }; #elif defined(CONFIG_SPL) x86-start16-spl { offset = ; }; x86-reset16-spl { offset = ; }; #else x86-start16 { offset = ; }; x86-reset16 { offset = ; }; #endif image-header { location = "end"; }; }; #endif