x86: coreboot: Control I/O port 0xb2 writing via device tree
authorBin Meng <bmeng.cn@gmail.com>
Wed, 3 Jun 2015 01:20:05 +0000 (09:20 +0800)
committerSimon Glass <sjg@chromium.org>
Thu, 4 Jun 2015 09:03:18 +0000 (03:03 -0600)
commitf2653e8dd92229328480da35c26e6f9fbfec4381
tree774cce23bd148a5a3d3e831d0823907f7d8486d9
parent683b09d7837a71fb4c5dd53919c6afa4d800e60e
x86: coreboot: Control I/O port 0xb2 writing via device tree

Writing 0xcb to I/O port 0xb2 (Advanced Power Management Control) causes
U-Boot to hang on QEMU q35 target. We introduce a config option in the
device tree "u-boot,no-apm-finalize" under /config node if we don't want
to do that.

Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Acked-by: Simon Glass <sjg@chromium.org>
arch/x86/cpu/coreboot/coreboot.c
arch/x86/dts/qemu-x86_q35.dts