Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-10.7 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 35D24C4338F for ; Tue, 24 Aug 2021 09:44:36 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id 8A43E61220 for ; Tue, 24 Aug 2021 09:44:35 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 8A43E61220 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=lists.denx.de Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id E518681F74; Tue, 24 Aug 2021 11:44:32 +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="tK+i1k6d"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id B793F82DBA; Tue, 24 Aug 2021 11:44:30 +0200 (CEST) Received: from mail-pj1-x1036.google.com (mail-pj1-x1036.google.com [IPv6:2607:f8b0:4864:20::1036]) (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 177EF80A22 for ; Tue, 24 Aug 2021 11:44:27 +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-pj1-x1036.google.com with SMTP id fs6so400419pjb.4 for ; Tue, 24 Aug 2021 02:44:27 -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=/29SYcr5eBTYn+zV1DyhYgtMGJPBrrpCAaawdrOP2BM=; b=tK+i1k6dZKrHovQk+kE+5kkCQ5Vh+4quitECRHygDAs6TfyjETPqp3lNtQCIPqYTMV FL3ETtpDdLLEusAb8QW7kPywux478ETth49C4ptLD12H0Pkrjm1xZp7DZ9HFqF9TkBh6 KH7uc98VQygR00KQEYV5IWM2nHxygYpexr83riE6tqFtousvYJyIlfDxvOsZumKMhQ1c j4v/3SUUTv4pBGHW9O8iN4Uhg7Tg9GiZIyjLTRYa1ewFYD+AOUXcpciCOuujjgc6u8KT FkfvSPO6Pew1/cM1HfXhd2uwVVheydOaF2OpLghplPEo+RA14BJ1AqUSYdNTD2u24QAX aYpw== 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=/29SYcr5eBTYn+zV1DyhYgtMGJPBrrpCAaawdrOP2BM=; b=S/TYyjcCwSTyJn2BhSUI+s4Nete6a9LI9BQu72hlfPz77LuOL1nMF3Fley+b3B71P/ qxI5XiQaV+FRt8X3KFYw375Jea6Ji72KQMVULJNO+Hhp2xJIi1wVvMxfA+vGgrpycGeo MnaX/pVIn+2G+PGHUfgHn8hLjAiXly1OAaznHs9KNt2kFH7Fgk7JauFqoRbNDDnJZRVE cCD9AjAucVm3r63NrAkYaY8gyYkD3X+Y0lQqMZVsGKFIs/g99TBDKgGQ2O9ihUZyxhc0 fKVJ/CKcHHVVLVd72B5I63pOgkTMLYlFYCl2UUaz6z9nVCHdLPdHs+HuS6A6pTI9Vch9 pUyw== X-Gm-Message-State: AOAM531/d3YQamGSeFg2Hc55rOCrnXtvq1FHzUa+hHqN3RKKGvFaCtb7 40Zi58i9Kr0VotsDjrz7zKrovAaFEOI= X-Google-Smtp-Source: ABdhPJzGKt7WY8R0cE486WhWkdIR86NX5Jl7eZzGagv66H1tWXSiAAMzuMFP/FtJta6SSPUfKSsoGQ== X-Received: by 2002:a17:90a:7107:: with SMTP id h7mr3679842pjk.177.1629798265208; Tue, 24 Aug 2021 02:44:25 -0700 (PDT) Received: from localhost (host-111-184-129-17.dynamic.kbtelecom.net. [111.184.129.17]) by smtp.gmail.com with ESMTPSA id fv23sm1922344pjb.49.2021.08.24.02.44.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 24 Aug 2021 02:44:24 -0700 (PDT) From: Ying-Chun Liu To: u-boot@lists.denx.de Cc: "Ying-Chun Liu (PaulLiu)" Subject: [PATCH v2 0/1] arm: imx8m: imx8mm-cl-iot-gate: Add support for detect memory size Date: Tue, 24 Aug 2021 17:44:18 +0800 Message-Id: <20210824094419.2199534-1-grandpaul@gmail.com> X-Mailer: git-send-email 2.32.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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. v2: use hang() instead of while(1) 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 +++++++++++++++++++ 1 file changed, 25 insertions(+) -- 2.32.0