Google Parrot/Butterfly: fadt.c: Align macros correctly
The commits adding support for the Google Parrot Chromebook commita7198b34cc
Author: Stefan Reinauer <reinauer@chromium.org> Date: Tue Dec 11 16:00:47 2012 -0800 Add support for Google Parrot Chromebook Reviewed-on: http://review.coreboot.org/2026 and the Google Butterfly Chromebook commitd7bd4eb003
Author: Stefan Reinauer <reinauer@chromium.org> Date: Mon Feb 11 11:11:36 2013 -0800 Add support for "Butterfly" Chromebook Reviewed-on: http://review.coreboot.org/2359 had macros in `fadt.c` which were not aligned correctly and did not adhere to the coding style which uses just one space after `#define`. Fix this and use tabs instead of spaces everywhere. Change-Id: I1422c57a3bdc2faa29d2a6e2064e4d3aeed0f1cb Signed-off-by: Paul Menzel <paulepanter@users.sourceforge.net> Reviewed-on: http://review.coreboot.org/2375 Tested-by: build bot (Jenkins) Reviewed-by: Anton Kochkov <anton.kochkov@gmail.com>
This commit is contained in:
parent
d01d0368f4
commit
d60bb4927a
|
@ -25,12 +25,12 @@
|
||||||
* to be included by the ich7 smi handler, ich7 smi init
|
* to be included by the ich7 smi handler, ich7 smi init
|
||||||
* code and the mainboard fadt.
|
* code and the mainboard fadt.
|
||||||
*/
|
*/
|
||||||
#define APM_CNT 0xb2
|
#define APM_CNT 0xb2
|
||||||
#define CST_CONTROL 0x85
|
#define CST_CONTROL 0x85
|
||||||
#define PST_CONTROL 0x80
|
#define PST_CONTROL 0x80
|
||||||
#define ACPI_DISABLE 0x1e
|
#define ACPI_DISABLE 0x1e
|
||||||
#define ACPI_ENABLE 0xe1
|
#define ACPI_ENABLE 0xe1
|
||||||
#define GNVS_UPDATE 0xea
|
#define GNVS_UPDATE 0xea
|
||||||
|
|
||||||
void acpi_create_fadt(acpi_fadt_t * fadt, acpi_facs_t * facs, void *dsdt)
|
void acpi_create_fadt(acpi_fadt_t * fadt, acpi_facs_t * facs, void *dsdt)
|
||||||
{
|
{
|
||||||
|
|
|
@ -26,11 +26,11 @@
|
||||||
* code and the mainboard fadt.
|
* code and the mainboard fadt.
|
||||||
*/
|
*/
|
||||||
#define APM_CNT 0xb2
|
#define APM_CNT 0xb2
|
||||||
#define CST_CONTROL 0x85
|
#define CST_CONTROL 0x85
|
||||||
#define PST_CONTROL 0x80
|
#define PST_CONTROL 0x80
|
||||||
#define ACPI_DISABLE 0x1e
|
#define ACPI_DISABLE 0x1e
|
||||||
#define ACPI_ENABLE 0xe1
|
#define ACPI_ENABLE 0xe1
|
||||||
#define GNVS_UPDATE 0xea
|
#define GNVS_UPDATE 0xea
|
||||||
|
|
||||||
void acpi_create_fadt(acpi_fadt_t * fadt, acpi_facs_t * facs, void *dsdt)
|
void acpi_create_fadt(acpi_fadt_t * fadt, acpi_facs_t * facs, void *dsdt)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue