aboutsummaryrefslogtreecommitdiffstats
path: root/README
diff options
context:
space:
mode:
authorGabe Black2012-10-12 09:26:11 -0500
committerTom Rini2012-10-22 10:29:55 -0500
commit84cd93272e384bf26e8346f2153a0b46dfb7b434 (patch)
tree9d4ecf9da5fee2d86f0aeb8e83e798c5752afe3c /README
parent9936be31fb11a702f6f2f867a2e65dc423ed7d36 (diff)
downloadu-boot-84cd93272e384bf26e8346f2153a0b46dfb7b434.tar.gz
u-boot-84cd93272e384bf26e8346f2153a0b46dfb7b434.tar.xz
u-boot-84cd93272e384bf26e8346f2153a0b46dfb7b434.zip
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>
Diffstat (limited to 'README')
-rw-r--r--README7
1 files changed, 7 insertions, 0 deletions
diff --git a/README b/README
index df4aed14e4..10017c53d5 100644
--- a/README
+++ b/README
@@ -1316,6 +1316,13 @@ The following options need to be configured:
1316 This will also enable the command "fatwrite" enabling the 1316 This will also enable the command "fatwrite" enabling the
1317 user to write files to FAT. 1317 user to write files to FAT.
1318 1318
1319CBFS (Coreboot Filesystem) support
1320 CONFIG_CMD_CBFS
1321
1322 Define this to enable support for reading from a Coreboot
1323 filesystem. Available commands are cbfsinit, cbfsinfo, cbfsls
1324 and cbfsload.
1325
1319- Keyboard Support: 1326- Keyboard Support:
1320 CONFIG_ISA_KEYBOARD 1327 CONFIG_ISA_KEYBOARD
1321 1328