From .c to SPI: How Code Becomes Firmware

There is a long and complex series of steps that turn your EFI source code into bits sitting on a SPI part. Ever wonder how that works? I couldn't find one place that described the process from start to finish, so this post tries to do that. I am going to coalesce information from the following sources: UEFI Platform Initialization Specification EDK II Build Specification EDK II Flash Description…