From patchwork Thu Oct 20 02:33:20 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Paul Liu X-Patchwork-Id: 616704 Delivered-To: patch@linaro.org Received: by 2002:a17:522:c983:b0:460:3032:e3c4 with SMTP id kr3csp695236pvb; Wed, 19 Oct 2022 19:33:48 -0700 (PDT) X-Google-Smtp-Source: AMsMyM4yIY88d0i8DUgP090GQiX6ox7Ndjbs3Ce+iyFMT6oo3wwYJn2YoTYNifp1t793yFKy00uj X-Received: by 2002:a63:7:0:b0:45b:693e:7d86 with SMTP id 7-20020a630007000000b0045b693e7d86mr10018225pga.319.1666233228461; Wed, 19 Oct 2022 19:33:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666233228; cv=none; d=google.com; s=arc-20160816; b=xGMU4aUrRRsGzAIMTzwbDz3fchnS0B4LK0lLw8vSO66kPmmD4XjeBixZVmfzT+uCz0 W5nbveRePAs0NxZvRFEqK95OaADJS8uLFRrjCo5tuee0K9lnvechnpQ9PRcI9+4eh39l iOBrlgTScZDykFbnMWxxtp8KVWeR4z6jmGhOXDqiSpU3F3JBkx8FUHNsVSX+4A8BmXsV r8R+Nzon8fupomuwngKOFfQiOefZHRhszPcIWIe+vaCgA29M2kiJTDHPCfwiOvdaYFiC KU45TZXdFlg/nBLRyfLZ9Rf3iHvhuhNbLT5VSg+ICaUT9HVVP+vWgTJH+uCbSMuR9O8n 5W2g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:message-id:date:subject:cc:to:from:dkim-signature; bh=BujH6rWAccGfmjmK+TZ8p27q7dsvzasZJEiW9oOqxw0=; b=AtqqMAdgAkCSGO98Pwk+SWMdH9L0DaasQowwcJuuOAudFgReAB+qSuFyALY0fBcnXO NcorEjb5LfoQ6V1LaTGgNNfwuAS5OHlM/KbL7plW4p8YP1DLNrBtD5OJi/dICma3phhK FqaHTkzuF0jFpIqtYBnpOWLjFKy/NXIovFgFzKuxDYm6Hnr0fJDJURKoygl4Gey0qzYc pEBvx9LP0Js2rK6+fJ77CIjs1DN72UIMa1c7hHpFpPWBNlIo56252XlkdiGDVb8TqCiK 27w7OmiYAANflHIIE3a+GDXHdYIH1WTOhICvcTsM2dS944gXh8c2bY46E19pIZcO6zHK 86xg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=TusL9Kzh; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 2a01:238:438b:c500:173d:9f52:ddab:ee01 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from phobos.denx.de (phobos.denx.de. [2a01:238:438b:c500:173d:9f52:ddab:ee01]) by mx.google.com with ESMTPS id d1-20020a170902cec100b0017a1cd3ccfbsi22862822plg.530.2022.10.19.19.33.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 19 Oct 2022 19:33:48 -0700 (PDT) Received-SPF: pass (google.com: domain of u-boot-bounces@lists.denx.de designates 2a01:238:438b:c500:173d:9f52:ddab:ee01 as permitted sender) client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=TusL9Kzh; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 2a01:238:438b:c500:173d:9f52:ddab:ee01 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 9465984DE5; Thu, 20 Oct 2022 04:33:40 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=linaro.org 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=linaro.org header.i=@linaro.org header.b="TusL9Kzh"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 4D0C484DE2; Thu, 20 Oct 2022 04:33:38 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-pj1-x1031.google.com (mail-pj1-x1031.google.com [IPv6:2607:f8b0:4864:20::1031]) (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 67B2184D42 for ; Thu, 20 Oct 2022 04:33:35 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=paul.liu@linaro.org Received: by mail-pj1-x1031.google.com with SMTP id o17-20020a17090aac1100b0020d98b0c0f4so1980477pjq.4 for ; Wed, 19 Oct 2022 19:33:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=BujH6rWAccGfmjmK+TZ8p27q7dsvzasZJEiW9oOqxw0=; b=TusL9KzhC3AWIP0hnIkOOyTI6LmRKhEButS9h2kuzjLhn+ve6HPeStpjR5EY2ePd9x W1YJCPltCqxa7nPBVWQAMDCKEK/4MlNTNx10TzGDFXzsIFdOKsisDlvblAJmdqqK0SMX isW5ADXDfmC/dNa3h5cyk49H+Bxl9aUYIuCghfz696IVGD1TEZ3tHDe4TqxWEPo8ODQr os9CCfDwzNSAbhKKR1rF8X5hPlFZotqp33dKMqpTLEqPJVG/C6EKybfThkBvxDu+z4UN u9chbzuq82ijBOqlAutcFRTqfj3yhyZzrhLn2jgZJqqAxueuni9nagr0g18e6VOfv124 jc6w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=BujH6rWAccGfmjmK+TZ8p27q7dsvzasZJEiW9oOqxw0=; b=Y3KcCe6XxBivpQTsSakaoNB97LrgXbJR4ZynzESa6EJDrRwIuJvXvgJwasE+Q6gOCq 8aDkp4lDLiiMnIxz9MDYw3E70FTE6B08jvBps7QR4VzNO5KLzWPxqNK/4fRocEzZrVb6 USxluHwEl9eM5/qYfH7Cschs3Ho+NHot8qzVxLpMkUyz4ppAoQ9/XVoplvXaLbXjAcep wrkP0gCtBA7VzVN5yVRHqV5y/MVZBO1nHVFdAXewo5Xi/M86iVKbj1OwXg3nKPEXU7os GLd5IVLcU5KadyQ4pXjlL38k3z8gsLc6wHF1dirE+J10wp1jo6UXUvlm/nv19bEmxOyK GM9w== X-Gm-Message-State: ACrzQf2Eb+UyjYGU+Qib4NbTapQzIXE/sNAe7cLrnVGcJ9fm5V9G2c+P 1wIdoig6rH34lj+kiLq8lmsoRdgAUD09bA== X-Received: by 2002:a17:90b:3845:b0:20d:ad62:bba1 with SMTP id nl5-20020a17090b384500b0020dad62bba1mr13223362pjb.183.1666233213537; Wed, 19 Oct 2022 19:33:33 -0700 (PDT) Received: from localhost ([111.184.129.17]) by smtp.gmail.com with ESMTPSA id 190-20020a6205c7000000b00565f4efbc0csm12003773pff.49.2022.10.19.19.33.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 19 Oct 2022 19:33:33 -0700 (PDT) From: "Ying-Chun Liu (PaulLiu)" To: u-boot@lists.denx.de Cc: "Ying-Chun Liu (PaulLiu)" Subject: [PATCH 0/1] imx8m: ddr_init: fix reading of DDR4 MR registers Date: Thu, 20 Oct 2022 10:33:20 +0800 Message-Id: <20221020023321.476550-1-paul.liu@linaro.org> X-Mailer: git-send-email 2.35.1 MIME-Version: 1.0 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 Accorting to commit 290ffe57886271a6 we need to read more significant bytes to get a non-zero value. However commit 7e9bd84883aeb1e2 removes it by accident. Thus we add the changes back. This is needed to let imx8mm-cl-iot-gate to boot correctly. Ying-Chun Liu (PaulLiu) (1): imx8m: ddr_init: fix reading of DDR4 MR registers drivers/ddr/imx/imx8m/ddr_init.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-)