From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tom Rini Date: Tue, 19 Jan 2021 08:06:14 -0500 Subject: [PATCH 1/2] timer: mtk_timer: initialize the timer before use In-Reply-To: <0dc6f5e159ec0bc471483c77192237f42dbcc646.1610424657.git.weijie.gao@mediatek.com> References: <0dc6f5e159ec0bc471483c77192237f42dbcc646.1610424657.git.weijie.gao@mediatek.com> Message-ID: <20210119130614.GD9782@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Tue, Jan 12, 2021 at 01:44:02PM +0800, Weijie Gao wrote: > The timer being used by this driver may have already been used by first > stage bootloader (e.g. ATF/preloader), and it's settings may differ from > what this driver is going to use. > > This may cause issues, such as inaccurate timer frequency due to > incorrect clock divider. > > This patch adds the initialization code to avoid them. > > Signed-off-by: Weijie Gao Applied to u-boot/master, thanks! -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 659 bytes Desc: not available URL: