Carl-Daniel Hailfinger uploaded patch set #3 to this change.

View Change

Automatic programmer driver writer

Copy ezo-driver.tmpl to a file of your choice and fill in the properties
of the flashrom programmer driver you want to create. Then run
./build_new_driver.sh <your-driver.tmpl>

The driver skeleton will be created in $PROGRAMMERNAME.c.mine
Modified versions of existing files will be created with extension .mine
You can replace the original files with the modified versions by running
for a in *; do test -f $a.mine && mv $a.mine $a; done

If you want to use the newly generated skeleton $PROGRAMMERNAME.c.mine , run
mv $PROGRAMMERNAME.c.mine $PROGRAMMERNAME.c

WARNING: Please note that rerunning build_new_driver.sh will overwrite
all *.mine files, but it won't touch $PROGRAMMERNAME.c .
If something goes wrong, you can revert all files which look odd and
run this script again.

Change-Id: Icdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcd000001
Signed-off-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
---
M Makefile
A build_new_driver.sh
A ezo-driver.tmpl
M flashrom.8.tmpl
M flashrom.c
M meson.build
M meson_options.txt
M programmer.h
8 files changed, 475 insertions(+), 1 deletion(-)

git pull ssh://review.coreboot.org:29418/flashrom refs/changes/88/38488/3

To view, visit change 38488. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: flashrom
Gerrit-Branch: master
Gerrit-Change-Id: Icdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcd000001
Gerrit-Change-Number: 38488
Gerrit-PatchSet: 3
Gerrit-Owner: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
Gerrit-Reviewer: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
Gerrit-Reviewer: build bot (Jenkins) <no-reply@coreboot.org>
Gerrit-CC: Angel Pons <th3fanbus@gmail.com>
Gerrit-CC: Idwer Vollering <vidwer@gmail.com>
Gerrit-CC: Paul Menzel <paulepanter@users.sourceforge.net>
Gerrit-MessageType: newpatchset