Aaron Durbin (adurbin(a)google.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/8943
-gerrit
commit e9ee9f0f0180222dbe0c0fdc9d73469b9b4f7bb1
Author: Aaron Durbin <adurbin(a)chromium.org>
Date: Tue Mar 24 09:20:45 2015 -0500
coreboot: differentiate on early reliable writable globals
There is a big difference between the boards supported in coreboot
and the properties they provide within each stage during the bootflow.
The leads to core infrastructure relying on supporting the least
common denominator when writing APIs.
Therefore, provide PLATFORM_HAS_EARLY_WRITABLE_GLOBALS which indicates
that the platform has reliable writable global variables in the early
stages of boot. For x86 that would be romstage, and for the other
architetures which have SRAM it would encompass bootblock and romstage.
Change-Id: I2cefeaee0551ee241e138fcee0d199679002c3be
Signed-off-by: Aaron Durbin <adurbin(a)chromium.org>
---
src/Kconfig | 19 +++++++++++++++++++
1 file changed, 19 insertions(+)
diff --git a/src/Kconfig b/src/Kconfig
index 7aee478..2625266 100644
--- a/src/Kconfig
+++ b/src/Kconfig
@@ -293,6 +293,25 @@ config SYSTEM_TYPE_LAPTOP
default n
bool
+config PLATFORM_HAS_EARLY_WRITABLE_GLOBALS
+ bool
+ default y if !ARCH_X86
+ help
+ This option signals to the rest of the infrastructure that
+ the platform supports writable globals in bootblock and
+ romstage. Fox traditional x86 systems without any SRAM this
+ would mean cache-as-ram globals are migrated correctly from
+ the CAR area once memory is trained. After the migration the
+ variables are accessible using the CAR API. This behavior
+ puts such x86 systems on par with ARM and MIPS systems.
+
+config PLATFORM_NO_EARLY_WRITABLE_GLOBALS
+ bool
+ default y if !PLATFORM_HAS_EARLY_WRITABLE_GLOBALS
+ help
+ This is just the opposite of PLATFORM_HAS_EARLY_WRITABLE_GLOBALS
+ to enable cleaner Makefiles.
+
menu "Chipset"
comment "CPU"
Patrick Georgi (pgeorgi(a)google.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/9146
-gerrit
commit 0dd1bb911b467d57cb83c4aac6f013a1a5189659
Author: Patrick Georgi <pgeorgi(a)google.com>
Date: Sat Mar 28 15:49:46 2015 +0100
build system: mips is a valid nickname for mipsel
Change-Id: I5829a96cbb0af0398113efbdf34dfa3d102bf4c8
Signed-off-by: Patrick Georgi <pgeorgi(a)google.com>
---
util/xcompile/xcompile | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/util/xcompile/xcompile b/util/xcompile/xcompile
index fc221b1..5809ec0 100755
--- a/util/xcompile/xcompile
+++ b/util/xcompile/xcompile
@@ -209,10 +209,11 @@ arch_config_x86() {
}
arch_config_mipsel() {
- TARCH="mipsel"
+ TARCH="mips"
TBFDARCHS="tradlittlemips littlemips"
TCLIST="mipsel"
TWIDTH="32"
+ TSUPP="mips mipsel"
TABI="elf"
}
Patrick Georgi (pgeorgi(a)google.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/9146
-gerrit
commit 9a9ca63c0c082870b2a11604c81dfc534e65a986
Author: Patrick Georgi <pgeorgi(a)google.com>
Date: Sat Mar 28 15:49:46 2015 +0100
build system: mips is a valid nickname for mipsel
Change-Id: I5829a96cbb0af0398113efbdf34dfa3d102bf4c8
Signed-off-by: Patrick Georgi <pgeorgi(a)google.com>
---
util/xcompile/xcompile | 1 +
1 file changed, 1 insertion(+)
diff --git a/util/xcompile/xcompile b/util/xcompile/xcompile
index fc221b1..288f6f9 100755
--- a/util/xcompile/xcompile
+++ b/util/xcompile/xcompile
@@ -213,6 +213,7 @@ arch_config_mipsel() {
TBFDARCHS="tradlittlemips littlemips"
TCLIST="mipsel"
TWIDTH="32"
+ TSUPP="mips"
TABI="elf"
}
Patrick Georgi (pgeorgi(a)google.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/9145
-gerrit
commit a453f81d3e2207643215cff5aa5216de37a725be
Author: Patrick Georgi <patrick(a)georgi-clan.de>
Date: Sat Mar 28 15:48:47 2015 +0100
crossgcc: Fix calling outside util/crossgcc
Copy $0 contains the path, and we cd into that early.
Change-Id: If4124d16dea97b5eee4996bdfa3eae3d5d94c5d1
Signed-off-by: Patrick Georgi <patrick(a)georgi-clan.de>
---
util/crossgcc/buildgcc | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/util/crossgcc/buildgcc b/util/crossgcc/buildgcc
index fde8bc6..8bcaf2f 100755
--- a/util/crossgcc/buildgcc
+++ b/util/crossgcc/buildgcc
@@ -614,8 +614,9 @@ printf "Building IASL ${IASL_VERSION} ... "
) 2>&1 | wait_for_build "$IASL_DIR/source/compiler" || exit 1
fi
-rm -f $DESTDIR$TARGETDIR/$0.commit.*
-cp $0 $DESTDIR$TARGETDIR/"$0.commit.`git describe`"
+PROGNAME=`basename "$0"`
+rm -f "$DESTDIR$TARGETDIR/$PROGNAME".commit.*
+cp "$PROGNAME" $DESTDIR$TARGETDIR/"$PROGNAME.commit.`git describe`"
if [ $SAVETEMPS -eq 0 ]; then
printf "Cleaning up... "