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 CC210C00140 for ; Sun, 21 Aug 2022 13:51:44 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id B6A50841B7; Sun, 21 Aug 2022 15:51:42 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=denx.de Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=denx.de; s=phobos-20191101; t=1661089903; bh=v4MQsug7bXM1qYbeJeJ1R6UteJ0lTZ8Nn1phoFVl5Y4=; h=Date:From:To:Cc:Subject:In-Reply-To:References:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=Qx1+zxmM5/EcHn3Tg34tsEjlH+/Rd7mWVfFe6kP8DJ0Ta5S+7qtaIDj+tD4ODS523 JjBcp6mEeICmWdBVb2qwrlDmunrHzF/7fBPCxUOh9GxrZc7HpiypEQQgLZEzrfuJx2 hu2Y6V/vSkX+D7ggqfhhy8lWMkdZoVG0xJZoPdqtEjGWTV6j6JDtuHzl9wYTEPnvSS LPFwKTHYQcjR2yBGChRZ3+EQS/Q9WuKfRFhp6irZTwKyLuYNv/qUenplg8i7gQ6sXq tayWoXMNbbNXBMeZ9mWGBGaFoaW8LawZ6vDj9iGEUcoEu9qN8RKVmtDklzqaIyMraS pZFAAQ7xKUt1A== Received: from mail.denx.de (unknown [IPv6:2a01:238:438b:c500:173d:9f52:ddab:ee01]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: festevam@denx.de) by phobos.denx.de (Postfix) with ESMTPSA id 5602184125; Sun, 21 Aug 2022 15:51:40 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=denx.de; s=phobos-20191101; t=1661089900; bh=v4MQsug7bXM1qYbeJeJ1R6UteJ0lTZ8Nn1phoFVl5Y4=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=vnBTa782s9yCwQMszfwJwqogya6VNob7Hg6U0ORhDdGyzjjpzf/FKqWNhp1TI01Zk rjP3VhAQcqWrVYH46pRRZHcV4QMlQfK+cNKhOxDK+dN9/CBZmh/hJERqX26e99qlR0 lIE0p2KKBPUydl1ywqiP9nOVXoj/CDqXgAfwiAditU5doJYLIGAD+T16wUv40c9znh KRlgxKWkeqwKaHruWtwcWndQTY+BHR6mjB7sV011UPN63QJYIEhayz+iXD6ShSCwaV HOWtEqJFuM4vRFzV7lxiwdDxplYHT4tJb1JG2Ialqq0u+QccOiN9+TcRsEvevgHy80 30musZTQFJCUw== MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Sun, 21 Aug 2022 10:51:40 -0300 From: Fabio Estevam To: Marek Vasut Cc: u-boot@lists.denx.de, Peng Fan , Stefano Babic , Ye Li , uboot-imx Subject: Re: [PATCH] ARM: imx: Update DDR frequency on i.MX8M Plus DHCOM In-Reply-To: <20220819110253.221887-1-marex@denx.de> References: <20220819110253.221887-1-marex@denx.de> Message-ID: <18bc909b0c5921b81ca7a79e37c9c823@denx.de> X-Sender: festevam@denx.de User-Agent: Roundcube Webmail/1.3.6 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: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.6 at phobos.denx.de X-Virus-Status: Clean On 19/08/2022 08:02, Marek Vasut wrote: > Commit 99c7cc58e12 ("ddr: imx: Add i.MX9 DDR controller driver") > contains an inobvious side-effect which renders all systems using > DRAM controller at 3732 MT/s unbootable. The change is located in > ddrphy_init_set_dfi_clk(), where the switch case statement entry > 3732 changed to entry 3733, so any board with DDR calibration data > for 3732 MT/s operations needs to be updated to 3733 MT/s to match > the change. > > Since there is currently only one such board, update the board instead > of handling both 3732 and 3733 options in the driver. It is likely the > NXP MX8MP RPA update will follow and use the later value too. > > Signed-off-by: Marek Vasut > Cc: Fabio Estevam > Cc: Peng Fan > Cc: Stefano Babic > Cc: Ye Li > Cc: uboot-imx Reviewed-by: Fabio Estevam