summaryrefslogtreecommitdiff
path: root/util/kconfig/mconf.c
diff options
context:
space:
mode:
authorPatrick Georgi <patrick@coreboot.org>2023-11-20 18:03:34 +0100
committerPatrick Georgi <patrick@coreboot.org>2023-11-24 16:50:00 +0000
commit7eab8ef8b720e8744eea3c6c771bccc217fbe5ed (patch)
tree77ad03dacd92b5544ffc2b66f8a37c782b83139d /util/kconfig/mconf.c
parent7f93aa491915b09a8d30b75d32dfa787b4d886f8 (diff)
util/kconfig: Uprev to Linux 6.2's kconfig
The upstream build system uses a newly introduced function `read-file`, so copy that in from Linux 6.2. TEST=`util/abuild/abuild -C` output (config.h and config.build) remains the same Change-Id: Ic100bf189ebd3eaa0eb26904ae8602910329a180 Signed-off-by: Patrick Georgi <patrick@coreboot.org> Reviewed-on: https://review.coreboot.org/c/coreboot/+/79179 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Martin L Roth <gaumless@gmail.com>
Diffstat (limited to 'util/kconfig/mconf.c')
-rw-r--r--util/kconfig/mconf.c11
1 files changed, 8 insertions, 3 deletions
diff --git a/util/kconfig/mconf.c b/util/kconfig/mconf.c
index bc11e7dfc3..97fe58719d 100644
--- a/util/kconfig/mconf.c
+++ b/util/kconfig/mconf.c
@@ -163,6 +163,12 @@ static const char mconf_readme[] =
"(especially with a larger number of unrolled categories) than the\n"
"default mode.\n"
"\n"
+
+"Search\n"
+"-------\n"
+"Pressing the forward-slash (/) anywhere brings up a search dialog box.\n"
+"\n"
+
"Different color themes available\n"
"--------------------------------\n"
"It is possible to select different color themes using the variable\n"
@@ -442,9 +448,8 @@ again:
res = get_relations_str(sym_arr, &head);
set_subtitle();
- dres = show_textbox_ext("Search Results", (char *)
- str_get(&res), 0, 0, keys, &vscroll,
- &hscroll, &update_text, (void *)
+ dres = show_textbox_ext("Search Results", str_get(&res), 0, 0,
+ keys, &vscroll, &hscroll, &update_text,
&data);
again = false;
for (i = 0; i < JUMP_NB && keys[i]; i++)