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 90208C43219 for ; Fri, 30 Sep 2022 12:42:54 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 5388A84CE3; Fri, 30 Sep 2022 14:42:51 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=kernel.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=kernel.org header.i=@kernel.org header.b="pY1dB/ic"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id CF8FD84D7F; Fri, 30 Sep 2022 14:42:49 +0200 (CEST) Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 24C1F84CE3 for ; Fri, 30 Sep 2022 14:42:47 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=kernel.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=rogerq@kernel.org Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id AEB02B82865; Fri, 30 Sep 2022 12:42:46 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id D3386C433D6; Fri, 30 Sep 2022 12:42:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1664541765; bh=K/Qrat/XDvGDB6GqjdRb4LhnSmBvteOM3cRYTPfnzcI=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=pY1dB/ic06H9IzKZg1e3HBTETI41V/0jkSuCuC0ME2LgUk1e0AqcjoJAdffIFowtM 9mfPm6wv432jUIvuppktq9PzPFUNNwb+syA5twHTAUq1iBAwgXiSRm6JJNf4DgUKev IJDRsEL9IGd5NxdtyF4qF8X1f95z3Yh0n9gmu2CcNDRWnNzTb6d4ljPEC+qqHoJvH0 Q5fYGE6wpZ8WH8F9niUEJIpxYS+Uokip/nd7UwgNaAoT65Yet5Uy1kyPKdo7GJgDlA CHmjqb1aZ67XY3oVaDDyMuOlhI4Us9/tw9BMtSyOehnH26EIy4xzwk+QR/bAwQY4qQ DluuZJ6BdgUyA== Message-ID: Date: Fri, 30 Sep 2022 15:42:42 +0300 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.9.1 Subject: Re: [u-boot][PATCH 0/3] Introduce TI GPMC memory controller driver Content-Language: en-US To: Tom Rini Cc: u-boot@lists.denx.de References: <20220928121149.1724-1-rogerq@kernel.org> <20220929175129.GG3044094@bill-the-cat> From: Roger Quadros In-Reply-To: <20220929175129.GG3044094@bill-the-cat> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit 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 Hi Tom, On 29/09/2022 20:51, Tom Rini wrote: > On Wed, Sep 28, 2022 at 03:11:46PM +0300, Roger Quadros wrote: > >> Hi, >> >> The GPMC is a unified memory controller dedicated for interfacing >> with external memory devices like >> - Asynchronous SRAM-like memories and ASICs >> - Asynchronous, synchronous, and page mode burst NOR flash >> - NAND flash >> - Pseudo-SRAM devices >> >> This driver will take care of setting up the GPMC based on >> the settings specified in the Device tree and then >> probe its children. > > Does this mean we'll be seeing some updates to (or removal of) the > existing nand/gpmc code under arch/arm/mach-omap2 ? > My initial plan was to get AM64 NAND to work without requiring any arch specific code. This should eventually be usable for mach-omap2 as well. We can then get rid of /arch/arm/mach-omap2/mem-common.c I have an omap3-beagle with NAND support with me so I could at least get it working on that board. It should be pretty much the same for all mach-omap2 boards. cheers, -roger