From mboxrd@z Thu Jan 1 00:00:00 1970 From: dedekind1@gmail.com (Artem Bityutskiy) Date: Tue, 27 Apr 2010 10:29:36 +0300 Subject: [PATCH v3 0/2] ARM: MXC: mxc_nand: support i.MX21 In-Reply-To: References: <20100407134039.GE3688@pengutronix.de> <20100408133303.GK3688@pengutronix.de> Message-ID: <1272353376.26036.2.camel@localhost> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org 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 (????? ????????)