From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=2a00:1450:4864:20::430; helo=mail-wr1-x430.google.com; envelope-from=leif.lindholm@linaro.org; receiver=edk2-devel@lists.01.org Received: from mail-wr1-x430.google.com (mail-wr1-x430.google.com [IPv6:2a00:1450:4864:20::430]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id D995B2119EBDF for ; Tue, 18 Dec 2018 05:16:39 -0800 (PST) Received: by mail-wr1-x430.google.com with SMTP id s12so15443907wrt.4 for ; Tue, 18 Dec 2018 05:16:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=EXP04Tw+WuqMpZr045XBig4UhHK03PA8QvOLLDz7DCQ=; b=UuCd/qPxXEer/9mCd6/jMBlf9nrjIqUMM2b6KPyh79Bz+aBztghgQ8Utf3J5q7GyYa ToAeRancfWxrwrUo2anOmgPt7LxZnifpBRATZ+dyYprKD+eNcRgkzLYPn8ZS4otoJt4Q 9ekuV6yy6x7qD7BeCXcO5Fc05x50eYJchhjFI= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=EXP04Tw+WuqMpZr045XBig4UhHK03PA8QvOLLDz7DCQ=; b=t3L5V7lsN6g2p0bmw32B7QY5+f8geGClz8IrFMrifaLhlCk0Q57aVHTvI1vA/UiSdL 4exQBTIIWv71QXKb1Is6sCn9+qR0bMVRVdqxZ8J7ochlg5AstMtc+WQ4w3PkstdaMmrk e+sRV1iM3yWh9zyVOPJF3vL0n8UvqwJsnlynvu5XKO6tG9aZ/u+6x0VzJ74YM1EW2vPM qjoOouhNFUcjFFOJiebZVHDLy92TVrvuP4GR28oWukQo4gUt0LH1Eoixbdd4YexpmmF1 UXoJsmdxaD8/u8FWEoL2mZyhSnfUUzCGcwLZDJB2PQXV2k5f4srY5jJkShFt9SB/J9O3 H6yw== X-Gm-Message-State: AA+aEWbjpiDU7FgvlVwuH/sRdn5Af/84KInGwQKHiEIU32zy7ko3crvJ 04fsIKLEquqR8+Iy2U8SThMQkg== X-Google-Smtp-Source: AFSGD/VGq2xx4nxASGP5TE6tgCQugQfXThy+4rw7xm8OWXVXRJUVG+T850d2cYw8weTNark47UCP9g== X-Received: by 2002:adf:b102:: with SMTP id l2mr14125631wra.296.1545138997986; Tue, 18 Dec 2018 05:16:37 -0800 (PST) Received: from bivouac.eciton.net (bivouac.eciton.net. [2a00:1098:0:86:1000:23:0:2]) by smtp.gmail.com with ESMTPSA id x20sm3353479wme.6.2018.12.18.05.16.36 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 18 Dec 2018 05:16:36 -0800 (PST) Date: Tue, 18 Dec 2018 13:16:35 +0000 From: Leif Lindholm To: Udit Kumar Cc: Meenakshi Aggarwal , Sami Mujawar , Thomas Panakamattam Abraham , Ard Biesheuvel , "edk2-devel (edk2-devel@lists.01.org)" , Ming Huang , Heyi Guo , Matteo Carlini , Nariman Poushin Message-ID: <20181218131635.ppru774s6mijaj2v@bivouac.eciton.net> References: <20181218092626.juymiyl3yxjfqclb@bivouac.eciton.net> <20181218124958.iziphtwopl5nyrlx@bivouac.eciton.net> MIME-Version: 1.0 In-Reply-To: User-Agent: NeoMutt/20170113 (1.7.2) Subject: Re: SP805 driver X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Dec 2018 13:16:40 -0000 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Tue, Dec 18, 2018 at 12:57:22PM +0000, Udit Kumar wrote: > > Are you referring to > > MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf? > > Yes !! :) > > That is certainly what most of the platforms in edk2-platforms use. > > > > The EFI_WATCHDOG_TIMER_ARCH_PROTOCOL is used by core code. > > > > If you want to use your hardware watchdog as part of your platform specific > > code, that is absolutely fine and probably a very good idea - but it has nothing to > > do with this protocol. There is nothing forcing you to use the platform- > > independent EFI_WATCHDOG_TIMER_ARCH_PROTOCOL for this. > > Yes, this was idea to use MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf > and if needed, install a custom protocol for hardware wdt. And this to be used by platform specific code. Ah, yes - exactly! This would be the ideal solution. Regards, Leif