[coreboot] [PATCH] Update the document of CBFS
Jonathan A. Kollasch
jakllsch at kollasch.net
Thu Apr 21 21:46:45 CEST 2011
On Thu, Apr 21, 2011 at 09:22:39PM +0800, Hamo wrote:
> CBFS document is a little old since the structure of it has changed a
> lot specially CBFS master header.
> This patch updated the document to show the newest structure of CBFS.
>
> Signed-off-by: Yang Bai <hamo.by at gmail.com>
>
> Index: documentation/cbfs.txt
> ===================================================================
> --- documentation/cbfs.txt (revision 6534)
> +++ documentation/cbfs.txt (working copy)
> @@ -144,10 +144,13 @@
> The following is the structure of the master header:
>
> struct cbfs_header {
> - unsigned int magic;
> - unsigned int size;
> - unsigned int align;
> - unsigned int offset;
> + u32 magic;
> + u32 version;
> + u32 romsize;
> + u32 bootblocksize;
> + u32 align;
> + u32 offset;
> + u32 pad[2];
> };
Any particular reason to not use the C99 uintXX_t types in the docs?
Jonathan Kollasch
More information about the coreboot
mailing list