From 90ca3b6bd7d7849898fe2363a9e6d0e002c95943 Mon Sep 17 00:00:00 2001 From: David Hendricks Date: Fri, 16 Nov 2012 14:48:22 -0800 Subject: Add multi-architecture support to cbfstool This is an initial re-factoring of CBFS code to enable multiple architectures. To achieve a clean solution, an additional field describing the architecture has to be added to the master header. Hence we also increase the version number in the master header. Change-Id: Icda681673221f8c27efbc46f16c2c5682b16a265 Signed-off-by: Stefan Reinauer Signed-off-by: Hung-Te Lin Signed-off-by: David Hendricks Reviewed-on: http://review.coreboot.org/1944 Tested-by: build bot (Jenkins) --- payloads/coreinfo/cbfs_module.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'payloads/coreinfo/cbfs_module.c') diff --git a/payloads/coreinfo/cbfs_module.c b/payloads/coreinfo/cbfs_module.c index ceb0e3cce2..063574731d 100644 --- a/payloads/coreinfo/cbfs_module.c +++ b/payloads/coreinfo/cbfs_module.c @@ -41,7 +41,8 @@ struct cbheader { u32 bootblocksize; u32 align; u32 offset; - u32 pad[2]; + u32 architecture; + u32 pad[1]; } __attribute__ ((packed)); struct cbfile { -- cgit v1.2.3