From: Alexander Graf Date: Fri, 6 Apr 2018 09:27:44 +0200 Subject: [U-Boot] [PATCH v3] efi_loader: Check machine type in the image header In-Reply-To: <20180406013205.GA36488@intel.com> References: <20180406013205.GA36488@intel.com> Message-ID: <1197bbcd-0ea5-c136-093d-e432b87defc3@suse.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 06.04.18 03:32, Ivan Gorinov wrote: > Check FileHeader.Machine to make sure the EFI executable image is built > for the same architecture. For example, 32-bit U-Boot on x86 will print > an error message instead of loading an x86_64 image and crashing. > > Signed-off-by: Ivan Gorinov Ah, sorry, I didn't see v3 until after I replied on the other thread. This is pretty much exactly what I wanted to see :). Thanks! Alex