Message ID | 20230206190550.1692420-55-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=cJHKNlcY; 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 4P9bhG29Sgz23r8 for <incoming@patchwork.ozlabs.org>; Tue, 7 Feb 2023 06:20:46 +1100 (AEDT) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 744A98611E; Mon, 6 Feb 2023 20:13:15 +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="cJHKNlcY"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id A607085DBB; Mon, 6 Feb 2023 20:10:31 +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-x12b.google.com (mail-il1-x12b.google.com [IPv6:2607:f8b0:4864:20::12b]) (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 ED2A185C86 for <u-boot@lists.denx.de>; Mon, 6 Feb 2023 20:09:33 +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-x12b.google.com with SMTP id v1so1045482ilg.5 for <u-boot@lists.denx.de>; Mon, 06 Feb 2023 11:09:33 -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=scPDNIVg420MDQR6+ANFpQ0obpsSRm/AUck4mWsAoq0=; b=cJHKNlcYAAemqcOI4QE7+/f7Ocsqx2WKCMC2WBquPbsvz6wW6PTMqkZG4kbzd8S02K /TjCrb0c0IPhwzr7WvzVveTBvq5K6QxvHsNTPGWv+LOWtHUuu4pz4NPv2c5ipt06Gbih p3aNODzaxsxUK6H8UsQOGXBASqeNTm+LKnpmQ= 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=scPDNIVg420MDQR6+ANFpQ0obpsSRm/AUck4mWsAoq0=; b=yrzu+EsuDr65mj5HpDvGkO/6bBAazWI2nGvWRPrphC1dX58sR9M+4mBLw7lTR0QfEJ g6bP1nQafkH4cANjuu+JQwQFXu+g/I6drEZ/dj3b9pI0rxRkluJZyIqmwT77G73zFH7a hL4tqC+rvRb3ABQclqwRVznIx7HDOC1INji3H2UYotudOembre5El7mO/iN6rX19wzQf g5h+yC39kmTRXgx3jrvg8kOzcC2MNP/d6MLYIKwPsSedlX8Su2zkO58xSqbqecX2wDcR 5Kv2rbQVuBFEl4jnpKN++PnndreyqRYPwkYe7YEFxr9/UFQea+5DVtCFFeDzegnDGaiu lQrQ== X-Gm-Message-State: AO0yUKWD/YjdXPklUNVwndQsOdvAsHXra1ABD8jFT/vdh+eY75eVZ+Wt mJa9V2lWuHgDRICUeVH3hI07iZAj39L2d6Xj X-Google-Smtp-Source: AK7set8NaP6/Q5RdsOMJnOsMRG1yUkFJFGHMZQkxZnoeU2Qm5YxwBpQDuXUiNagcbY/0yOFX9wNTlQ== X-Received: by 2002:a05:6e02:1946:b0:313:c457:f5a8 with SMTP id x6-20020a056e02194600b00313c457f5a8mr296389ilu.11.1675710573416; Mon, 06 Feb 2023 11:09:33 -0800 (PST) Received: from kea.bld.corp.google.com ([2620:15c:183:200:34e9:6977:1cac:fd32]) by smtp.gmail.com with ESMTPSA id t24-20020a028798000000b00375a885f908sm749878jai.36.2023.02.06.11.09.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 06 Feb 2023 11:09:33 -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>, Stefano Babic <sbabic@denx.de> Subject: [PATCH v3 54/81] imx: watchdog: Correct watchdog error condition Date: Mon, 6 Feb 2023 12:05:22 -0700 Message-Id: <20230206190550.1692420-55-sjg@chromium.org> X-Mailer: git-send-email 2.39.1.519.gcb327c4b5f-goog In-Reply-To: <20230206190550.1692420-1-sjg@chromium.org> References: <20230206190550.1692420-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/include/watchdog.h b/include/watchdog.h index ac5f11e376f..f000bdfae80 100644 --- a/include/watchdog.h +++ b/include/watchdog.h @@ -28,7 +28,7 @@ int init_func_watchdog_reset(void); #define INIT_FUNC_WATCHDOG_RESET #endif -#if defined(CONFIG_HW_WATCHDOG) && defined(CONFIG_WATCHDOG) +#if defined(CONFIG_HW_WATCHDOG) && defined(CONFIG_PPL_WATCHDOG) # error "Configuration error: CONFIG_HW_WATCHDOG and CONFIG_WATCHDOG can't be used together." #endif
This is intended to make sure that one of the conditions is met, but causes a build error with imx6qdl_icore_mmc. Fix it by using the PPL condition instead, so that nothing changes when building for SPL with split config. In fact we should drop the old watchdog code and just use the new watchdog uclass. Signed-off-by: Simon Glass <sjg@chromium.org> --- (no changes since v1) include/watchdog.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)