* [PATCH] sa1100: collie: fall back to jedec_probe flash detection
@ 2013-07-20 23:07 Andrea Adami
2013-08-22 11:59 ` Andrea Adami
0 siblings, 1 reply; 2+ messages in thread
From: Andrea Adami @ 2013-07-20 23:07 UTC (permalink / raw)
To: linux-arm-kernel
Zaurus 5500 contains 2 LH28F640BFHE-PTTL90 (64M 4Mx16) and
the LH28F640BFHE-PTTL90.pdf datasheet available on the net shows
the exact erasesize and the OTP support.
At the moment only jedec_probe can discover the chip and
the NOR is mounted read only probably because of wrong vpp.
Signed-off-by: Andrea Adami <andrea.adami@gmail.com>
---
arch/arm/mach-sa1100/collie.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm/mach-sa1100/collie.c b/arch/arm/mach-sa1100/collie.c
index 612a456..7fb96eb 100644
--- a/arch/arm/mach-sa1100/collie.c
+++ b/arch/arm/mach-sa1100/collie.c
@@ -289,7 +289,7 @@ static void collie_flash_exit(void)
}
static struct flash_platform_data collie_flash_data = {
- .map_name = "cfi_probe",
+ .map_name = "jedec_probe",
.init = collie_flash_init,
.set_vpp = collie_set_vpp,
.exit = collie_flash_exit,
--
1.8.1.5
^ permalink raw reply related [flat|nested] 2+ messages in thread* [PATCH] sa1100: collie: fall back to jedec_probe flash detection
2013-07-20 23:07 [PATCH] sa1100: collie: fall back to jedec_probe flash detection Andrea Adami
@ 2013-08-22 11:59 ` Andrea Adami
0 siblings, 0 replies; 2+ messages in thread
From: Andrea Adami @ 2013-08-22 11:59 UTC (permalink / raw)
To: linux-arm-kernel
BUMP
At the moment cfi will not detect the collie NOR.
In the meanwhile we can revert to the jedec-probe map which has been
fixed with following commit:
mtd: jedec_probe: fix LH28F640BF definition
fe2f4c8e0bf2756b670ee78fa9772613a2ea8495
Somehow this is unsatisfactory because the flash is mounted READ ONLY
(as from factory, with a RO cramfs).
Further debugging of cfi detection and vpp is needed.
Andrea
On Sun, Jul 21, 2013 at 1:07 AM, Andrea Adami <andrea.adami@gmail.com> wrote:
> Zaurus 5500 contains 2 LH28F640BFHE-PTTL90 (64M 4Mx16) and
> the LH28F640BFHE-PTTL90.pdf datasheet available on the net shows
> the exact erasesize and the OTP support.
> At the moment only jedec_probe can discover the chip and
> the NOR is mounted read only probably because of wrong vpp.
>
> Signed-off-by: Andrea Adami <andrea.adami@gmail.com>
> ---
> arch/arm/mach-sa1100/collie.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/arch/arm/mach-sa1100/collie.c b/arch/arm/mach-sa1100/collie.c
> index 612a456..7fb96eb 100644
> --- a/arch/arm/mach-sa1100/collie.c
> +++ b/arch/arm/mach-sa1100/collie.c
> @@ -289,7 +289,7 @@ static void collie_flash_exit(void)
> }
>
> static struct flash_platform_data collie_flash_data = {
> - .map_name = "cfi_probe",
> + .map_name = "jedec_probe",
> .init = collie_flash_init,
> .set_vpp = collie_set_vpp,
> .exit = collie_flash_exit,
> --
> 1.8.1.5
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2013-08-22 11:59 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-07-20 23:07 [PATCH] sa1100: collie: fall back to jedec_probe flash detection Andrea Adami
2013-08-22 11:59 ` Andrea Adami
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).