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 43416C433EF for ; Thu, 10 Mar 2022 18:46:27 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 7164983AD1; Thu, 10 Mar 2022 19:46:15 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="Go1EGGk9"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 4174683ACD; Thu, 10 Mar 2022 19:46:08 +0100 (CET) Received: from mail-wr1-x42d.google.com (mail-wr1-x42d.google.com [IPv6:2a00:1450:4864:20::42d]) (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 9277F83AB6 for ; Thu, 10 Mar 2022 19:46:03 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=krjdev@gmail.com Received: by mail-wr1-x42d.google.com with SMTP id h15so9394064wrc.6 for ; Thu, 10 Mar 2022 10:46:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references:reply-to :mime-version:content-transfer-encoding; bh=wN79yxztz/V/tRckeWuJ+VqvQwfdkApuyKd9Nzq4ofQ=; b=Go1EGGk9dLMHa+lZpGC9KWHEf/PzxSUBAkZPtdMKx85i5G2yRUaXHBDF07jGFDOwtx 8UoHhGqQ/HqRLXURO8dCvu8L+xjSvK+QDawxNUW2Vx3e7orLXBE+faRkX8hjldzQd9fW W9EXwnSLAbd6w4xuERux4UzfBS8AxArbTc9UJAREXLrq+LudxmabxvrASOt7tGeyqQFb 5QcuD/UigBq/jO+6uDqJDMSS1+8tCil4PHTEKVf8qzvFlQh4hDomkb3lZCEcPJRKKaop J19rnU2Mr8jAsp2jo9oIQb/tb2RR18OfI9gu2hYSr6iKBQbY/lHeDmlqZRcVBhkGk4jV ggTA== 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:reply-to:mime-version:content-transfer-encoding; bh=wN79yxztz/V/tRckeWuJ+VqvQwfdkApuyKd9Nzq4ofQ=; b=fNqNFv2bZ4hoXPFo1pHrtQY9FJEvpDasJ0SuYq7AdVVs9+cml9ztEyVHyAQqBCf/gJ BV0H25AtO55Uof2XDT6cZzESi2mIWm1jZQuzBPEA5ouMJV+19likDnuavgWRFvEZtP40 PIuo1YVLX8MUJVExM38CIe9KOWDo3DnuRVE/8h4zk+Nkq3wmRXpSQcScfn5gbyvZrnhL sQFSFyW9c+d+o9wlVuc0AZ91vFMcs3Wbh/HltrnTEfTzwdmEve8W9K4zwpsc7v/3Pp3o F7S55BXaPhW1dJm31uJFJ9d57b7sa5+k+xqstphsQMC8jZTDHr+Iwz10bICj00cowh+F 6aPA== X-Gm-Message-State: AOAM533gvXogThno4LnQ7ZfDDoXJNTAQOkKbGc2TPTf7Wr3G6aE1b8Xm yOr5FG0N4ih/TmsrMAGSmJfGs9CXcuw= X-Google-Smtp-Source: ABdhPJyX4qpv0aYemooyfM6WPKzjIHsMWzPgPMmrFjhca2Ug7ZG453J0tcmxGoPpJ85LJJf8RhqgTw== X-Received: by 2002:adf:fd50:0:b0:1f0:7a8e:c922 with SMTP id h16-20020adffd50000000b001f07a8ec922mr4593341wrs.166.1646937962769; Thu, 10 Mar 2022 10:46:02 -0800 (PST) Received: from matrix42.lan (212-197-176-189.adsl.highway.telekom.at. [212.197.176.189]) by smtp.gmail.com with ESMTPSA id e4-20020adffc44000000b001f1dba38a65sm4775742wrs.105.2022.03.10.10.46.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 10 Mar 2022 10:46:02 -0800 (PST) From: Johannes Krottmayer To: u-boot@lists.denx.de, trini@konsulko.com Cc: Johannes Krottmayer Subject: [PATCH 1/2] common: board_f.c: Fix EAGAIN issue when CONFIG_TIMER_EARLY is selected Date: Thu, 10 Mar 2022 19:45:48 +0100 Message-Id: <20220310184549.1883-2-krjdev@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220310184549.1883-1-krjdev@gmail.com> References: <20220310184549.1883-1-krjdev@gmail.com> 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: , Reply-To: krjdev@gnail.com 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 Description: When CONFIG_TIMER_EARLY is selected and the timer driver implements timer_early_get_count() and timer_early_get_rate() this leads to an EAGAIN error in initf_dm() one some configurations. Signed-off-by: Johannes Krottmayer Cc: Tom Rini --- common/board_f.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/common/board_f.c b/common/board_f.c index a68760092a..fc883c1742 100644 --- a/common/board_f.c +++ b/common/board_f.c @@ -785,12 +785,6 @@ static int initf_dm(void) bootstage_accum(BOOTSTAGE_ID_ACCUM_DM_F); if (ret) return ret; - - if (IS_ENABLED(CONFIG_TIMER_EARLY)) { - ret = dm_timer_init(); - if (ret) - return ret; - } #endif return 0; -- 2.34.1