[coreboot] New patch to review for coreboot: 9c292cd Undo bootblock renaming in sconfig
Kyösti Mälkki (kyosti.malkki@gmail.com)
gerrit at coreboot.org
Sat Mar 17 10:11:49 CET 2012
Kyösti Mälkki (kyosti.malkki at gmail.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/799
-gerrit
commit 9c292cd1e75804fc75904f30529da3a34707f11c
Author: Kyösti Mälkki <kyosti.malkki at gmail.com>
Date: Fri Mar 16 18:12:33 2012 +0200
Undo bootblock renaming in sconfig
Change-Id: Iae26be8cefe7db11eeb8e62fce6f3b8bc9c1f4ed
Signed-off-by: Kyösti Mälkki <kyosti.malkki at gmail.com>
---
util/sconfig/main.c | 7 +++++++
1 files changed, 7 insertions(+), 0 deletions(-)
diff --git a/util/sconfig/main.c b/util/sconfig/main.c
index 181be38..a55db26 100644
--- a/util/sconfig/main.c
+++ b/util/sconfig/main.c
@@ -581,7 +581,14 @@ int main(int argc, char** argv) {
while (h->next) {
h = h->next;
translate_name(h->name, 0);
+#if 0
fprintf(autogen, "\tinit_%s();\n", h->name);
+#else
+ char *s = h->name;
+ while (*s && (*s != '_')) s++;
+ *s = 0;
+ fprintf(autogen, "\tbootblock_%s_init();\n", h->name);
+#endif
}
fprintf(autogen, "\treturn 0;\n}\n");
More information about the coreboot
mailing list