Skip to contentSkip to conversation

pxa: support pxa3xx onenand in saar and ttc dkb

PATCH New Haojian Zhuang 1 participant 1 message Sep 25, 2009

Subsystems (4)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 pxa: support pxa3xx onenand in saar and ttc dkb

Marvell PXA3xx bad block management is supported in pxa3xx onenand device driver. Enable it in saar and ttc dkb platform.

---
 arch/arm/mach-mmp/ttc_dkb.c |    2 +-
 arch/arm/mach-pxa/saar.c    |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
arch/arm/mach-mmp/ttc_dkb.c +1 -1
index 57d0535..dbd8cfd 100644
@@ -100,7 +100,7 @@ static struct resource ttc_dkb_resource_onenand[] = {
 };
 
 static struct platform_device ttc_dkb_device_onenand = {
-    .name        = "onenand",
+    .name        = "pxa3xx-onenand",
     .id        = -1,
     .dev        = {
         .platform_data    = &ttc_dkb_onenand_info,
arch/arm/mach-pxa/saar.c +1 -1
index 8b7ea09..6892867 100644
@@ -556,7 +556,7 @@ static struct resource saar_resource_onenand[] = {
 };
 
 static struct platform_device saar_device_onenand = {
-    .name        = "onenand",
+    .name        = "pxa3xx-onenand",
     .id        = -1,
     .dev        = {
         .platform_data    = &saar_onenand_info,
Signature · 5 lines
1.5.6.5

--001517741a14b62254047465bad3
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable