From mboxrd@z Thu Jan 1 00:00:00 1970 Subject: Re: [PATCH v3 0/2] ARM: MXC: mxc_nand: support i.MX21 From: Artem Bityutskiy To: Ivo Clarysse In-Reply-To: References: <20100407134039.GE3688@pengutronix.de> <20100408133303.GK3688@pengutronix.de> Content-Type: text/plain; charset="UTF-8" Date: Tue, 27 Apr 2010 10:29:36 +0300 Message-ID: <1272353376.26036.2.camel@localhost> Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Cc: Sascha Hauer , linux-mtd@lists.infradead.org, linux-arm-kernel@lists.infradead.org Reply-To: dedekind1@gmail.com List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Thu, 2010-04-08 at 16:13 +0200, Ivo Clarysse wrote: > Allow mxc_nand.c to function on i.MX21 SoCs, since: > > 1) On i.MX21, if the NFC_INT_MASK bit in NFC_CONFIG1 is set, the NFC_INT > bit of NFC_CONFIG2 always reads out zero, even if an operation is > completed. > > 2) On i.MX21, sending a RESET command to the NAND flash controller does > not trigger an interrupt, nor does it cause the NFC_INT bit of > NFC_CONFIG2 to get set. > > 3) After reset is performed, NFC registers are again in their > default values. > > This patch series: > > - (Re-)sets all NFC registers after reset > > - Uses enable_irq / disable_irq_nosync instead of NFC_INT_MASK > to mask NFC interrupts (allowing NFC_CONFIG2:NFC_INT to used on i.MX21) Pushed both patches to l2-mtd-2.6.git / dunno with Acked-by: Sascha Hauer See http://git.infradead.org/users/dedekind/l2-mtd-2.6.git/shortlog/refs/heads/dunno -- Best Regards, Artem Bityutskiy (Артём Битюцкий)