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 688EBC433F5 for ; Tue, 1 Mar 2022 00:55:36 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 57B3983C1F; Tue, 1 Mar 2022 01:55:33 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="EayaB57I"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 35BE083B9A; Tue, 1 Mar 2022 01:55:32 +0100 (CET) Received: from mail-pj1-x102d.google.com (mail-pj1-x102d.google.com [IPv6:2607:f8b0:4864:20::102d]) (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 2A95883CAC for ; Tue, 1 Mar 2022 01:55:29 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=judge.packham@gmail.com Received: by mail-pj1-x102d.google.com with SMTP id bx5so12680602pjb.3 for ; Mon, 28 Feb 2022 16:55:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=mw6oDqrdRlTdYQMdSXlEjdJR5OwdW7fEQwtTKwLw4+E=; b=EayaB57ITTlTPsCOIdKdwf42E5CcBvIUtMtGMofI2iQDDQ4wNLClerJ7TJPk0W5LMV Ao/Wt632WDWWrvkrZBc7MowdRVoEJz4Dez295MhVdF3VDY7DkkZhn4XirBnuS0EeAzFF p4BtxV9KLBhmqX1dYd4h2yziQ6HTCM59YKVk/94dT0ap/1OqyqvmDwI6oF85U0eKa5Gj ViZ4WYfOZiA4str+0s27Pld6sPHGVKEN5dw2ucHJoZ9EGUQn0IAzgxOvO6ncYzQ3aO9N ziVgGyUaMWR/7WNIUfDMSeIiZrOGYG38DwhwzcPHa35lZxZwe0qDWVpPOrd+sO/jTxdX Osog== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=mw6oDqrdRlTdYQMdSXlEjdJR5OwdW7fEQwtTKwLw4+E=; b=RkvVldtVvZEtJIvKAMZLjzQPo5bPTk3xyXJ6bho7uhONJo4CTY2ZlBsp3vVloF7a74 QZnetg8k8PYbqmEaYwEQlQyXfVKF3CLpVMBYo4aHvOb9Zs/DVqgp+/7F4al3nAZBghx9 oGd8U3vI3mgCZxRjNDq5jlmzN8UR9LITJOnPil4wRBEiOzAnIQN9mDAtUCCac7MiMTzr Ycep/6ImjapHg3J940UfEf727tOiqdR2kjapBZgKVz9N9rWX9fbpWXbr4iWuXJHvlyU8 kH8ljvD8EGPUjc8y1htPaZSyUU0FVwmvxLmaPI7dfrGNBIdF1Y8wQttSU3WxEeTy18YG +bKQ== X-Gm-Message-State: AOAM5306yThrry0ffmLwaNsWv0vYhITCEozHG44Z7PG98R+kav6f+HY2 DhgdJ5InuG7TvxOprvu3faP7bYIf/BQ= X-Google-Smtp-Source: ABdhPJzNJwdgV7pRegMvWohAQa1zLNzfHt5JNUaDEzdCcO1bi7M9jvYRrhO22Er+vMbucX0hC0JoVw== X-Received: by 2002:a17:902:c784:b0:14f:c154:d0fb with SMTP id w4-20020a170902c78400b0014fc154d0fbmr23341465pla.117.1646096127072; Mon, 28 Feb 2022 16:55:27 -0800 (PST) Received: from chrisp-dl.atlnz.lc ([2001:df5:b000:22:cbd0:af68:413b:517c]) by smtp.gmail.com with ESMTPSA id p10-20020a056a000b4a00b004e12fd48035sm14999231pfo.96.2022.02.28.16.55.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 28 Feb 2022 16:55:26 -0800 (PST) From: Chris Packham To: u-boot@lists.denx.de Cc: Chris Packham , Baruch Siach , Chris Packham , Kostya Porotchkin , =?UTF-8?q?Marek=20Beh=C3=BAn?= , Moti Buskila , Nadav Haklai , Stefan Roese , Tom Rini Subject: [PATCH] ARM: mvebu: x530: clearfog: Add ODT configuration Date: Tue, 1 Mar 2022 13:53:23 +1300 Message-Id: <20220301005323.1786382-1-judge.packham@gmail.com> X-Mailer: git-send-email 2.35.1 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 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.5 at phobos.denx.de X-Virus-Status: Clean Commit 369e532691e0 ("ddr: marvell: a38x: allow board specific ODT configuration") added the odt_config member to struct mv_ddr_topology_map ahead of the clk_enable and ck_delay members. This means that any boards that configured either of clk_enable or ck_delay needed to have their board topology updated. This affects the x530 and clearfog boards. Other A38x boards don't touch any of the trailing members of mv_ddr_topology_map so don't need updating. Fixes: 369e532691e0 ("ddr: marvell: a38x: allow board specific ODT configuration") Signed-off-by: Chris Packham --- board/alliedtelesis/x530/x530.c | 1 + board/solidrun/clearfog/clearfog.c | 1 + 2 files changed, 2 insertions(+) diff --git a/board/alliedtelesis/x530/x530.c b/board/alliedtelesis/x530/x530.c index 8b31045a0743..c0ec2afa3011 100644 --- a/board/alliedtelesis/x530/x530.c +++ b/board/alliedtelesis/x530/x530.c @@ -73,6 +73,7 @@ static struct mv_ddr_topology_map board_topology_map = { {0}, /* timing parameters */ { {0} }, /* electrical configuration */ {0}, /* electrical parameters */ + 0, /* ODT configuration */ 0, /* Clock enable mask */ 160 /* Clock delay */ }; diff --git a/board/solidrun/clearfog/clearfog.c b/board/solidrun/clearfog/clearfog.c index c920cf8d6b50..03adb591d826 100644 --- a/board/solidrun/clearfog/clearfog.c +++ b/board/solidrun/clearfog/clearfog.c @@ -147,6 +147,7 @@ static struct mv_ddr_topology_map board_topology_map = { {0}, /* timing parameters */ { {0} }, /* electrical configuration */ {0,}, /* electrical parameters */ + 0, /* ODT configuration */ 0x3, /* clock enable mask */ }; -- 2.35.1