Message ID | 20230131152702.249197-3-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=Ur8LVvcS; 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 4P5pqP4NKHz1yhq for <incoming@patchwork.ozlabs.org>; Wed, 1 Feb 2023 02:28:49 +1100 (AEDT) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 6093885AFF; Tue, 31 Jan 2023 16:28:32 +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="Ur8LVvcS"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 5C1C385AF6; Tue, 31 Jan 2023 16:27:47 +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-x12c.google.com (mail-il1-x12c.google.com [IPv6:2607:f8b0:4864:20::12c]) (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 8074985AE5 for <u-boot@lists.denx.de>; Tue, 31 Jan 2023 16:27:42 +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-x12c.google.com with SMTP id h18so3845501ilj.6 for <u-boot@lists.denx.de>; Tue, 31 Jan 2023 07:27:42 -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=E79UDRGMc/KkeU/oKkeEb47pc1nrwKGf8UGVQ0umEro=; b=Ur8LVvcSzPFl1dSnznm8sfx3AZhjJe0fSOH+GH9u9ZkIqeIjwlt6gvwMunAvnH2DJV +puwSWc7yaZmniHdfF1QcnSlGlHQvb5UonfHi4vve+8BVSnFS25dbkyVUC6Wp+ABYCg6 xvSixFtZUg2XLMOX2bmRq7bmyK2bSKR2e8ygU= 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=E79UDRGMc/KkeU/oKkeEb47pc1nrwKGf8UGVQ0umEro=; b=TfZGB947V5BVwxBniNRu1eAEYH/JTEO2h11treZoXcNphcOGWcLecgTFyN1i6zx21i STso2Wbm6qROej+VabsCLnH/RxNprtvwnDDiV7/t+KrwjAbCZ4p0j1oUqcoJyYWf17uh 7q7u1SCXoQRzyFj6L2+h0X+4J3fR7o5GUJ+FaqYiRdOoHiDcAg0sJqPMZCWyiaMW73Vp AdwCSUy1KnjTuxKTua6Fqg4GLbpUbDnWJSh0ieXdTkku6NaLFjJ++ZNBG9Y5sr+itN24 xNNB92beVzhrBZo40ajqzZC54vyKscN9d4GLk0bjICfyP2AC5CEjrIM7qjA8KKLLYIAE 7hOA== X-Gm-Message-State: AO0yUKWWAqxOiGD6cGPxt3gaqDnS4+M/ipfODal+EdftVKDqPvpolP5x aS1VZFTxpKTnJDbKQXuwzuwE6WTSIreCHk5m X-Google-Smtp-Source: AK7set+s5unu+HnFlq9D96lP81ypCdqvAJploX5xtlNuJBgnuVaMhr+eKgAH+IWfLX03E0Ylk1lZ1A== X-Received: by 2002:a05:6e02:214d:b0:310:bb17:3004 with SMTP id d13-20020a056e02214d00b00310bb173004mr16591626ilv.20.1675178860958; Tue, 31 Jan 2023 07:27:40 -0800 (PST) Received: from sjg1.lan (c-73-14-173-85.hsd1.co.comcast.net. [73.14.173.85]) by smtp.gmail.com with ESMTPSA id u4-20020a02cb84000000b0039db6cffcbasm5649328jap.71.2023.01.31.07.27.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 31 Jan 2023 07:27:40 -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: [PATCH 02/32] event: Add Kconfig options for SPL Date: Tue, 31 Jan 2023 08:26:32 -0700 Message-Id: <20230131152702.249197-3-sjg@chromium.org> X-Mailer: git-send-email 2.39.1.456.gfc5497dd1b-goog In-Reply-To: <20230131152702.249197-1-sjg@chromium.org> References: <20230131152702.249197-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 |
RFC: 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> --- common/Kconfig | 16 ++++++++++++++++ 1 file changed, 16 insertions(+)