[U-Boot] why does supposedly generic flash code have references to jffs2?
Robert P. J. Day
rpjday at crashcourse.ca
Sat Feb 2 16:38:57 CET 2013
perusing the code in cmd_flash.c and i'm puzzled by this:
#if defined(CONFIG_CMD_MTDPARTS)
#include <jffs2/jffs2.h>
why would supposedly low-level MTD partitioning code have any need for
filesystem-specific header files -- in this case, jffs2?
a similar example can be found in cmd_mtdparts.c:
#include <jffs2/load_kernel.h>
admittedly, i haven't followed the code all the way to the end, but
it's not clear to me why fundamental flash, MTD and partitioning code
should have any dependency on a particular filesystem type, but i'm
certainly willing to be corrected.
rday
--
========================================================================
Robert P. J. Day Ottawa, Ontario, CANADA
http://crashcourse.ca
Twitter: http://twitter.com/rpjday
LinkedIn: http://ca.linkedin.com/in/rpjday
========================================================================
More information about the U-Boot
mailing list