Dirk Behme wrote:
>> Otherwise, either add something to the MTD API that the nand command can
>> call, or have your own board-specific command defined in the board file. 
>> Don't put platform-specific ifdefs in generic files.
> 
> Do you have any example how to extend MTD API

You'd need to add callbacks in the device structures; since this is a 
workaround for legacy support, and not something that is desireable in 
most cases, I'd go with the latter option of a board-specific command.

> and/or can link to 
> example where board-specific command is already used?

grep -rI U_BOOT_CMD board/

-Scott
_______________________________________________
U-Boot mailing list
[email protected]
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to