From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 0832EC433EF for ; Fri, 4 Mar 2022 15:45:03 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id E8F8B83D6D; Fri, 4 Mar 2022 16:44:06 +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="Y8SfzV21"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id C0C1483CBB; Fri, 4 Mar 2022 16:43:55 +0100 (CET) Received: from mail-io1-xd2c.google.com (mail-io1-xd2c.google.com [IPv6:2607:f8b0:4864:20::d2c]) (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 62EE183D0B for ; Fri, 4 Mar 2022 16:43:28 +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-io1-xd2c.google.com with SMTP id f14so9987433ioz.1 for ; Fri, 04 Mar 2022 07:43:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=iQ/lN5+tbGdPMDquGuwCrKilBBVJgfGeEQ0kJq3lfvI=; b=Y8SfzV21GWbi3TwvVzGXrA2e4LIlNhVFceb8HpHWlKbspKYKE16KuPd5twZHD7lu7u vPbEcEGAEaDtSXGB8YR1l2+S/SggVzlOG+zBP5uyuCXzGiaTLlD+dLQ3g81guaBSGhXF LAUH8kqmYTDtdbC1P5vlVr26CSxdo6/iXxnUg= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=iQ/lN5+tbGdPMDquGuwCrKilBBVJgfGeEQ0kJq3lfvI=; b=ZlJ8KV7u28HWsrOVtkF3JAIvsum/nJnbxA2ATNdUpBvcz727svGr1CkIoQtYQK1PhR cfL3DCl3Dqpb807LCroFjPIl51d/bvCgsJMKQKODUowsO68+0R3vmx+J97TmD6bNoGAB SEtFRhkLMqyfNiffmwsP8PWJ0JE9svqNX1sF4aKKUVtOPrz6E58qOCBmWbgypKWyjItC 9jESWefZ3E9BjhiP1dfZmoG3h2B1mnVCbCqhesTag8DRt99WJgaucAeLZswC1A+ryw3Z IBkK7hNA28iDj2c8Dh/E+vhM2zbFyDq9hlARj0sXlckrE1twmD5cAFth9BbdnNSuXlIE CBxg== X-Gm-Message-State: AOAM533s9oK/0Ez195aXfQ+/LN8J9rKMmtGbisHpdsRyf1ksM7mvVSUJ d9EGFPrDpx6eodQQ99s4gwH6ZEO36Uxtdg== X-Google-Smtp-Source: ABdhPJyvR4vfsPgpuPVheSFFu+tjCR1ScO7Kp9G0/A9KRh3D0Z9KcDqBSk/9xfguGdLsejfI1aB8lQ== X-Received: by 2002:a02:3b2a:0:b0:30a:4fe9:5906 with SMTP id c42-20020a023b2a000000b0030a4fe95906mr33134760jaa.262.1646408607049; Fri, 04 Mar 2022 07:43:27 -0800 (PST) Received: from kiwi.bld.corp.google.com (c-67-190-101-114.hsd1.co.comcast.net. [67.190.101.114]) by smtp.gmail.com with ESMTPSA id h13-20020a5ecb4d000000b006410cd7bf4asm4758814iok.9.2022.03.04.07.43.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 04 Mar 2022 07:43:26 -0800 (PST) From: Simon Glass To: U-Boot Mailing List Cc: Marek Vasut , Masahiro Yamada , Tom Rini , AKASHI Takahiro , =?UTF-8?q?Marek=20Beh=C3=BAn?= , Heinrich Schuchardt , Simon Glass Subject: [PATCH v2 07/13] event: Set up the event system on start-up Date: Fri, 4 Mar 2022 08:43:02 -0700 Message-Id: <20220304154308.2547711-8-sjg@chromium.org> X-Mailer: git-send-email 2.35.1.616.g0bdcbb4464-goog In-Reply-To: <20220304154308.2547711-1-sjg@chromium.org> References: <20220304154308.2547711-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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.5 at phobos.denx.de X-Virus-Status: Clean Call event_init() before relocation to get the event system running. Signed-off-by: Simon Glass --- (no changes since v1) common/board_f.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/common/board_f.c b/common/board_f.c index a68760092a..e36bdbc988 100644 --- a/common/board_f.c +++ b/common/board_f.c @@ -19,6 +19,7 @@ #include #include #include +#include #include #include #include @@ -828,6 +829,7 @@ static const init_fnc_t init_sequence_f[] = { initf_malloc, log_init, initf_bootstage, /* uses its own timer, so does not need DM */ + event_init, #ifdef CONFIG_BLOBLIST bloblist_init, #endif -- 2.35.1.616.g0bdcbb4464-goog