[U-Boot] framework for serial flash

ashish priyadarshi priyadarshi.ashish at gmail.com
Wed Nov 11 07:34:10 CET 2009


Hello

We have a special "Serial flash controller" which was put into the standard
flash
framework of uboot (common/cmd_flash.c). Commands like 'cp', 'erase' could
be
used for operation over serial flash.

Now we have to use parallel flash (CFI), hence it is required to handle
"Serial flash controller" in another manner as both are exporting
'write_buff' leading
to a conflict.

Since we felt "Serial flash controller" resembles SPI flash framework, and
hence
decided to move it there. Problem is that this "Serial flash controller" is
also not
fitting in SPI framework because of its nature.

How to handle such situations, is there any other framework or we need to
introduce
our own commands? We are using "u-boot-2009.08".

Thanks
Ashish


More information about the U-Boot mailing list