u-boot-brain/arch/x86
Bin Meng 10d569ea1a x86: Fix up PIRQ routing table checksum earlier
PIRQ routing table checksum is fixed up in copy_pirq_routing_table(),
which is fine if we only write the configuration table once. But with
the SeaBIOS case, when we write the table for the second time, the
checksum will be fixed up to zero per the checksum algorithm, which
is caused by the checksum field not being zero before fix up, since
the checksum has already been calculated in the first run.

To fix this, move the checksum fixup to create_pirq_routing_table(),
so that copy_pirq_routing_table() only does what its function name
suggests: copy the table to somewhere else.

Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
2016-05-23 15:18:00 +08:00
..
cpu x86: Fix up PIRQ routing table checksum earlier 2016-05-23 15:18:00 +08:00
dts x86: dts: Update to include ACTL register details 2016-05-23 15:18:00 +08:00
include/asm x86: qemu: Move qfw command over to cmd and add Kconfig entry 2016-05-23 15:18:00 +08:00
lib x86: Fix up PIRQ routing table checksum earlier 2016-05-23 15:18:00 +08:00
config.mk efi: Add 64-bit payload support 2015-08-05 08:44:07 -06:00
Kconfig x86: qemu: split qfw command interface and qfw core 2016-05-23 15:18:00 +08:00
Makefile x86: Add support for U-Boot as an EFI application 2015-08-05 08:44:06 -06:00