summaryrefslogtreecommitdiff
path: root/Makefile.rules
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile.rules')
-rw-r--r--Makefile.rules4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile.rules b/Makefile.rules
index 5f52fc38c8..8ccb54540a 100644
--- a/Makefile.rules
+++ b/Makefile.rules
@@ -275,6 +275,10 @@ flash: $(out)/ec.bin
flash_ec: $(out)/ec.bin
./util/flash_ec --board $(BOARD) --image $(out)/ec.bin
+.PHONY: flash_dfu
+flash_dfu: $(out)/ec.bin
+ sudo ./board/$(BOARD)/dfu $(out)/ec.bin
+
.PHONY: clean
clean:
-rm -rf $(out)