From patchwork Mon Aug 23 02:49:51 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ying-Chun Liu X-Patchwork-Id: 501536 Delivered-To: patch@linaro.org Received: by 2002:a02:6f15:0:0:0:0:0 with SMTP id x21csp1791303jab; Sun, 22 Aug 2021 19:50:09 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwDA1w0BI9QyZVSYKpKHjEj7JNyN1VQC/WM50/+K+XvyPq5BYodOGmMeCdmF6CArr4HZRfi X-Received: by 2002:a50:9b03:: with SMTP id o3mr34165462edi.203.1629687009163; Sun, 22 Aug 2021 19:50:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1629687009; cv=none; d=google.com; s=arc-20160816; b=qG0imIBVeGHf5fEKMgxKIp0Z++gjManZpGXpUYKm7IJR5WwOszJJmHfB8hcShps36V FRQkqE/u2yObmNgUiNolWPjOWailrcQaIqlRMAhqqkGM63OPaeioxTDMKBBNXbxMC3IG mRevbsUZ30PKVf+GxMKoMKouiS9YdHCnoiP2S9e6zmlxhgBBdU9OkBYugu1kw9V5z5k5 LJMOiY9ItgR/fjYkhfpnCfkT7xAjtmBHRy2SbU8EzbW4r6mHzTM88R9MXjbyhNe1Ac0E HWqsBbhBPqrCfynttnrZZ0l5SDgnKD2uysx25LCQF9qpj4AXTIvVs6YcTOTdo9szn/Pz pUuA== 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=areNXFrGYs2ICQPOtJ6nsogvYWvFm4/MPGA0pppkqLE=; b=tHPUUDkr4D4tACtGHEt+zHzqqChwqQoNr5BkaaQ5eR3Z76IrGBaZn0bYtOhLIAK+Nz UheVzOWng/+26q5K9PpwFW86HqtPl/1jbI7IaNFGOLejeJL0URT6Zol8TF/4lNQVbnJF E5nS0waLRpKNixB6Rxsv7gH7kaPcDLc76qUqUOTtEI4LqIFZ3RmNdADrKGHzk33pbPzS e75XuYAOwBWJfa8lAPaQS7dkCGPpg+mcOqZNpDDfOYaRREXpWSNzzWK+nNbQhFEGwfvx /IGX5uK1jjI4XV/BIi5nNVXQnPSZns+iPQUwlfsPBLmUgketuWjVZtEqCtQnKXXG+ctp 9g5g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=GWtGvYhP; 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=QUARANTINE dis=NONE) header.from=gmail.com 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 k7si13501721ejk.77.2021.08.22.19.50.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 22 Aug 2021 19:50:09 -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=@gmail.com header.s=20161025 header.b=GWtGvYhP; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 6F6AC82C0C; Mon, 23 Aug 2021 04:50:05 +0200 (CEST) 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="GWtGvYhP"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id DD98C82EEC; Mon, 23 Aug 2021 04:50:01 +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,FREEMAIL_FROM,SPF_HELO_NONE, SPF_PASS autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-pl1-x634.google.com (mail-pl1-x634.google.com [IPv6:2607:f8b0:4864:20::634]) (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 1916F821F0 for ; Mon, 23 Aug 2021 04:49:58 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=grandpaul@gmail.com Received: by mail-pl1-x634.google.com with SMTP id j2so4875230pll.1 for ; Sun, 22 Aug 2021 19:49:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=areNXFrGYs2ICQPOtJ6nsogvYWvFm4/MPGA0pppkqLE=; b=GWtGvYhPZRX0FvIoAmvYPzgjv2mhqKTgWbBHNqrJZxjUXkyn866DVSemaQ3ZXsdZFL 9LpDxZikfDk6XvfWDXfBUHrTrCNzC3v1xF3HOUQhZnaeCM0mt1Qx/J5F4LYuf+YYpkAr hxKrhdmsFxDFlRGT9Hz9NSPux2XKKSKSeHT+g5qCkIOaa2EZjm4F3awB04vwSXNplFvX BNy4kw91becsY+cdbpy5DtXsyOeEb5cxFD/gB0xMg6jJUNVFnVkTN3tgmNampkgoq78z wPVAdCVtIVKFrVh9zuobtuFRw1eWl/x4d+Q3699ZZFwvfnFQvX8/daFrW4qqwQ6JEhNm 8/Fw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=areNXFrGYs2ICQPOtJ6nsogvYWvFm4/MPGA0pppkqLE=; b=MZCYPsSY8uA6PsWWnjVDHmK6bKpDnk7wVt1bbh6+EQMxuNcOnEy0P6RRd6GWp8Wfin CZtnMzzVuAfrI4IvcIZd/Xh7vls9dFAehSA9kNVrQskDqtnBaj5Ovsfhf7FDrv2fYoMP h+i6momYEXh9Y/XER5vmTk4/g2lW3iZM6zfzSH0RnM2nvGtaf/DvAW9D5Zq5gVvTb6fm JxVWuoScij9UZTsvrkLGKMhKdpFRtR9ur4iSp2H7dKSg1rCd8xKntrpyRq7hXpesLhRE O5x0ibipXWYabd9EXe/g5eEfT3Dl7b4aFLSlsDfLSxbpC9dIce2QT0W4SCz5DSWuaEmL V9qQ== X-Gm-Message-State: AOAM531Po1z9A2kkAx/9YxhHX2hJnxEBnySOT6Ujq/Iet1efNH1WYqqf RbNXgHX/3Df8T0rSv+rz4+Ft00X5xGM= X-Received: by 2002:a17:90a:a382:: with SMTP id x2mr18039937pjp.86.1629686996215; Sun, 22 Aug 2021 19:49:56 -0700 (PDT) Received: from localhost (host-111-184-129-17.dynamic.kbtelecom.net. [111.184.129.17]) by smtp.gmail.com with ESMTPSA id x14sm13867334pfa.127.2021.08.22.19.49.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 22 Aug 2021 19:49:55 -0700 (PDT) From: Ying-Chun Liu To: u-boot@lists.denx.de Cc: "Ying-Chun Liu (PaulLiu)" Subject: [PATCH 0/1] arm: imx8m: imx8mm-cl-iot-gate: Add support for detect memory size Date: Mon, 23 Aug 2021 10:49:51 +0800 Message-Id: <20210823024952.2047237-1-grandpaul@gmail.com> X-Mailer: git-send-email 2.32.0 MIME-Version: 1.0 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 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.2 at phobos.denx.de X-Virus-Status: Clean From: "Ying-Chun Liu (PaulLiu)" When purchasing imx8mm-cl-iot-gate it is able to customize the memory size. It could be 1GB, 2GB and 4GB. We implement board_phys_sdram_size() to detect the memory size for usage. This patch was trying to fix the regression on mainline U-boot for imx8mm-cl-iot-gate. However this is not related to the regression. But we should have this implemented anyway. Ying-Chun Liu (PaulLiu) (1): arm: imx8m: imx8mm-cl-iot-gate: Add support for detect memory size .../imx8mm-cl-iot-gate/imx8mm-cl-iot-gate.c | 25 +++++++++++++++++++ include/configs/imx8mm-cl-iot-gate.h | 2 +- 2 files changed, 26 insertions(+), 1 deletion(-) -- 2.32.0