From patchwork Thu Nov 28 12:06:36 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Claudius Heine X-Patchwork-Id: 1202013 X-Patchwork-Delegate: sbabic@denx.de Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (no SPF record) smtp.mailfrom=lists.denx.de (client-ip=81.169.180.215; helo=lists.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=denx.de Received: from lists.denx.de (dione.denx.de [81.169.180.215]) by ozlabs.org (Postfix) with ESMTP id 47NxJb3W8mz9sPc for ; Thu, 28 Nov 2019 23:09:18 +1100 (AEDT) Received: by lists.denx.de (Postfix, from userid 105) id 80DFFC220F0; Thu, 28 Nov 2019 12:08:52 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.denx.de (localhost [IPv6:::1]) by lists.denx.de (Postfix) with ESMTP id 443A4C220B7; Thu, 28 Nov 2019 12:08:49 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id CBA46C220EC; Thu, 28 Nov 2019 12:08:22 +0000 (UTC) Received: from mail-out.m-online.net (mail-out.m-online.net [212.18.0.9]) by lists.denx.de (Postfix) with ESMTPS id 04D12C22061 for ; Thu, 28 Nov 2019 12:08:20 +0000 (UTC) Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 47NxHR63zdz1qqkQ; Thu, 28 Nov 2019 13:08:19 +0100 (CET) Received: from localhost (dynscan1.mnet-online.de [192.168.6.70]) by mail.m-online.net (Postfix) with ESMTP id 47NxHR5q1wz1r7H2; Thu, 28 Nov 2019 13:08:19 +0100 (CET) X-Virus-Scanned: amavisd-new at mnet-online.de Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan1.mail.m-online.net [192.168.6.70]) (amavisd-new, port 10024) with ESMTP id IJuRwQqV6vud; Thu, 28 Nov 2019 13:08:19 +0100 (CET) X-Auth-Info: yLgkHaeMKZYwVTvcNGv2Kx+B8cmDamrj+0GoqRwq/Is= Received: from mail-internal.denx.de (p578adb1c.dip0.t-ipconnect.de [87.138.219.28]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.mnet-online.de (Postfix) with ESMTPSA; Thu, 28 Nov 2019 13:08:19 +0100 (CET) Received: from deneb.denx.de (deneb [10.0.20.1]) by mail-internal.denx.de (Postfix) with ESMTP id 58E2F18586A; Thu, 28 Nov 2019 13:07:29 +0100 (CET) Received: by deneb.denx.de (Postfix, from userid 569) id 4BA3124E902; Thu, 28 Nov 2019 13:07:29 +0100 (CET) From: Claudius Heine To: Date: Thu, 28 Nov 2019 13:06:36 +0100 Message-Id: <20191128120638.2457-5-ch@denx.de> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20191128120638.2457-1-ch@denx.de> References: <20191128120638.2457-1-ch@denx.de> MIME-Version: 1.0 Cc: Marek Vasut , Andreas Geisreiter , open list , "NXP i.MX U-Boot Team" , Ludwig Zenz Subject: [U-Boot] [PATCH 4/4] ARM: imx6: DHCOM i.MX6 PDK: Use HW_WATCHDOG in SPL X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.18 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" The SPL does not have DM enabled and therefor needs to use the hardware watchdog interface provided by the imx-watchdog driver. Signed-off-by: Claudius Heine --- include/configs/dh_imx6.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/include/configs/dh_imx6.h b/include/configs/dh_imx6.h index d4bd88f511..77074aaa06 100644 --- a/include/configs/dh_imx6.h +++ b/include/configs/dh_imx6.h @@ -87,6 +87,11 @@ #endif /* Watchdog */ +#if defined(CONFIG_SPL_BUILD) +#undef CONFIG_WDT +#undef CONFIG_WATCHDOG +#define CONFIG_HW_WATCHDOG +#endif /* allow to overwrite serial and ethaddr */ #define CONFIG_ENV_OVERWRITE