mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-09-30 08:30:50 +09:00
efi_loader: fix typos in efi_runtime.c
Fix multiple typos Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: Alexander Graf <agraf@suse.de>
This commit is contained in:
parent
b72aaa87f6
commit
250b3254c7
@ -30,8 +30,9 @@ static efi_status_t __efi_runtime EFIAPI efi_device_error(void);
|
||||
static efi_status_t __efi_runtime EFIAPI efi_invalid_parameter(void);
|
||||
|
||||
/*
|
||||
* TODO(sjg@chromium.org): These defines and structs should come from the elf
|
||||
* header for each arch (or a generic header) rather than being repeated here.
|
||||
* TODO(sjg@chromium.org): These defines and structures should come from the ELF
|
||||
* header for each architecture (or a generic header) rather than being repeated
|
||||
* here.
|
||||
*/
|
||||
#if defined(__aarch64__)
|
||||
#define R_RELATIVE R_AARCH64_RELATIVE
|
||||
@ -79,7 +80,7 @@ struct elf_rela {
|
||||
};
|
||||
|
||||
/*
|
||||
* EFI Runtime code lives in 2 stages. In the first stage, U-Boot and an EFI
|
||||
* EFI runtime code lives in two stages. In the first stage, U-Boot and an EFI
|
||||
* payload are running concurrently at the same time. In this mode, we can
|
||||
* handle a good number of runtime callbacks
|
||||
*/
|
||||
@ -335,7 +336,7 @@ static void efi_runtime_detach(ulong offset)
|
||||
*p = newaddr;
|
||||
}
|
||||
|
||||
/* Update crc32 */
|
||||
/* Update CRC32 */
|
||||
efi_update_table_header_crc32(&efi_runtime_services.hdr);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user