Message ID | 20230204002619.938387-4-sjg@chromium.org |
---|---|
State | RFC |
Delegated to: | Tom Rini |
Headers | show
Return-Path: <u-boot-bounces@lists.denx.de> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=<UNKNOWN>) Authentication-Results: legolas.ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=chromium.org header.i=@chromium.org header.a=rsa-sha256 header.s=google header.b=cbXzWqPx; dkim-atps=neutral Received: from phobos.denx.de (phobos.denx.de [IPv6:2a01:238:438b:c500:173d:9f52:ddab:ee01]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4P7tgD56yBz23hh for <incoming@patchwork.ozlabs.org>; Sat, 4 Feb 2023 11:28:56 +1100 (AEDT) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id A252886001; Sat, 4 Feb 2023 01:28:50 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; unprotected) header.d=chromium.org header.i=@chromium.org header.b="cbXzWqPx"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 6EB8985FF5; Sat, 4 Feb 2023 01:28:00 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE, SPF_PASS autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-il1-x132.google.com (mail-il1-x132.google.com [IPv6:2607:f8b0:4864:20::132]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id EAEDE85FE8 for <u-boot@lists.denx.de>; Sat, 4 Feb 2023 01:27:57 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=sjg@chromium.org Received: by mail-il1-x132.google.com with SMTP id m15so2753102ilh.9 for <u-boot@lists.denx.de>; Fri, 03 Feb 2023 16:27:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=BeVvphWsHRKanRwp7EwS54RaGkNZ2OnlHr0nsJzv9F8=; b=cbXzWqPx08qt9nxnZMSkz76WNv0/YNNEx4Ld3LdHqQcVOgtLHM1bd8SXojp9Bq+5Fg E6sjYBpUpyptMi0VDLudAjcw4EFPG7XvUjHNdWeDE3RMS9GqeLhxzYeltFnYt3Xq1t73 6v4k8870DRm5RKX6w82J+99f1EYHlT+qythyE= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=BeVvphWsHRKanRwp7EwS54RaGkNZ2OnlHr0nsJzv9F8=; b=mVqU4dW/O+LRcTgOODPlZA/FZyQHESLSM3cWwht1ZFeHetP7OTiMI1nuq8s8sUDN87 08yc0uZe8rtHkkIKkZkS9DAihhzkmEGYmypgVrP3QKtK4AHbYj9wq12VSiETvsxCk/WC f9AmYMUxYXVHJYM5q3aJP6nQEtQT83SG87r2n7WMIIlHJPK+ef2JojrgMf5Xwf44GgH8 gTmxPxbR8hYH1H5kLlt474zIbrdGLUZYdxQTSUAaDjLC4tESL1ko1e1SWFV8IjZe3TXG lNw/xass1P1M3Qagp0wY02Z5pCJvJF/9JFuqn86+Y/H1sv7PAihFenykdY/AlhbhxjqD xKUQ== X-Gm-Message-State: AO0yUKVDdyUnsaCCFKZXcLUnQtEJ+R3AMbJU9sn2Axw5h2D/5FV6MLf4 0Nb9HUS9BNtTLnyAuc7fbjLIiqdP0nBH2Xqj X-Google-Smtp-Source: AK7set8YjMbgi6QuyUd7i8Mzs8zGwafAPv2D+aifxCVG/DWJroipHFO4RJchygk1C43UtByYWrfAsg== X-Received: by 2002:a05:6e02:1a2b:b0:310:a087:9dc4 with SMTP id g11-20020a056e021a2b00b00310a0879dc4mr10260074ile.0.1675470476559; Fri, 03 Feb 2023 16:27:56 -0800 (PST) Received: from kea.bld.corp.google.com ([2620:15c:183:200:5b65:12f1:51b7:8157]) by smtp.gmail.com with ESMTPSA id j12-20020a02cc6c000000b003adab954c5asm1270255jaq.153.2023.02.03.16.27.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 03 Feb 2023 16:27:56 -0800 (PST) From: Simon Glass <sjg@chromium.org> To: U-Boot Mailing List <u-boot@lists.denx.de> Cc: Tom Rini <trini@konsulko.com>, Simon Glass <sjg@chromium.org> Subject: [RFC PATCH v2 03/56] event: Add Kconfig options for SPL Date: Fri, 3 Feb 2023 17:25:26 -0700 Message-Id: <20230204002619.938387-4-sjg@chromium.org> X-Mailer: git-send-email 2.39.1.519.gcb327c4b5f-goog In-Reply-To: <20230204002619.938387-1-sjg@chromium.org> References: <20230204002619.938387-1-sjg@chromium.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion <u-boot.lists.denx.de> List-Unsubscribe: <https://lists.denx.de/options/u-boot>, <mailto:u-boot-request@lists.denx.de?subject=unsubscribe> List-Archive: <https://lists.denx.de/pipermail/u-boot/> List-Post: <mailto:u-boot@lists.denx.de> List-Help: <mailto:u-boot-request@lists.denx.de?subject=help> List-Subscribe: <https://lists.denx.de/listinfo/u-boot>, <mailto:u-boot-request@lists.denx.de?subject=subscribe> Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" <u-boot-bounces@lists.denx.de> X-Virus-Scanned: clamav-milter 0.103.6 at phobos.denx.de X-Virus-Status: Clean |
Series |
Migrate to split config
|
expand
|
diff --git a/common/Kconfig b/common/Kconfig index 6d23cdde94e..44aa7d8b1cd 100644 --- a/common/Kconfig +++ b/common/Kconfig @@ -622,6 +622,22 @@ config EVENT See doc/develop/event.rst for more information. +config SPL_EVENT + bool # General-purpose event-handling mechanism in SPL + depends on EVENT && SPL + help + This adds a framework for general purpose sending and processing of + events, to allow interested parties to be alerted when something + happens. This is an attempt to stem the flow of weak functions, + hooks, functions in board_f.c and board_r.c and the Kconfig options + below. + + See doc/develop/event.rst for more information. + +config SPL_EVENT_DYNAMIC + def_bool n # Support event registration at runtime (SPL) + depends on SPL_EVENT + if EVENT config EVENT_DYNAMIC
Add options to enable events in SPL. This is mostly so the code can be excluded from SPL builds. Signed-off-by: Simon Glass <sjg@chromium.org> --- (no changes since v1) common/Kconfig | 16 ++++++++++++++++ 1 file changed, 16 insertions(+)