Set up a test framework. This lays out a common test framework structure that should make it simpler to extend tests in the future. Signed-off-by: Charles Manning <cdhmanning@gmail.com>
yaffs: Refactor bit counting code For Linux kernel we use hweight8() and hweight32(). This allows use of special bit-counting code instructions in processors that do this. The yaffs direct we now only use one set of code. There were two. NB On x86 the yaffs hweight8 code is actually a lot faster than the sofwtare implementation in Linux kernel. Signed-off-by: Charles Manning <cdhmanning@gmail.com>
yaffs: Remove SHORT_NAMES_IN_RAM and WIDE_TNODE_DISABLE configs These have been removed from Linux as their use is discouraged except for debugging purposes. The logic has also changed for SHORT_NAMES_IN_RAM. This is now negative logic. Set CONFIG_YAFFS_NO_SHORT_NAMES to **disable** short names. Signed-off-by: Charles Manning <cdhmanning@gmail.com>