From mboxrd@z Thu Jan 1 00:00:00 1970 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,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED 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 266CDC4338F for ; Tue, 24 Aug 2021 10:30:01 +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 D8ABF611CB for ; Tue, 24 Aug 2021 10:29:59 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org D8ABF611CB Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=denx.de 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 364A081F74; Tue, 24 Aug 2021 12:29:57 +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=1629800997; bh=1lbg15WS+8vL3Zyrw2wmBH1tuInhWvWl4kq2ovWJPJI=; h=Date:From:To:Cc:Subject:In-Reply-To:References:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=YKDRbMmK4L9V1iLhTsf4BcP9doxCv3Nk1MeK7jqGA+01ehl/3RPyEMHiOqiMu5R4t ZKva4SssWKGt8dyhJloWTCe5vNqwHgNh9SKSwDp6MyH6HHcxwS94oFjvMrqzCktyMD z4r7YAIOVN2GIbNmqbIOgOrKLLVpZ3nrCanXZtNvuqz7XTQazdQ1EFKvrrbwPat7u9 YSuRiYxZQdFFAzuBqQyUk2vxGzgf1DnUpMzHiOxOZr8NYxsJ59kWIXSN4ZxYX7JGAJ nXefL83XDj9hLFrfH7hP+RIeVmuwjSwhozygdi4lw1z77JdE+NZ2SjiabgB0gD0EGn GeUbOeGbVvprA== 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 7B22B8033E; Tue, 24 Aug 2021 12:29:55 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=denx.de; s=phobos-20191101; t=1629800995; bh=1lbg15WS+8vL3Zyrw2wmBH1tuInhWvWl4kq2ovWJPJI=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=zfUEGkbqWI7LPpx9y7Vz01fZ1mBm9l8a58YKNOkHVeQtF/U60KoyYTYHmiaYcKMsH gJ7jRU4kaLUS2ZcXJ60TLsyvhGXuo4BmwMIkyVt2IOkiDMD3K6Hwwd+iA73V5PJjZw 2GROjEzmgnt52xl3oD/fTwuXK1MEvVswNemmJa9pbx4BR64NCey4WAeQp8bdZX/n2x 6p4305wcG1e00m2iVpvKP3LqZFlhsB4VpmT3ZOP6MZitXWaeL8+YEmUxEhQzM1THxk e/Vj4Qoinow3ERAEJluYxsBv9WfG0XPq5/BAM4b63k7E7EA3QC2nWUNSqhautpo/EL 1jzA0ofYusnew== MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Tue, 24 Aug 2021 07:29:55 -0300 From: Fabio Estevam To: Ying-Chun Liu Cc: u-boot@lists.denx.de, "Ying-Chun Liu (PaulLiu)" , Frieder Schrempf , uboot-imx Subject: Re: [PATCH v2 1/1] arm: imx8m: imx8mm-cl-iot-gate: Add support for detect memory size In-Reply-To: <20210824094419.2199534-2-grandpaul@gmail.com> References: <20210824094419.2199534-1-grandpaul@gmail.com> <20210824094419.2199534-2-grandpaul@gmail.com> Message-ID: <491d9890c4bfa6554ecf2da330bd0bed@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.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 Hi Paul, On 24/08/2021 06:44, Ying-Chun Liu wrote: > 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. > > Signed-off-by: Ying-Chun Liu (PaulLiu) > Cc: Fabio Estevam > Cc: Frieder Schrempf > Cc: uboot-imx > --- > v2: use hang() instead of while(1) Thanks for fixing this: Reviewed-by: Fabio Estevam -- DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-60 Fax: (+49)-8142-66989-80 Email: festevam@denx.de