the following patch was just integrated into master:
commit 3677520fd9162d7447308ff5580313cca9e64a19
Author: Iru Cai <mytbk920423(a)gmail.com>
Date: Wed Mar 9 23:22:58 2016 +0800
arch/x86/smbios: fix length calculation for SMBIOS type 17
Different DIMM modules give different SMBIOS type 17 lengths, so we
can't use `meminfo->dimm_cnt*len' for entry struct size, otherwise
it'll give a wrong SMBIOS size when two or more different DIMMs are
installed on the machine.
Change-Id: I0e33853f6aa4b30da547eb433839a397d451a8cf
Signed-off-by: Iru Cai <mytbk920423(a)gmail.com>
Reviewed-on: https://review.coreboot.org/14008
Reviewed-by: Aaron Durbin <adurbin(a)chromium.org>
Tested-by: build bot (Jenkins)
See https://review.coreboot.org/14008 for details.
-gerrit
the following patch was just integrated into master:
commit f2e0461d8970d4690297dc9e40ee4f6d91e5a0c6
Author: Martin Roth <martinroth(a)google.com>
Date: Wed Mar 9 15:50:23 2016 -0700
Kconfig: remove COMPRESS_PRERAM_STAGES option from x86
Instead of just defaulting to disabled, remove the option for
x86 since it doesn't work there.
Change-Id: I2b84b9f866f9231943e573b873c970f420c7c9a5
Signed-off-by: Martin Roth <martinroth(a)google.com>
Reviewed-on: https://review.coreboot.org/14017
Reviewed-by: Stefan Reinauer <stefan.reinauer(a)coreboot.org>
Reviewed-by: Paul Menzel <paulepanter(a)users.sourceforge.net>
Tested-by: build bot (Jenkins)
See https://review.coreboot.org/14017 for details.
-gerrit
Zheng Bao (zheng.bao(a)amd.com) just uploaded a new patch set to gerrit, which you can find at https://review.coreboot.org/14036
-gerrit
commit 2a20f0962fb2993a149abf2b63c95907c6ebf5e8
Author: zbao <fishbaozi(a)gmail.com>
Date: Fri Mar 11 18:00:21 2016 +0800
top/Makefile.inc: Give BUILD_TIMELESS a default value
The genbuild_h.sh can not get the definition in Makefile
and the BUILD_TIMELESS in script is empty, unless it is
pre-defined.
GEN build.h
util/genbuild_h/genbuild_h.sh: 27: [: Illegal number:
Change-Id: I2009bf26e9d3d5bb74ba4cb5883aa7f975e71832
Signed-off-by: Zheng Bao <fishbaozi(a)gmail.com>
---
Makefile.inc | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/Makefile.inc b/Makefile.inc
index a07f92a..7979193 100644
--- a/Makefile.inc
+++ b/Makefile.inc
@@ -30,6 +30,7 @@ export KERNELVERSION := $(strip $(if $(GIT),\
$(if $(wildcard $(top)/.coreboot-version),\
$(shell cat $(top)/.coreboot-version),\
coreboot-unknown$(KERNELREVISION))))
+BUILD_TIMELESS=0
endif
#######################################################################
@@ -360,7 +361,7 @@ additional-dirs := $(objutil)/cbfstool $(objutil)/romcc $(objutil)/ifdtool \
$(obj)/build.h: .xcompile
@printf " GEN build.h\n"
rm -f $(obj)/build.h
- util/genbuild_h/genbuild_h.sh > $(obj)/build.ht
+ BUILD_TIMELESS=$(BUILD_TIMELESS) util/genbuild_h/genbuild_h.sh > $(obj)/build.ht
mv $(obj)/build.ht $(obj)/build.h
build-dirs:
the following patch was just integrated into master:
commit 447d9489a21aad3dda400aa519eaeaafed25573f
Author: Andrey Petrov <andrey.petrov(a)intel.com>
Date: Thu Mar 10 22:14:41 2016 -0800
cbmem: Fix cbmem_add_bootmem()
Change 13363 (555d6c2) introduced a bug where cbmem_add_bootmem() was
converted to use a new function. Unfortunately instead of passing a
pointer, NULL was passed due to type confusion. This change fixes that
problem by passing address of stack variable instead of NULL.
Change-Id: Ib8e1add3547cda01f71bf1dea14d3e58bdd99730
Signed-off-by: Andrey Petrov <andrey.petrov(a)intel.com>
Reviewed-on: https://review.coreboot.org/14033
Reviewed-by: Aaron Durbin <adurbin(a)chromium.org>
Tested-by: build bot (Jenkins)
Reviewed-by: Paul Menzel <paulepanter(a)users.sourceforge.net>
Tested-by: Raptor Engineering Automated Test Stand <noreply(a)raptorengineeringinc.com>
See https://review.coreboot.org/14033 for details.
-gerrit
Jonathan Neuschäfer just uploaded a new patch set to gerrit, which you can find at https://review.coreboot.org/14034
-gerrit
commit 2b5d2a09987dfb78f8c702fa796dc4865bab038b
Author: Jonathan Neuschäfer <j.neuschaefer(a)gmx.net>
Date: Fri Mar 11 08:50:07 2016 +0100
coreinfo: Use numbers instead of letters to switch between pages
In my opinion, the number keys (1234) are easier to use than the keys ABCD,
because they're next to each other.
Change-Id: I55bcc84d82b796311039963986216198ce37d5ee
Signed-off-by: Jonathan Neuschäfer <j.neuschaefer(a)gmx.net>
---
payloads/coreinfo/coreinfo.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/payloads/coreinfo/coreinfo.c b/payloads/coreinfo/coreinfo.c
index 41b5f12..37c840b 100644
--- a/payloads/coreinfo/coreinfo.c
+++ b/payloads/coreinfo/coreinfo.c
@@ -108,7 +108,7 @@ static void print_submenu(struct coreinfo_cat *cat)
return;
for (i = 0; i < cat->count; i++)
- ptr += sprintf(ptr, "[%c: %s] ", 'A' + i,
+ ptr += sprintf(ptr, "[%c: %s] ", '1' + i,
cat->modules[i]->name);
mvwprintw(menuwin, 0, 0, menu);
@@ -198,8 +198,8 @@ static void redraw_module(struct coreinfo_cat *cat)
static void handle_category_key(struct coreinfo_cat *cat, int key)
{
- if (key >= 'a' && key <= 'z') {
- int index = key - 'a';
+ if (key >= '1' && key <= '9') {
+ int index = key - '1';
if (index < cat->count) {
cat->cur = index;
redraw_module(cat);
Andrey Petrov (andrey.petrov(a)intel.com) just uploaded a new patch set to gerrit, which you can find at https://review.coreboot.org/14033
-gerrit
commit 71ea970f8dfe4e437318d9c478e5f1b2785bed49
Author: Andrey Petrov <andrey.petrov(a)intel.com>
Date: Thu Mar 10 22:14:41 2016 -0800
cbmem: Fix cbmem_add_bootmem()
Change 13363 (555d6c2) introduced a bug where cbmem_add_bootmem() was
converted to use a new function. Unfortunately instead of passing a
pointer, NULL was passed due to type confusion. This change fixes that
problem by passing address of stack variable instead of NULL.
Change-Id: Ib8e1add3547cda01f71bf1dea14d3e58bdd99730
Signed-off-by: Andrey Petrov <andrey.petrov(a)intel.com>
---
src/lib/imd_cbmem.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/lib/imd_cbmem.c b/src/lib/imd_cbmem.c
index e75c538..a078071 100644
--- a/src/lib/imd_cbmem.c
+++ b/src/lib/imd_cbmem.c
@@ -272,11 +272,11 @@ void cbmem_region_used(uintptr_t *base, size_t *size)
void cbmem_add_bootmem(void)
{
- void *base = NULL;
+ uintptr_t base = 0;
size_t size = 0;
- cbmem_region_used(base, &size);
- bootmem_add_range((uintptr_t)base, size, LB_MEM_TABLE);
+ cbmem_region_used(&base, &size);
+ bootmem_add_range(base, size, LB_MEM_TABLE);
}
#if ENV_RAMSTAGE
Andrey Petrov (andrey.petrov(a)intel.com) just uploaded a new patch set to gerrit, which you can find at https://review.coreboot.org/14033
-gerrit
commit 27514b6d761d209a6fac8a0a538888727c83ff35
Author: Andrey Petrov <andrey.petrov(a)intel.com>
Date: Thu Mar 10 22:14:41 2016 -0800
cbmem: Fix cbmem_add_bootmem()
Change 13363 (555d6c2) introduced a bug where cbmem_add_bootmem() was
converted to use a new function. Unfortunately instead of passing a
pointer NULL was passed due to type confusion. This change fixes that
problem by passing address of stack variable rather than NULL.
Change-Id: Ib8e1add3547cda01f71bf1dea14d3e58bdd99730
Signed-off-by: Andrey Petrov <andrey.petrov(a)intel.com>
---
src/lib/imd_cbmem.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/lib/imd_cbmem.c b/src/lib/imd_cbmem.c
index e75c538..a078071 100644
--- a/src/lib/imd_cbmem.c
+++ b/src/lib/imd_cbmem.c
@@ -272,11 +272,11 @@ void cbmem_region_used(uintptr_t *base, size_t *size)
void cbmem_add_bootmem(void)
{
- void *base = NULL;
+ uintptr_t base = 0;
size_t size = 0;
- cbmem_region_used(base, &size);
- bootmem_add_range((uintptr_t)base, size, LB_MEM_TABLE);
+ cbmem_region_used(&base, &size);
+ bootmem_add_range(base, size, LB_MEM_TABLE);
}
#if ENV_RAMSTAGE