[U-Boot] [PATCH 3/6] x86: coreboot: Don't write I/O port 0xb2 for QEMU targets
Simon Glass
sjg at chromium.org
Wed May 27 05:13:10 CEST 2015
Hi Bin,
On 25 May 2015 at 08:36, Bin Meng <bmeng.cn at gmail.com> wrote:
> Writing 0xcb to I/O port 0xb2 (Advanced Power Management Control) causes
> U-Boot to hang on QEMU q35 target. Disable the writing for QEMU targets.
>
> Signed-off-by: Bin Meng <bmeng.cn at gmail.com>
> ---
>
> arch/x86/cpu/coreboot/coreboot.c | 4 ----
> 1 file changed, 4 deletions(-)
>
> diff --git a/arch/x86/cpu/coreboot/coreboot.c b/arch/x86/cpu/coreboot/coreboot.c
> index 4cdd0d4..2234cf0 100644
> --- a/arch/x86/cpu/coreboot/coreboot.c
> +++ b/arch/x86/cpu/coreboot/coreboot.c
> @@ -85,10 +85,6 @@ void board_final_cleanup(void)
> wrmsrl(MTRR_PHYS_MASK_MSR(top_mtrr), 0);
> mtrr_close(&state);
> }
> -
> - /* Issue SMI to Coreboot to lock down ME and registers */
> - printf("Finalizing Coreboot\n");
> - outb(0xcb, 0xb2);
> }
>
> void panic_puts(const char *str)
> --
> 1.8.2.1
>
But how does this run with coreboot on platforms that need it? Should
this be controlled by a device tree settings, perhaps?
Regards,
Simon
More information about the U-Boot
mailing list