diff options
author | Stefan Reinauer <reinauer@chromium.org> | 2013-03-20 14:08:04 -0700 |
---|---|---|
committer | Stefan Reinauer <stefan.reinauer@coreboot.org> | 2013-03-22 00:17:55 +0100 |
commit | 3e4e3038584fb2055c482fd346bb821b3d6236fc (patch) | |
tree | 6de73a59507af4ce7986f68918d97a080ddb8453 /src/mainboard/google | |
parent | 93a6665e0cf29971b92550ff020b8c2f67c17202 (diff) |
Unify coreboot table generation
coreboot tables are, unlike general system tables, a platform
independent concept. Hence, use the same code for coreboot table
generation on all platforms. lib/coreboot_tables.c is based
on the x86 version of the file, because some important fixes
were missed on the ARMv7 version lately.
Change-Id: Icc38baf609f10536a320d21ac64408bef44bb77d
Signed-off-by: Stefan Reinauer <reinauer@coreboot.org>
Reviewed-on: http://review.coreboot.org/2863
Reviewed-by: Ronald G. Minnich <rminnich@gmail.com>
Reviewed-by: Aaron Durbin <adurbin@google.com>
Tested-by: build bot (Jenkins)
Diffstat (limited to 'src/mainboard/google')
-rw-r--r-- | src/mainboard/google/butterfly/chromeos.c | 1 | ||||
-rw-r--r-- | src/mainboard/google/butterfly/mainboard.c | 2 | ||||
-rw-r--r-- | src/mainboard/google/link/chromeos.c | 1 | ||||
-rw-r--r-- | src/mainboard/google/link/i915.c | 2 | ||||
-rw-r--r-- | src/mainboard/google/link/mainboard.c | 2 | ||||
-rw-r--r-- | src/mainboard/google/parrot/chromeos.c | 1 | ||||
-rw-r--r-- | src/mainboard/google/parrot/mainboard.c | 2 | ||||
-rw-r--r-- | src/mainboard/google/snow/chromeos.c | 1 | ||||
-rw-r--r-- | src/mainboard/google/stout/chromeos.c | 1 | ||||
-rw-r--r-- | src/mainboard/google/stout/i915.c | 2 | ||||
-rw-r--r-- | src/mainboard/google/stout/mainboard.c | 2 |
11 files changed, 6 insertions, 11 deletions
diff --git a/src/mainboard/google/butterfly/chromeos.c b/src/mainboard/google/butterfly/chromeos.c index 9821a2fa3a..b5a645fb24 100644 --- a/src/mainboard/google/butterfly/chromeos.c +++ b/src/mainboard/google/butterfly/chromeos.c @@ -40,7 +40,6 @@ int get_pch_gpio(unsigned char gpio_num); #ifndef __PRE_RAM__ #include <boot/coreboot_tables.h> -#include <arch/coreboot_tables.h> #define GPIO_COUNT 6 diff --git a/src/mainboard/google/butterfly/mainboard.c b/src/mainboard/google/butterfly/mainboard.c index beda107047..a1d912643d 100644 --- a/src/mainboard/google/butterfly/mainboard.c +++ b/src/mainboard/google/butterfly/mainboard.c @@ -31,7 +31,7 @@ #include <arch/acpi.h> #include <arch/io.h> #include <arch/interrupt.h> -#include <arch/coreboot_tables.h> +#include <boot/coreboot_tables.h> #include "hda_verb.h" #include "onboard.h" #include "ec.h" diff --git a/src/mainboard/google/link/chromeos.c b/src/mainboard/google/link/chromeos.c index 4ab5017f52..17a4b18e6a 100644 --- a/src/mainboard/google/link/chromeos.c +++ b/src/mainboard/google/link/chromeos.c @@ -28,7 +28,6 @@ #ifndef __PRE_RAM__ #include <boot/coreboot_tables.h> -#include <arch/coreboot_tables.h> #define GPIO_COUNT 6 #define ACTIVE_LOW 0 diff --git a/src/mainboard/google/link/i915.c b/src/mainboard/google/link/i915.c index 810f0757a4..ec959ab2fc 100644 --- a/src/mainboard/google/link/i915.c +++ b/src/mainboard/google/link/i915.c @@ -30,7 +30,7 @@ #include <arch/acpi.h> #include <arch/io.h> #include <arch/interrupt.h> -#include <arch/coreboot_tables.h> +#include <boot/coreboot_tables.h> #include "hda_verb.h" #include "onboard.h" #include "ec.h" diff --git a/src/mainboard/google/link/mainboard.c b/src/mainboard/google/link/mainboard.c index e40ce5250a..f0afd817ec 100644 --- a/src/mainboard/google/link/mainboard.c +++ b/src/mainboard/google/link/mainboard.c @@ -32,7 +32,7 @@ #include <arch/acpi.h> #include <arch/io.h> #include <arch/interrupt.h> -#include <arch/coreboot_tables.h> +#include <boot/coreboot_tables.h> #include "hda_verb.h" #include "onboard.h" #include "ec.h" diff --git a/src/mainboard/google/parrot/chromeos.c b/src/mainboard/google/parrot/chromeos.c index 5e4549d52f..8a647dcfb5 100644 --- a/src/mainboard/google/parrot/chromeos.c +++ b/src/mainboard/google/parrot/chromeos.c @@ -33,7 +33,6 @@ #ifndef __PRE_RAM__ #include <boot/coreboot_tables.h> -#include <arch/coreboot_tables.h> #define GPIO_COUNT 6 diff --git a/src/mainboard/google/parrot/mainboard.c b/src/mainboard/google/parrot/mainboard.c index 4c2618da03..38227235de 100644 --- a/src/mainboard/google/parrot/mainboard.c +++ b/src/mainboard/google/parrot/mainboard.c @@ -31,7 +31,7 @@ #include <arch/acpi.h> #include <arch/io.h> #include <arch/interrupt.h> -#include <arch/coreboot_tables.h> +#include <boot/coreboot_tables.h> #include "hda_verb.h" #include "onboard.h" #include "ec.h" diff --git a/src/mainboard/google/snow/chromeos.c b/src/mainboard/google/snow/chromeos.c index 1a9824407e..d29aa2a72c 100644 --- a/src/mainboard/google/snow/chromeos.c +++ b/src/mainboard/google/snow/chromeos.c @@ -38,7 +38,6 @@ #define POWER_BUTTON 3 #include <boot/coreboot_tables.h> -#include <arch/coreboot_tables.h> #define GPIO_COUNT 6 diff --git a/src/mainboard/google/stout/chromeos.c b/src/mainboard/google/stout/chromeos.c index 8c8f3480ad..7a861ec191 100644 --- a/src/mainboard/google/stout/chromeos.c +++ b/src/mainboard/google/stout/chromeos.c @@ -30,7 +30,6 @@ #ifndef __PRE_RAM__ #include <boot/coreboot_tables.h> -#include <arch/coreboot_tables.h> #define GPIO_COUNT 7 #define ACTIVE_LOW 0 diff --git a/src/mainboard/google/stout/i915.c b/src/mainboard/google/stout/i915.c index 309d18c35f..89a8594e54 100644 --- a/src/mainboard/google/stout/i915.c +++ b/src/mainboard/google/stout/i915.c @@ -13,7 +13,7 @@ #include <arch/acpi.h> #include <arch/io.h> #include <arch/interrupt.h> -#include <arch/coreboot_tables.h> +#include <boot/coreboot_tables.h> #include "hda_verb.h" #include "onboard.h" #include "ec.h" diff --git a/src/mainboard/google/stout/mainboard.c b/src/mainboard/google/stout/mainboard.c index f28c920fc1..4af0ff5cf3 100644 --- a/src/mainboard/google/stout/mainboard.c +++ b/src/mainboard/google/stout/mainboard.c @@ -31,7 +31,7 @@ #include <arch/acpi.h> #include <arch/io.h> #include <arch/interrupt.h> -#include <arch/coreboot_tables.h> +#include <boot/coreboot_tables.h> #include "hda_verb.h" #include "onboard.h" #include "ec.h" |