| To: | John Crispin <blogic@openwrt.org> |
|---|---|
| Subject: | Re: [PATCH V2 06/10] MIPS: lantiq: add NOR flash support |
| From: | Artem Bityutskiy <dedekind1@gmail.com> |
| Date: | Mon, 07 Mar 2011 10:58:40 +0200 |
| Cc: | Ralf Baechle <ralf@linux-mips.org>, linux-mips@linux-mips.org, Ralph Hempel <ralph.hempel@lantiq.com>, linux-mtd@lists.infradead.org, Daniel Schwierzeck <daniel.schwierzeck@googlemail.com>, David Woodhouse <dwmw2@infradead.org> |
| Dkim-signature: | v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:subject:from:reply-to:to:cc:in-reply-to :references:content-type:date:message-id:mime-version:x-mailer :content-transfer-encoding; bh=nmM6ASsNO7sMYFATQoqN5B7MvJ2AU85hJ3FaMo5bKq8=; b=ohPeP8oGV2DnIURDzKtFn1PjtIduq8AsqgJyc/94GPoGYoRglKui7ZqLLN/gNJfFif MIXJn/r+b4mLNbFrNDzH0nU7APQEP2TwqjXZv3rRK+H2diDQNJGGC9vjz0VZO5SPWSUu hFei6JpSEABsL8W6lb2des2hp0U9c/ZPr33yU= |
| Domainkey-signature: | a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=subject:from:reply-to:to:cc:in-reply-to:references:content-type :date:message-id:mime-version:x-mailer:content-transfer-encoding; b=JdqkfNuPfv1cQKHE8WeN/vvyIvtCb+Fia66Ic1JjV8vFeL9T70dHt+I6VA/6W9tjWm E5caDZ+wL1uI430hIWRoNaJKm8d286D5lxMLMsWMA6v9iyTZZ9nSVC6UWCTcSinU3jXc Ntne4ev8o18K6au7kRvB4rJQJFs4W3wt+w1qU= |
| In-reply-to: | <1298996006-15960-7-git-send-email-blogic@openwrt.org> |
| Original-recipient: | rfc822;linux-mips@linux-mips.org |
| References: | <1298996006-15960-1-git-send-email-blogic@openwrt.org> <1298996006-15960-7-git-send-email-blogic@openwrt.org> |
| Reply-to: | dedekind1@gmail.com |
| Sender: | linux-mips-bounce@linux-mips.org |
On Tue, 2011-03-01 at 17:13 +0100, John Crispin wrote: > NOR flash is attached to the same EBU (External Bus Unit) as PCI. As described > in the PCI patch, the EBU is a little buggy, resulting in the upper and lower > 16 bit of the data on a 32 bit read are swapped. (essentially we have a > addr^=2) > > To work around this we do a addr^=2 during the probe. Once probed we adapt > cfi->addr_unlock1 and cfi->addr_unlock2 to represent the endianess bug. > > Changes in V2 > * handle the endianess bug inside the map code and not in the generic cfi code > * remove the addr swizzle patch > > Signed-off-by: John Crispin <blogic@openwrt.org> > Signed-off-by: Ralph Hempel <ralph.hempel@lantiq.com> > Cc: David Woodhouse <dwmw2@infradead.org> > Cc: Daniel Schwierzeck <daniel.schwierzeck@googlemail.com> > Cc: linux-mips@linux-mips.org > Cc: linux-mtd@lists.infradead.org There are a couple checkpatch.pl warnings, would you please address them and resend? -- Best Regards, Artem Bityutskiy (Артём Битюцкий) |
| Previous by Date: | Re: [RFC PATCH v2 02/12] of: Allow scripts/dtc/libfdt to be used from kernel code, Sam Ravnborg |
|---|---|
| Next by Date: | Re: [PATCH V2 06/10] MIPS: lantiq: add NOR flash support, John Crispin |
| Previous by Thread: | [PATCH V2 06/10] MIPS: lantiq: add NOR flash support, John Crispin |
| Next by Thread: | Re: [PATCH V2 06/10] MIPS: lantiq: add NOR flash support, John Crispin |
| Indexes: | [Date] [Thread] [Top] [All Lists] |