RE: MTD Config.in items not escaped by bus availability

Hicks, Jamey
2002-10-30T15:52:39Z

> -----Original Message-----
> From: Brian J. Murrell
> [mailto:cc718ee62b87e84e665d57aa27e6bf39@interlinx.bc.ca]
> Sent: Monday, October 28, 2002 8:49 AM
> To: linux-mtd@lists.infradead.org
> Subject: MTD Config.in items not escaped by bus availability
>
>
> I have noticed that the whole MTD kernel configuration subsystem
> (drivers/mtd/Config.in) in the 2.4.19 kernel is not escaped by any bus
> configuration items. That is, even on a kernel that I configure with
> no busses (i.e. UML), I am still asked about MTD devices. Should ths
> really be so? How can I have any MTD devices with no bus to connect
> them to?

Some MTD devices connect directly to the CPU. It seems to me that if you have a CPU with a memory bus, then it is possible to have MTD devices, so drivers/mtd/Config.in needs to give you the option of selecting those devices.

The MTD configuration is all wrapped with the toplevel CONFIG_MTD option, so there is really only one question you would have to say 'No' to in order to avoid the others.

-Jamey