Skip to content

Commit f0407d3

Browse files
authored
Merge branch 'master' into tgamblin/gpio_driver_binding
2 parents 3c60d4c + 7ba98e5 commit f0407d3

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

labgrid/driver/fastbootdriver.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,11 @@ def flash_all(self):
109109
for partition in self.flash_images.keys():
110110
self.flash(partition)
111111

112+
@Driver.check_active
113+
@step(args=['partition'])
114+
def erase(self, partition):
115+
self('erase', partition)
116+
112117
@Driver.check_active
113118
@step(args=['cmd'])
114119
def run(self, cmd):

0 commit comments

Comments
 (0)