coreboot/util/cbfstool
Stefan Reinauer 8f74f3f522 cbfstool: Fix architecture check when adding payload
In the process of rewriting cbfstool for ARM and using
a new internal API a regression was introduced that would
silently let you add an ARM payload into an x86 CBFS image
and the other way around. This patch fixes cbfstool to
produce an error in that case again.

BRANCH=none
BUG=none
TEST=emerge-peach_pit with and without my other CL that fixes
     the cbfs image type and see it fail without that CL.

Change-Id: I37ee65a467d9658d0846c2cf43b582e285f1a8f8
Signed-off-by: Stefan Reinauer <reinauer@google.com>
Reviewed-on: https://chromium-review.googlesource.com/176711
Reviewed-by: Hung-Te Lin <hungte@chromium.org>
Commit-Queue: Stefan Reinauer <reinauer@chromium.org>
Tested-by: Stefan Reinauer <reinauer@chromium.org>
2013-11-15 03:54:46 +00:00
..
lzma cbfstool: remove dead code 2013-11-14 02:38:23 +00:00
cbfs-mkpayload.c ARM: Generalize armv7 as arm. 2013-10-02 09:18:44 +00:00
cbfs-mkstage.c ARM: Generalize armv7 as arm. 2013-10-02 09:18:44 +00:00
cbfs.h cbfstool: remove dead code 2013-11-14 02:38:23 +00:00
cbfs_image.c cbfstool: Fix architecture check when adding payload 2013-11-15 03:54:46 +00:00
cbfs_image.h cbfstool locate: Implement alignment switch --align/-a 2013-03-20 05:47:32 +01:00
cbfstool.c cbfstool: Fix architecture check when adding payload 2013-11-15 03:54:46 +00:00
coff.h GPLv2 notice: Unify all files to just use one space in »MA 02110-1301« 2013-03-01 10:16:08 +01:00
common.c cbfstool: remove dead code 2013-11-14 02:38:23 +00:00
common.h cbfstool: remove dead code 2013-11-14 02:38:23 +00:00
compress.c cbfstool: remove dead code 2013-11-14 02:38:23 +00:00
elf.h fix some wrong versions of the FSF's address (trivial) 2009-09-23 21:52:45 +00:00
EXAMPLE cbfstool: Update example file. 2013-02-04 11:12:15 +01:00
fit.c cbfstool: check potential microcode update earlier 2013-05-07 14:58:30 -07:00
fit.h cbfstool: Add update-fit command 2013-03-27 01:25:12 +01:00
fv.h GPLv2 notice: Unify all files to just use one space in »MA 02110-1301« 2013-03-01 10:16:08 +01:00
Makefile cbfstool: remove dead code 2013-11-14 02:38:23 +00:00
Makefile.inc cbfstool: Replace C++ code with C code 2013-04-03 02:35:28 +02:00
swab.h Various fixes to cbfstool. 2011-10-24 20:29:29 +02:00