diff options
author | Oleksii Kurochko <oleksii.kurochko@gmail.com> | 2018-04-20 15:38:57 +0300 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2018-04-24 13:55:50 +0000 |
commit | 4886a6591bf5bc2d3a64f7486101556a29b1320d (patch) | |
tree | f8c284a464c58568bce3ac511c8ead13eaf5fee1 /src/lib/gcc.c | |
parent | 4e8adbc227fff4f849d0149f6ecba1ebf22b7463 (diff) | |
download | coreboot-4886a6591bf5bc2d3a64f7486101556a29b1320d.tar.xz |
mainboard/emulation/qemu-i440fx/fw_cfg: fix checksum for ACPI tables
Current patch fixes problem with validation of ACPI in Linux kernel:
ACPI BIOS Error (bug): A valid RSDP was not found (20180313/tbxfroot-210)
1. function acpi_checksum() returns u8, so seems that is not good idea to
use write_le32().
2. at least RSDP (https://wiki.osdev.org/RSDP#Validating_the_RSDP) has
u8 checksum.
Change-Id: I1fb29ef4e58982aab0c54b1f715c5658d2a663d8
Signed-off-by: Oleksii Kurochko <oleksii.kurochko@gmail.com>
Reviewed-on: https://review.coreboot.org/25753
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Patrick Rudolph <siro@das-labor.org>
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Diffstat (limited to 'src/lib/gcc.c')
0 files changed, 0 insertions, 0 deletions