u-boot/fs
Gabe Black 84cd93272e fs: Add a Coreboot Filesystem (CBFS) driver and commands
This change adds CBFS support and some commands to use it to u-boot. These
commands are:

cbfsinit - Initialize CBFS support and pull all metadata into RAM. The end of
the ROM is an optional parameter which defaults to the standard 0xffffffff and
can be used to support multiple CBFSes in a system. The last one set up with
cbfsinit is the one that will be used.

cbfsinfo - Print information from the CBFS header.

cbfsls - Print out the size, type, and name of all the files in the current
CBFS. Recognized types are translated into symbolic names.

cbfsload - Load a file from CBFS into memory. Like the similar command for fat
filesystems, you can optionally provide a maximum size.

Support for CBFS is compiled in when the CONFIG_CMD_CBFS option is specified.

The CBFS driver can also be used programmatically from within u-boot.

If u-boot needs something out of CBFS very early before the heap is
configured, it won't be able to use the normal CBFS support which caches some
information in memory it allocates from the heap. The
cbfs_file_find_uncached function searches a CBFS instance without touching
the heap.

Signed-off-by: Gabe Black <gabeblack@google.com>
Signed-off-by: Stefan Reinauer <reinauer@chromium.org>
Signed-off-by: Simon Glass <sjg@chromium.org>
2012-10-22 08:29:55 -07:00
..
cbfs fs: Add a Coreboot Filesystem (CBFS) driver and commands 2012-10-22 08:29:55 -07:00
cramfs gunzip: rename z{alloc, free} to gz{alloc, free} 2012-04-30 16:54:51 +02:00
ext4 ext4: Rename block group descriptor table from gd to bgd 2012-10-03 18:21:33 -07:00
fat fs: fat: Fix mkcksum() function parameters 2012-10-17 07:59:11 -07:00
fdos Convert ISO-8859 files to UTF-8 2011-08-04 23:34:02 +02:00
jffs2 linux/compat.h: rename from linux/mtd/compat.h 2012-04-30 16:54:51 +02:00
reiserfs cmd_reiser: use common get_device_and_partition function 2012-09-25 14:49:18 -07:00
ubifs ARM: prevent misaligned array inits 2012-10-15 11:53:07 -07:00
yaffs2 yaffs2: Fix GCC 4.6 compile warnings 2012-10-08 11:15:04 -07:00
zfs cmd_zfs: use common get_device_and_partition function 2012-09-25 14:49:17 -07:00
Makefile fs: Add a Coreboot Filesystem (CBFS) driver and commands 2012-10-22 08:29:55 -07:00