NEVERMERGE: Add SMI debugger

Change-Id: I7aff8a976d95c32b24a91940faefe4fd18a713ce
console: Drop driver list in ramstage

This framework was only available in ramstage. So we had to define
console output functions separately for bootblock, romstage and SMM.
Follow-up patches will re-enable all the consoles removed here,
in a more flexible fashion, and with less lines-of-code and copy-paste.

Also the driver list is not in a well-defined order and some of the
loops could exit without visiting all drivers.

NOTE: This build has no console in ramstage.

Change-Id: Iaddc495aaca37e2a6c2c3f802a0dba27bf227a3e
Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
console: Use romstage code for ramstage and SMM

Console is arch-agnostic and there is no need for separate
implementations for romstage and ramstage.

For SMM there is console only if DEBUG_SMI is selected.

Change-Id: I7028eeeff8bfbb9c8552972436b29a7508834d87
Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
NOTFORMERGE: Hack in usbdebug to SMM

Change-Id: I2fba3f665ff0a18c9edbd726aad7a7123a42a620
Revert "cpu/amd/agesa: Include lapic_timer.c in SMM objects if requested"

This reverts commit d372d3e52fff30678b5a798c65ea580287813457.
southbridge/hudson: Add support for ACPI enable/disable via SMI

This enables the ACPI SMI command port in the FADT table, and sets up
the hardware accordingly. If we have SMI enabled, then we don't set
the SCI_EN bit at boot, causing the OS to send the ACPI_ENABLE
command, as required by the ACPI spec. This gives us a chance to hook
into the mainboard_smi_apmc() handler.

Change-Id: Ib4c63d55b3132578dcae48bfe2092d4ea35821dd
NFM: hp/pavilion_m6_1035dx: Add SMI handler

Change-Id: I08fc144c71ae751edd1df3934572c4ec90592d60