aboutsummaryrefslogtreecommitdiff
path: root/util/kconfig/mnconf-common.h
diff options
context:
space:
mode:
authorPatrick Georgi <patrick@coreboot.org>2024-03-13 13:01:21 +0100
committerFelix Held <felix-coreboot@felixheld.de>2024-04-03 12:28:04 +0000
commit7761237dfe0c509fa4cae255b20fa4b1278cbca1 (patch)
tree949e8eafd32fd4bfb2a518f7cce4344ddf3c25e3 /util/kconfig/mnconf-common.h
parent96499840aa3f5376ae8cfa1cefb6fd98800019a9 (diff)
util/kconfig: Uprev to Linux 6.8's kconfig
Linux kconfig has its own implementation of KCONFIG_WERROR now, so use that. This reduces our patch count by 2. Change-Id: I4f5f1f552e96f8ef7a4c5c0ab2ab7e2b6d798ceb Signed-off-by: Patrick Georgi <patrick@georgi.software> Reviewed-on: https://review.coreboot.org/c/coreboot/+/81223 Reviewed-by: Felix Singer <service+coreboot-gerrit@felixsinger.de> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'util/kconfig/mnconf-common.h')
-rw-r--r--util/kconfig/mnconf-common.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/util/kconfig/mnconf-common.h b/util/kconfig/mnconf-common.h
new file mode 100644
index 0000000000..ab6292cc4b
--- /dev/null
+++ b/util/kconfig/mnconf-common.h
@@ -0,0 +1,18 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+#ifndef MNCONF_COMMON_H
+#define MNCONF_COMMON_H
+
+#include <stddef.h>
+
+struct search_data {
+ struct list_head *head;
+ struct menu *target;
+};
+
+extern int jump_key_char;
+
+int next_jump_key(int key);
+int handle_search_keys(int key, size_t start, size_t end, void *_data);
+int get_jump_key_char(void);
+
+#endif /* MNCONF_COMMON_H */