Configure M5329 NAND for Freescale MCF5329EVB (uClinux-dist-20150808)

Ted Victorio <[email protected]>
Newsgroups gmane.linux.uclinux.devel
Message-ID <[email protected]>
I am unable to compile for the M5329 NAND using the configuration below.

Distro:        uClinux-dist-20150808
Tool:           m68k-uclinux-tools-20101118
Platform:   Freescale MCF5329EVB

# Linux/m68k 4.0.0-uc0 Kernel Configuration

# Disk-On-Chip Device Drivers
CONFIG_MTD_NAND=y
CONFIG_MTD_NAND_M5329=y
CONFIG_MTD_NAND_IDS=y

# Bus devices
CONFIG_MTD=y

# User Modules And Translation Layers
CONFIG_MTD_BLKDEVS=y
CONFIG_MTD_BLOCK=y

# RAM/ROM/Flash chip drivers
CONFIG_MTD_CFI=y
CONFIG_MTD_GEN_PROBE=y
CONFIG_MTD_MAP_BANK_WIDTH_1=y
CONFIG_MTD_MAP_BANK_WIDTH_2=y
CONFIG_MTD_MAP_BANK_WIDTH_4=y
CONFIG_MTD_CFI_I1=y
CONFIG_MTD_CFI_I2=y
CONFIG_MTD_CFI_UTIL=y
CONFIG_MTD_RAM=y
CONFIG_MTD_ROM=y

# Mapping drivers for chip access
CONFIG_MTD_UCLINUX=y
CONFIG_MTD_UCLINUX_EBSS=y


Errors:
drivers/mtd/nand/m5329.c: In function 5329_init:
drivers/mtd/nand/m5329.c:85:2: error: lvalue required as left operand of assignment
drivers/mtd/nand/m5329.c:90:4: error: lvalue required as left operand of assignment
drivers/mtd/nand/m5329.c:92:4: error: lvalue required as left operand of assignment
drivers/mtd/nand/m5329.c:131:2: error: implicit declaration of function add_mtd_partitions

Do I need additional options? Or something else? 

Thank you very much.
Regards,
Ted


Note:
I have the same "Disk-On-Chip Device Drivers" set up with uClinux-dist-20080808 on MCF5329EVB,
and the board is working fine.

_______________________________________________
uClinux-dev mailing list
[email protected]
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by [email protected]
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.