Skip to contentSkip to conversation

Bug-fix in drivers mtd nand Makefile

U-Boot kevin.morfitt at fearnside-systems.co.uk 2 participants 3 messages Jun 18, 2009 – Jun 23, 2009

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

The S3C2410 NAND driver source file is included in the makefile instead of the object file.

---
 drivers/mtd/nand/Makefile |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/mtd/nand/Makefile +1 -1
index 71dd5b9..7dfbeb5 100644
@@ -42,7 +42,7 @@ COBJS-$(CONFIG_NAND_FSL_ELBC) += fsl_elbc_nand.o
 COBJS-$(CONFIG_NAND_FSL_UPM) += fsl_upm.o
 COBJS-$(CONFIG_NAND_MPC5121_NFC) += mpc5121_nfc.o
 COBJS-$(CONFIG_NAND_NOMADIK) += nomadik.o
-COBJS-$(CONFIG_NAND_S3C2410) += s3c2410_nand.c
+COBJS-$(CONFIG_NAND_S3C2410) += s3c2410_nand.o
 COBJS-$(CONFIG_NAND_S3C64XX) += s3c64xx.o
 COBJS-$(CONFIG_NAND_OMAP_GPMC) += omap_gpmc.o
 endif

-- 1.6.0.6

#1 lore raw

Scott - sorry, I forgot to cc you on this one.

Quoted 22 lines · kevin.morfitt at fearnside-systems.co.uk

The S3C2410 NAND driver source file is included in the makefile instead of the object file.

---
 drivers/mtd/nand/Makefile |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/mtd/nand/Makefile +1 -2
index 71dd5b9..7dfbeb5 100644
@@ -42,7 +42,7 @@ COBJS-$(CONFIG_NAND_FSL_ELBC) += fsl_elbc_nand.o
 COBJS-$(CONFIG_NAND_FSL_UPM) += fsl_upm.o
 COBJS-$(CONFIG_NAND_MPC5121_NFC) += mpc5121_nfc.o
 COBJS-$(CONFIG_NAND_NOMADIK) += nomadik.o
-COBJS-$(CONFIG_NAND_S3C2410) += s3c2410_nand.c
+COBJS-$(CONFIG_NAND_S3C2410) += s3c2410_nand.o
 COBJS-$(CONFIG_NAND_S3C64XX) += s3c64xx.o
 COBJS-$(CONFIG_NAND_OMAP_GPMC) += omap_gpmc.o
 endif
-- 1.6.0.6 
Quoted 5 lines

_______________________________________________
U-Boot mailing list
U-Boot at lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

__________ Information from ESET NOD32 Antivirus, version of virus signature database 4179 (20090622) __________

The message was checked by ESET NOD32 Antivirus.

http://www.eset.com

#2 lore raw
In reply to kevin.morfitt at fearnside-systems.co.uk
Quoted 13 lines · kevin.morfitt at fearnside-systems.co.uk

The S3C2410 NAND driver source file is included in the makefile instead of the object file.

---
 drivers/mtd/nand/Makefile |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/mtd/nand/Makefile +0 -0
index 71dd5b9..7dfbeb5 100644

drivers/mtd/nand/Makefile COBJS-$(CONFIG_NAND_FSL_ELBC) += fsl_elbc_nand.o · line 48

Quoted 8 lines
drivers/mtd/nand/Makefile +1 -1
@@ -42,7 +42,7 @@ COBJS-$(CONFIG_NAND_FSL_ELBC) += fsl_elbc_nand.o
 COBJS-$(CONFIG_NAND_FSL_UPM) += fsl_upm.o
 COBJS-$(CONFIG_NAND_MPC5121_NFC) += mpc5121_nfc.o
 COBJS-$(CONFIG_NAND_NOMADIK) += nomadik.o
-COBJS-$(CONFIG_NAND_S3C2410) += s3c2410_nand.c
+COBJS-$(CONFIG_NAND_S3C2410) += s3c2410_nand.o
 COBJS-$(CONFIG_NAND_S3C64XX) += s3c64xx.o
 COBJS-$(CONFIG_NAND_OMAP_GPMC) += omap_gpmc.o
 endif

Applied to u-boot-nand-flash.

-Scott