[patch 01/14] mtd: Flex-OneNAND support

Amul Saha amul.saha at samsung.com
Fri Jun 12 07:57:00 EDT 2009

Hi Artem,

>> +#ifdef MODULE
>> + flexonenand_setup(flex_bdry_info);
>> +#endif
> Why do you need this ifdef? What is the fundamental difference between
> onenand.ko as a module and onenand compiled-in?

flexonenand_setup( ) need not be called, when OneNAND is built-in.
This function-call will cause overhead unwantedly on every boot, during OneNAND scan.

flexonenand_setup( ) call is needed only when it has been built as a module.

Amul Kumar Saha 

More information about the linux-mtd mailing list