Stefan Reinauer (stefan.reinauer(a)coreboot.org) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/1053
-gerrit
commit 88a1ccfa55bad83429c09acdb3cb6e2aa84cb03e
Author: Stefan Reinauer <reinauer(a)chromium.org>
Date: Thu May 24 13:36:30 2012 -0700
nvramtool: use C99 PRIx64 / PRId64 for uint64_t variables
In printf/printk, using %lld or %ld for uint64_t will warn on either
64bit or 32bit machines. However, C99 defines PRIx64 / PRId64 to
provide the right modifiers for printing uint64_t variables. Use them
instead.
Change-Id: I68df5d069a1e99d1a75885173ddfd7815197afea
Signed-off-by: Stefan Reinauer <reinauer(a)google.com>
---
util/nvramtool/lbtable.c | 10 ++++++----
1 files changed, 6 insertions(+), 4 deletions(-)
diff --git a/util/nvramtool/lbtable.c b/util/nvramtool/lbtable.c
index 71c3244..83597e4 100644
--- a/util/nvramtool/lbtable.c
+++ b/util/nvramtool/lbtable.c
@@ -29,6 +29,8 @@
* 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
\*****************************************************************************/
+#include <stdint.h>
+#include <inttypes.h>
#include <arpa/inet.h>
#include <string.h>
#include <sys/mman.h>
@@ -655,10 +657,10 @@ static void memory_print_fn(const struct lb_record *rec)
start = unpack_lb64(ranges[i].start);
end = start + size - 1;
printf("%s memory:\n"
- " from physical addresses 0x%016llx to 0x%016llx\n"
- " size is 0x%016llx bytes (%lld in decimal)\n",
- mem_type, start, end, size,
- (unsigned long long)size);
+ " from physical addresses 0x%016" PRIx64
+ " to 0x%016" PRIx64 "\n size is 0x%016" PRIx64
+ " bytes (%" PRId64 " in decimal)\n",
+ mem_type, start, end, size, size);
if (++i >= entries)
break;
Stefan Reinauer (stefan.reinauer(a)coreboot.org) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/1040
-gerrit
commit c960958a82b43dc4401d8f300e0d90daefc9341f
Author: Stefan Reinauer <reinauer(a)chromium.org>
Date: Mon May 14 13:21:08 2012 -0700
Fix size_t for certain versions of GCC
When compiling coreboot with the latest ChromeOS toolchain, GCC
complains that some printk calls use %zu in connection with size_t
types since it resolves the typedefs to long unsigned int.
The problem is solved by using the GCC built-in __SIZE_TYPE__ if it
exists and define __SIZE_TYPE__ to long unsigned int otherwise.
Change-Id: I449c3d385b5633a05e57204704e981de6e017b86
Signed-off-by: Stefan Reinauer <reinauer(a)google.com>
---
src/arch/x86/include/stddef.h | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/src/arch/x86/include/stddef.h b/src/arch/x86/include/stddef.h
index e4fc019..a6c3fc6 100644
--- a/src/arch/x86/include/stddef.h
+++ b/src/arch/x86/include/stddef.h
@@ -2,7 +2,10 @@
#define I386_STDDEF_H
typedef long ptrdiff_t;
-typedef unsigned long size_t;
+#ifndef __SIZE_TYPE__
+#define __SIZE_TYPE__ unsigned long
+#endif
+typedef __SIZE_TYPE__ size_t;
typedef long ssize_t;
typedef int wchar_t;
the following patch was just integrated into master:
commit b972fecf8b37384fa75de7e5d1e33827fce8b675
Author: Stefan Reinauer <reinauer(a)chromium.org>
Date: Fri May 11 15:53:43 2012 -0700
Add EM100 mode to Intel Firmware Descriptor tool
To avoid having two copies for every firmware descriptor (one for
EM100 use and one for real SPI flash use), add an EM100 mode to
ifdtool that allows to "dumb down" a fast image to the settings
required for the EM100 to work.
Change-Id: I0ed989f0a49316bc63d8627cb5d4bd988ae7a103
Signed-off-by: Stefan Reinauer <reinauer(a)google.com>
Build-Tested: build bot (Jenkins) at Thu May 24 10:41:49 2012, giving +1
See http://review.coreboot.org/1039 for details.
-gerrit
the following patch was just integrated into master:
commit 813532b8352bd643fb507c472d518fafebf1edfe
Author: Stefan Reinauer <reinauer(a)chromium.org>
Date: Fri May 11 12:58:11 2012 -0700
chromeos: Fix compilation of coreboot-utils package
The ChromeOS build system provides a set of CXXFLAGS, however those do
not contain -DCOMPACT. This breaks the compilation of cbfstool in
coreboot-utils.
This fix overrides CXXFLAGS so that coreboot-utils compiles again.
Change-Id: If9495bdd815fe2cdaeba5386afa953558742467b
Signed-off-by: Stefan Reinauer <reinauer(a)google.com>
Build-Tested: build bot (Jenkins) at Thu May 24 10:27:35 2012, giving +1
See http://review.coreboot.org/1038 for details.
-gerrit
the following patch was just integrated into master:
commit cb5e566eb996dac15b34d56dc4982d8c094260ac
Author: Steve Goodrich <steve.goodrich(a)se-eng.com>
Date: Fri May 18 11:18:47 2012 -0600
Converted the FRAMEBUFFER_VESA_MODE to a choice.
Being a diligent soul, I changed the "enter a numeric value for the
mode you want" option to a choice of common modes. New modes can be
added quite easily.
Change-Id: I8cf4572c2d36ced6549541ec173c0c02d8eaca4a
Signed-off-by: Steve Goodrich <steve.goodrich(a)se-eng.com>
See http://review.coreboot.org/1036 for details.
-gerrit
the following patch was just integrated into master:
commit b071aa230fe252af638aed7d0bfc979cb914b93e
Author: Patrick Georgi <patrick(a)georgi-clan.de>
Date: Mon May 21 20:10:04 2012 +0200
abuild: Disable abuild-level parallelism for now
It still failed because make touches files it isn't
supposed to touch.
Change-Id: I5a6ceaa9d5da212c1e34b121cf39fa9d27964747
Signed-off-by: Patrick Georgi <patrick(a)georgi-clan.de>
Reviewed-By: Patrick Georgi <patrick(a)georgi-clan.de> at Thu May 24 18:09:17 2012, giving +2
See http://review.coreboot.org/1037 for details.
-gerrit
the following patch was just integrated into master:
commit 6cf94dfec7b4ac5cdb3716ae45726a5fa8ea0235
Author: Vikram Narayanan <vikram186(a)gmail.com>
Date: Sat Apr 21 23:47:56 2012 +0530
cbtypes.h: Unify cbtypes.h used in AMD board's code
Remove all the repeated sections of code in cbtypes.h and place it
in a common location. Add include dir in vendor code's Makefile.
Change-Id: Ida92c2a7a88e9520b84b0dcbbf37cd5c9f63f798
Signed-off-by: Vikram Narayanan <vikram186(a)gmail.com>
Build-Tested: build bot (Jenkins) at Thu Apr 26 18:54:23 2012, giving +1
Reviewed-By: Marc Jones <marcj303(a)gmail.com> at Thu May 24 17:38:41 2012, giving +2
See http://review.coreboot.org/912 for details.
-gerrit