the following patch was just integrated into master:
commit 909b916e56dcbb9e4fa1334055cea998b03d99b4
Author: Stefan Reinauer <stefan.reinauer(a)coreboot.org>
Date: Wed Jul 1 11:31:40 2015 -0700
libpayload: Keep stack boundary small on x86
There is no measurable performance impact, but
this positively impacts the memory used by payloads.
Change-Id: Ib2bdba4a7bf2a4c2391a20b3225bbb44422d3194
Signed-off-by: Stefan Reinauer <stefan.reinauer(a)coreboot.org>
Reviewed-on: http://review.coreboot.org/10751
Tested-by: build bot (Jenkins)
Reviewed-by: Patrick Georgi <pgeorgi(a)google.com>
See http://review.coreboot.org/10751 for details.
-gerrit
Stefan Reinauer (stefan.reinauer(a)coreboot.org) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/10755
-gerrit
commit c94733c6f3e9af765f3128d58029ec9a0ab5607f
Author: Stefan Reinauer <stefan.reinauer(a)coreboot.org>
Date: Wed Jul 1 11:48:57 2015 -0700
libpayload: Fix compilation on ARM with GDB enabled
Without this, gdb_enter() is not defined.
Change-Id: I067dce371ee817d6ac77387fcbe42a9a7deb6438
Signed-off-by: Stefan Reinauer <stefan.reinauer(a)coreboot.org>
---
payloads/libpayload/arch/arm/virtual.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/payloads/libpayload/arch/arm/virtual.c b/payloads/libpayload/arch/arm/virtual.c
index 0d53e50..acca057 100644
--- a/payloads/libpayload/arch/arm/virtual.c
+++ b/payloads/libpayload/arch/arm/virtual.c
@@ -27,6 +27,7 @@
* SUCH DAMAGE.
*/
+#include <libpayload.h>
#include <assert.h>
#include <die.h>
#include <stdlib.h>
Patrick Georgi (pgeorgi(a)google.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/10754
-gerrit
commit 5c178567ec3ac95a70851b10d4bbdda26e4fb30b
Author: Patrick Georgi <pgeorgi(a)chromium.org>
Date: Wed Jul 1 20:30:56 2015 +0200
linker scripts: Fix symbol handling for pre-RAM cbmem console
Some ld versions (eg. the one used in the chromium build system) mis-handled
the redefined symbol in romstage.ld, so use the feature that exists for
precisely that purpose.
Change-Id: I184310ab20a02f6b3d569798448eac78b13e88a3
Signed-off-by: Patrick Georgi <pgeorgi(a)chromium.org>
---
src/lib/romstage.ld | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/lib/romstage.ld b/src/lib/romstage.ld
index 7d552a7..ba154ef 100644
--- a/src/lib/romstage.ld
+++ b/src/lib/romstage.ld
@@ -37,8 +37,8 @@
*(.rodata.*);
*(.data);
*(.data.*);
- _preram_cbmem_console = DEFINED(_preram_cbmem_console) ? _preram_cbmem_console : 0;
- _epreram_cbmem_console = DEFINED(_epreram_cbmem_console) ? _epreram_cbmem_console : 0;
+ PROVIDE(_preram_cbmem_console = .);
+ PROVIDE(_epreram_cbmem_console = _preram_cbmem_console);
. = ALIGN(8);
}
Patrick Georgi (pgeorgi(a)google.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/10752
-gerrit
commit dd35057935e1c95cba18110a45f8a6f6eab2f48e
Author: Patrick Georgi <pgeorgi(a)chromium.org>
Date: Wed Jul 1 20:22:39 2015 +0200
nvidia/tegra210: Drop unused Kconfig symbol
The deleted symbols aren't used anywhere in the coreboot tree and come from
the downstream chromeos-2013.04 branch.
Change-Id: I0ebc2936dff400cf8fe68794c86ac583aba2a14b
Signed-off-by: Patrick Georgi <pgeorgi(a)chromium.org>
---
src/soc/nvidia/tegra210/Kconfig | 3 ---
1 file changed, 3 deletions(-)
diff --git a/src/soc/nvidia/tegra210/Kconfig b/src/soc/nvidia/tegra210/Kconfig
index 257345e..b0f3a02 100644
--- a/src/soc/nvidia/tegra210/Kconfig
+++ b/src/soc/nvidia/tegra210/Kconfig
@@ -13,10 +13,7 @@ config SOC_NVIDIA_TEGRA210
select GENERIC_UDELAY
select HAVE_HARD_RESET
select HAVE_UART_SPECIAL
- select HAVE_UART_MEMORY_MAPPED
- select EARLY_CONSOLE
select ARM_BOOTBLOCK_CUSTOM
- select DYNAMIC_CBMEM
select ARM64_USE_ARM_TRUSTED_FIRMWARE
select HAS_PRECBMEM_TIMESTAMP_REGION
select CHROMEOS_RAMOOPS_NON_ACPI
Stefan Reinauer (stefan.reinauer(a)coreboot.org) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/10751
-gerrit
commit 97f444010dfc8f239606f9a0d6bfea1ad7677299
Author: Stefan Reinauer <stefan.reinauer(a)coreboot.org>
Date: Wed Jul 1 11:31:40 2015 -0700
libpayload: Keep stack boundary small on x86
There is no measurable performance impact, but
this positively impacts the memory used by payloads.
Change-Id: Ib2bdba4a7bf2a4c2391a20b3225bbb44422d3194
Signed-off-by: Stefan Reinauer <stefan.reinauer(a)coreboot.org>
---
payloads/libpayload/arch/x86/Makefile.inc | 2 ++
1 file changed, 2 insertions(+)
diff --git a/payloads/libpayload/arch/x86/Makefile.inc b/payloads/libpayload/arch/x86/Makefile.inc
index 87b3e9e..6517bf1 100644
--- a/payloads/libpayload/arch/x86/Makefile.inc
+++ b/payloads/libpayload/arch/x86/Makefile.inc
@@ -27,6 +27,8 @@
## SUCH DAMAGE.
##
+CFLAGS += -mpreferred-stack-boundary=2
+
head.o-y += head.S
libc-y += main.c sysinfo.c
libc-y += timer.c coreboot.c util.S
Stefan Reinauer (stefan.reinauer(a)coreboot.org) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/10750
-gerrit
commit 8bf54f4578ecb431f75aa6e49e848da57007037a
Author: Stefan Reinauer <stefan.reinauer(a)coreboot.org>
Date: Wed Jul 1 11:30:03 2015 -0700
libpayload: always compile with -ffunction-sections
This does not hurt, and it allows the linker to produce much
smaller binaries in some circumstances.
Change-Id: Ibf9f24c210d6d2ed40451b4cf0d68ce88220bc5f
Signed-off-by: Stefan Reinauer <stefan.reinauer(a)coreboot.org>
---
payloads/libpayload/Makefile.inc | 1 +
1 file changed, 1 insertion(+)
diff --git a/payloads/libpayload/Makefile.inc b/payloads/libpayload/Makefile.inc
index a3094aa..9b182b6 100644
--- a/payloads/libpayload/Makefile.inc
+++ b/payloads/libpayload/Makefile.inc
@@ -59,6 +59,7 @@ INCLUDES := -Iinclude -Iinclude/$(ARCHDIR-y) -I$(obj) -include include/kconfig.h
CFLAGS = $(EXTRA_CFLAGS) $(INCLUDES) -Os -pipe -nostdinc -ggdb3
CFLAGS += -nostdlib -fno-builtin -ffreestanding -fomit-frame-pointer
+CFLAGS += -ffunction-sections
CFLAGS += -Wall -Wundef -Wstrict-prototypes -Wmissing-prototypes
CFLAGS += -Wwrite-strings -Wredundant-decls -Wno-trigraphs
CFLAGS += -Wstrict-aliasing -Wshadow -Werror
the following patch was just integrated into master:
commit d0ed7eef7413cc753b03e2cfba36ef9208491d71
Author: Stefan Reinauer <stefan.reinauer(a)coreboot.org>
Date: Wed Jul 1 10:40:08 2015 -0700
tegra210: Include correct include files
Some include files were unnecessary, and program_loading.h
was missing.
Change-Id: Ief3d970af5fbbb6b79da06ba3ea1d8613bfc314f
Signed-off-by: Stefan Reinauer <stefan.reinauer(a)coreboot.org>
Reviewed-on: http://review.coreboot.org/10749
Reviewed-by: Marc Jones <marc.jones(a)se-eng.com>
Tested-by: build bot (Jenkins)
See http://review.coreboot.org/10749 for details.
-gerrit