util: Add tools for dumping and inserting KBC1126 firmware images.

Change-Id: Ic521b177b9602ff042312cccaaa89371db7c5855
Signed-off-by: Iru Cai <mytbk920423@gmail.com>
Reviewed-on: https://review.coreboot.org/19071
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Arthur Heymans <arthur@aheymans.xyz>
This commit is contained in:
Iru Cai
2017-03-26 12:05:32 +08:00
committed by Patrick Georgi
parent 5f9fe7232a
commit 5fd00ce71a
5 changed files with 305 additions and 0 deletions

12
util/kbc1126/makefile Normal file
View File

@@ -0,0 +1,12 @@
obj = kbc1126_ec_dump kbc1126_ec_insert
HOSTCC := $(if $(shell type gcc 2>/dev/null),gcc,cc)
all: $(obj)
%: %.c
$(HOSTCC) -Wall -o $@ $<
clean:
rm -f kbc1126_ec_dump kbc1126_ec_insert
.PHONY: all clean