From: Simon Kagstrom Date: Tue, 7 Jul 2009 15:55:10 +0200 Subject: [U-Boot] [PATCH 0/8]: Fixes for ubifs build on ARM Message-ID: <20090707155510.58ae70bb@marrow.netinsight.se> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hello! This series of patches corrects some of the issues I've had with building and using the ubifs support on ARM (and some general things). In summary: - move __set_bit and __clear_bit to bitops.h (was defined in ubifs.h) - define fls for all architectures (and ffs where it was missing) - unaligned.h was missing for ARM, add it - use do_div from div64.h for vsprintf (avoid __udivdi3) - use lldiv in ubifs (again to avoid __udivdi3 references) - handle VID header offset in the ubi part command - proper argument checking in ubifsmount I've built and tested it on ARM (OpenRD base), but some of the patches also affect other architectures, so please look this through! // Simon