summaryrefslogtreecommitdiff
path: root/src/arch
diff options
context:
space:
mode:
authorAaron Durbin <adurbin@chromium.org>2016-04-21 14:06:17 -0500
committerAaron Durbin <adurbin@chromium.org>2016-05-02 20:03:34 +0200
commita6e9051bc6843bb8f42df9c29cd254914ece93b4 (patch)
treea7ad973819f8c0388977b20034c94bc68eb95598 /src/arch
parenta2118a21c9e6a65bd90481f222cb436509b3e0bb (diff)
lib/coreboot_table: use the architecture dependent table size
Utilize the architecture dependent coreboot table size value from <arch/cbconfig.h> Change-Id: I80d51a5caf7c455b0b47c380e1d79cf522502a4c Signed-off-by: Aaron Durbin <adurbin@chromium.org> Reviewed-on: https://review.coreboot.org/14455 Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org> Tested-by: build bot (Jenkins)
Diffstat (limited to 'src/arch')
-rw-r--r--src/arch/arm/include/arch/cbconfig.h2
-rw-r--r--src/arch/arm64/include/arch/cbconfig.h2
-rw-r--r--src/arch/mips/include/arch/cbconfig.h2
-rw-r--r--src/arch/power8/include/arch/cbconfig.h2
-rw-r--r--src/arch/riscv/include/arch/cbconfig.h2
-rw-r--r--src/arch/x86/include/arch/cbconfig.h2
6 files changed, 12 insertions, 0 deletions
diff --git a/src/arch/arm/include/arch/cbconfig.h b/src/arch/arm/include/arch/cbconfig.h
index 7bf9452562..9467f52646 100644
--- a/src/arch/arm/include/arch/cbconfig.h
+++ b/src/arch/arm/include/arch/cbconfig.h
@@ -23,4 +23,6 @@
* to have the same name across all architectures.
*/
+#define COREBOOT_TABLE_SIZE 0x2000
+
#endif
diff --git a/src/arch/arm64/include/arch/cbconfig.h b/src/arch/arm64/include/arch/cbconfig.h
index 7bf9452562..9467f52646 100644
--- a/src/arch/arm64/include/arch/cbconfig.h
+++ b/src/arch/arm64/include/arch/cbconfig.h
@@ -23,4 +23,6 @@
* to have the same name across all architectures.
*/
+#define COREBOOT_TABLE_SIZE 0x2000
+
#endif
diff --git a/src/arch/mips/include/arch/cbconfig.h b/src/arch/mips/include/arch/cbconfig.h
index 7bf9452562..9467f52646 100644
--- a/src/arch/mips/include/arch/cbconfig.h
+++ b/src/arch/mips/include/arch/cbconfig.h
@@ -23,4 +23,6 @@
* to have the same name across all architectures.
*/
+#define COREBOOT_TABLE_SIZE 0x2000
+
#endif
diff --git a/src/arch/power8/include/arch/cbconfig.h b/src/arch/power8/include/arch/cbconfig.h
index 7bf9452562..9467f52646 100644
--- a/src/arch/power8/include/arch/cbconfig.h
+++ b/src/arch/power8/include/arch/cbconfig.h
@@ -23,4 +23,6 @@
* to have the same name across all architectures.
*/
+#define COREBOOT_TABLE_SIZE 0x2000
+
#endif
diff --git a/src/arch/riscv/include/arch/cbconfig.h b/src/arch/riscv/include/arch/cbconfig.h
index 7bf9452562..9467f52646 100644
--- a/src/arch/riscv/include/arch/cbconfig.h
+++ b/src/arch/riscv/include/arch/cbconfig.h
@@ -23,4 +23,6 @@
* to have the same name across all architectures.
*/
+#define COREBOOT_TABLE_SIZE 0x2000
+
#endif
diff --git a/src/arch/x86/include/arch/cbconfig.h b/src/arch/x86/include/arch/cbconfig.h
index 7bf9452562..78a5940c6a 100644
--- a/src/arch/x86/include/arch/cbconfig.h
+++ b/src/arch/x86/include/arch/cbconfig.h
@@ -23,4 +23,6 @@
* to have the same name across all architectures.
*/
+#define COREBOOT_TABLE_SIZE 0x8000
+
#endif