/openbmc/u-boot/tools/binman/etype/ |
H A D | u_boot_ucode.py | 5 # Entry-type module for a U-Boot binary with an embedded microcode pointer 13 """U-Boot microcode block 21 U-Boot on x86 needs a single block of microcode. This is collected from 22 the various microcode update nodes in the device tree. It is also unable 23 to read the microcode from the device tree on platforms that use FSP 25 microcode is supplied before there is any SRAM available to use (i.e. 27 requires the microcode!). To keep things simple, all x86 platforms handle 28 microcode the same way in U-Boot (even non-FSP platforms). This is that 30 size of the microcode. This is either passed to the FSP (for FSP 31 platforms), or used to set up the microcode (for non-FSP platforms). [all …]
|
H A D | u_boot_with_ucode_ptr.py | 5 # Entry-type module for a U-Boot binary with an embedded microcode pointer 18 """U-Boot with embedded microcode pointer 22 - optional-ucode: boolean property to make microcode optional. If the 23 u-boot.bin image does not include microcode, no error will 28 microcode, to allow early x86 boot code to find it without doing anything 40 # Figure out where to put the microcode pointer 50 # If the image does not need microcode, there is nothing to do 54 # Get the offset of the microcode 57 self.Raise('Cannot find microcode region u-boot-ucode') 71 …self.Raise('Microcode pointer _dt_ucode_base_size at %08x is outside the section ranging from %08x… [all …]
|
H A D | u_boot_dtb_with_ucode.py | 5 # Entry-type module for U-Boot device tree with the microcode removed 14 """A U-Boot device tree file, with the microcode removed 21 contains the microcode. If the microcode is not being collated into one 22 place then the offset and size of the microcode is recorded by this entry, 24 entry deletes the microcode from the device tree (to save space) and makes 43 # If the section does not need microcode, there is nothing to do 55 # Remove the microcode 58 self.ucode = fdt.GetNode('/microcode') 60 raise self.Raise("No /microcode node found in '%s'" % fname) 62 # There's no need to collate it (move all microcode into one place) [all …]
|
H A D | intel_cmc.py | 5 # Entry-type module for Intel Chip Microcode binary blob 17 This file contains microcode for some devices in a special format. An 18 example filename is 'Microcode/C0_22211.BIN'.
|
H A D | u_boot_tpl_dtb_with_ucode.py | 5 # Entry-type module for U-Boot device tree with the microcode removed 14 """U-Boot TPL with embedded microcode pointer 16 This is used when TPL must set up the microcode for U-Boot.
|
H A D | u_boot_spl_with_ucode_ptr.py | 5 # Entry-type module for an SPL binary with an embedded microcode pointer 17 """U-Boot SPL with embedded microcode pointer 19 This is used when SPL must set up the microcode for U-Boot.
|
H A D | u_boot_tpl_with_ucode_ptr.py | 5 # Entry-type module for an TPL binary with an embedded microcode pointer 17 """U-Boot TPL with embedded microcode pointer
|
/openbmc/u-boot/tools/ |
H A D | microcode-tool.py | 6 # Intel microcode update tool 14 MICROCODE_DIR = 'arch/x86/dts/microcode' 16 class Microcode: class 17 """Holds information about the microcode for a particular model of CPU. 20 name: Name of the CPU this microcode is for, including any version 23 words: List of hex words containing the microcode. The first 16 words 47 microcodes: List of Microcode objects from the file 65 microcodes[name] = Microcode(name, data) 75 microcodes[name] = Microcode(name, data) 86 microcodes: List of Microcode objects from the file [all …]
|
H A D | microcode-tool | 6 # Intel microcode update tool 14 MICROCODE_DIR = 'arch/x86/dts/microcode' 16 class Microcode: class 17 """Holds information about the microcode for a particular model of CPU. 20 name: Name of the CPU this microcode is for, including any version 23 words: List of hex words containing the microcode. The first 16 words 47 microcodes: List of Microcode objects from the file 65 microcodes[name] = Microcode(name, data) 75 microcodes[name] = Microcode(name, data) 86 microcodes: List of Microcode objects from the file [all …]
|
/openbmc/u-boot/arch/x86/include/asm/ |
H A D | microcode.h | 16 * microcode_update_intel() - Apply microcode updates 18 * Applies any microcode updates in the device tree. 26 * microcode_read_rev() - Read the microcode version 28 * This reads the microcode version of the currently running CPU 30 * @return microcode version number
|
/openbmc/pldm/host-bmc/dbus/ |
H A D | cpu_core.cpp | 8 uint32_t CPUCore::microcode() const in microcode() function in pldm::dbus::CPUCore 11 microcode(); in microcode() 14 uint32_t CPUCore::microcode(uint32_t value) in microcode() function in pldm::dbus::CPUCore 17 microcode(value); in microcode()
|
H A D | cpu_core.hpp | 31 /** Get value of Microcode */ 32 uint32_t microcode() const override; 34 /** Set value of Microcode */ 35 uint32_t microcode(uint32_t value) override;
|
/openbmc/u-boot/arch/x86/cpu/intel_common/ |
H A D | microcode.c | 6 * Microcode update for Intel PIII and later CPUs 14 #include <asm/microcode.h> 22 * struct microcode_update - standard microcode header from Intel 66 /* Quark does not have microcode MSRs */ in microcode_read_rev() 99 /* CPUID sets MSR 0x8B iff a microcode update has been loaded. */ in microcode_read_cpu() 116 debug("microcode: sig=%#x pf=%#x revision=%#x\n", in microcode_read_cpu() 121 /* Get a microcode update from the device tree and apply it */ 148 * The microcode has been removed from the device tree in microcode_update_intel() 152 debug("%s: Microcode data not available\n", __func__); in microcode_update_intel() 172 debug("microcode: updated to revision 0x%x date=%04x-%02x-%02x\n", in microcode_update_intel() [all …]
|
H A D | car.S | 14 #include <asm/microcode.h> 50 /* TODO: Load microcode later - the 'no eviction' mode breaks this */ 240 ucode_base: /* Declared in microcode.h */ 241 .long 0 /* microcode base */ 243 ucode_size: /* Declared in microcode.h */ 244 .long 0 /* microcode size */
|
/openbmc/u-boot/drivers/qe/ |
H A D | qe.c | 186 * Upload microcode to IRAM for those SOCs in qe_init() 192 /* enable the microcode in IRAM */ in qe_init() 210 * Upload microcode to IRAM for those SOCs which do not have ROM in QE. in qe_init() 214 /* enable the microcode in IRAM */ in qe_init() 414 * Upload a QE microcode 417 * the actual uploading of the microcode. 426 printf("QE: uploading microcode '%s' version %u.%u.%u\n", in qe_upload_microcode() 430 printf("QE: uploading microcode '%s'\n", (char *)ucode->id); in qe_upload_microcode() 441 * Upload a microcode to the I-RAM at a specific address. 443 * See docs/README.qe_firmware for information on QE microcode uploading. [all …]
|
/openbmc/u-boot/arch/x86/cpu/ |
H A D | sipi_vector.S | 10 * loads microcode, sets up MSRs, and enables caching before calling into 119 /* Determine if one should check microcode versions */ 124 /* Get the Microcode version */ 133 /* Determine if parallel microcode loading is allowed */ 137 /* Protect microcode loading */ 143 /* Load new microcode */ 148 * The microcode pointer is passed in pointing to the header. Adjust 156 /* Unconditionally unlock microcode loading */
|
/openbmc/u-boot/tools/binman/ |
H A D | README.entries | 150 This file contains microcode for some devices in a special format. An 151 example filename is 'Microcode/C0_22211.BIN'. 360 Entry: u-boot-dtb-with-ucode: A U-Boot device tree file, with the microcode removed 368 contains the microcode. If the microcode is not being collated into one 369 place then the offset and size of the microcode is recorded by this entry, 371 entry deletes the microcode from the device tree (to save space) and makes 496 Entry: u-boot-spl-with-ucode-ptr: U-Boot SPL with embedded microcode pointer 499 This is used when SPL must set up the microcode for U-Boot. 542 Entry: u-boot-tpl-dtb-with-ucode: U-Boot TPL with embedded microcode pointer 545 This is used when TPL must set up the microcode for U-Boot. [all …]
|
H A D | ftest.py | 46 U_BOOT_NODTB_DATA = 'nodtb with microcode pointer somewhere in here' 47 U_BOOT_SPL_NODTB_DATA = 'splnodtb with microcode pointer somewhere in here' 48 U_BOOT_TPL_NODTB_DATA = 'tplnodtb with microcode pointer somewhere in here' 839 """Handle running a test for insertion of microcode 850 Offset and size components of microcode pointer, as inserted 855 # Now check the device tree has no microcode 870 ucode = dtb.GetNode('/microcode') 875 # Check that the microcode appears immediately after the Fdt 877 # the /microcode/update@xxx nodes in 34_x86_ucode.dts. 882 # Check that the microcode pointer was inserted. It should match the [all …]
|
/openbmc/u-boot/arch/x86/dts/ |
H A D | cougarcanyon2.dts | 66 microcode { 68 #include "microcode/m12306a2_00000008.dtsi" 71 #include "microcode/m12306a4_00000007.dtsi" 74 #include "microcode/m12306a5_00000007.dtsi" 77 #include "microcode/m12306a8_00000010.dtsi" 80 #include "microcode/m12306a9_0000001b.dtsi"
|
/openbmc/u-boot/drivers/net/fm/ |
H A D | fm.c | 71 * fm_upload_ucode - Fman microcode upload worker function 73 * This function does the actual uploading of an Fman microcode 84 /* write microcode to IRAM */ in fm_upload_ucode() 93 printf("Fman%u: microcode upload timeout\n", fm_idx + 1); in fm_upload_ucode() 95 /* enable microcode from IRAM */ in fm_upload_ucode() 103 * a microcode to the Fman instead of the QE. 105 * Because the process for uploading a microcode to the Fman is similar for 106 * that of the QE, the QE firmware binary format is used for Fman microcode. 154 * For situations where the second RISC uses the same microcode in fman_upload_firmware() 159 be32_to_cpu(firmware->microcode[i].count); in fman_upload_firmware() [all …]
|
/openbmc/u-boot/arch/x86/lib/fsp/ |
H A D | fsp_car.S | 105 ucode_base: /* Declared in microcode.h */ 106 .long 0 /* microcode base */ 108 ucode_size: /* Declared in microcode.h */ 109 .long 0 /* microcode size */
|
/openbmc/phosphor-dbus-interfaces/yaml/xyz/openbmc_project/Inventory/Item/ |
H A D | CpuCore.interface.yaml | 4 - name: Microcode 7 The microcode information for this processor
|
/openbmc/u-boot/include/ |
H A D | fsl_qe.h | 240 u8 count; /* Number of microcode[] structures */ 256 u32 code_offset;/* Offset of the actual microcode */ 257 u8 major; /* The microcode version major */ 258 u8 minor; /* The microcode version minor */ 259 u8 revision; /* The microcode version revision */ 262 } __attribute__ ((packed)) microcode[1]; member 263 /* All microcode binaries should be located here */ 264 /* CRC32 should be located here, after the microcode binaries */
|
/openbmc/u-boot/tools/binman/test/ |
H A D | 058_x86_ucode_spl_needs_retry.dts | 17 * Microcode goes before the DTB which contains it, so binman 28 microcode {
|
/openbmc/openbmc/meta-security/wic/ |
H A D | systemd-bootdisk-dmverity.wks.in | 9 # Also note that the use of microcode.cpio introduces a meta-intel layer dependency. 11 part /boot --source bootimg-efi --sourceparams="loader=systemd-boot,initrd=microcode.cpio" --ondisk…
|