[coreboot-gerrit] New patch to review for coreboot: 96f9c9f libpayload: adjust max number of memranges
Aaron Durbin (adurbin@google.com)
gerrit at coreboot.org
Tue Jan 28 03:56:15 CET 2014
Aaron Durbin (adurbin at google.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/4942
-gerrit
commit 96f9c9f27a7d1f37b3cc0540ed73b3b385cd1569
Author: Aaron Durbin <adurbin at chromium.org>
Date: Tue Nov 5 17:07:44 2013 -0600
libpayload: adjust max number of memranges
Rambi currently has more than 16 memory ranges. Because of
this libpayload is silently dropping them and the full amount
of memory is not being properly wiped. Correct this by bumping
the number of ranges to 32.
BUG=None
BRANCH=None
TEST=Built and booted rambi. Noted that the full amount of memory
was being properly wiped.
Change-Id: Ida456decf2498cb1547c0ceef23df446a975606b
Signed-off-by: Aaron Durbin <adurbin at chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/175792
Reviewed-by: Shawn Nematbakhsh <shawnn at chromium.org>
---
payloads/libpayload/include/sysinfo.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/payloads/libpayload/include/sysinfo.h b/payloads/libpayload/include/sysinfo.h
index fd60dc3..a66c1e7 100644
--- a/payloads/libpayload/include/sysinfo.h
+++ b/payloads/libpayload/include/sysinfo.h
@@ -30,8 +30,8 @@
#ifndef _SYSINFO_H
#define _SYSINFO_H
-/* Allow a maximum of 16 memory range definitions. */
-#define SYSINFO_MAX_MEM_RANGES 16
+/* Maximum number of memory range definitions. */
+#define SYSINFO_MAX_MEM_RANGES 32
/* Allow a maximum of 8 GPIOs */
#define SYSINFO_MAX_GPIOS 8
More information about the coreboot-gerrit
mailing list