Skip to contentSkip to conversation

Adding a second ChipSelect to Samsung s3c2410 driver

DISCUSSION Gianluca 1 participant 1 message Dec 20, 2006 Memory technology devices (MTD)

lore
Share & tools
lore

Gianluca

author
#0 lore raw

Hello,
I am working on a Samsung SMDK S3C2442 eval board made by Meritech Ltd.
It is based on S3C2440 core with NAND Flash and SDRAM, all embedded into the same SoC, running at 300Mhz.
This board has an external NAND chip too. The internal nand flash chip select is connected with microprocessor nFCE chip select line coming from internal NAND Controller, and the external flash chip select is routed to nGCS5/GPA16 pin.

This NAND mtd/nand driver is working and it is using the s3c2410.c, but it uses only the nFCE as chip select. Which is the cleanest way to add another chip select (in this case an GPIO line) to this driver, without breaking the whole word?

Kindest regards,
---
Gianluca Renzi