From 7761237dfe0c509fa4cae255b20fa4b1278cbca1 Mon Sep 17 00:00:00 2001 From: Patrick Georgi Date: Wed, 13 Mar 2024 13:01:21 +0100 Subject: 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 Reviewed-on: https://review.coreboot.org/c/coreboot/+/81223 Reviewed-by: Felix Singer Tested-by: build bot (Jenkins) --- util/kconfig/mnconf-common.h | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 util/kconfig/mnconf-common.h (limited to 'util/kconfig/mnconf-common.h') 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 + +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 */ -- cgit v1.2.3