From: Robert P. J. Day Date: Sat, 2 Feb 2013 10:38:57 -0500 (EST) Subject: [U-Boot] why does supposedly generic flash code have references to jffs2? Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de perusing the code in cmd_flash.c and i'm puzzled by this: #if defined(CONFIG_CMD_MTDPARTS) #include 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 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 ========================================================================