summaryrefslogtreecommitdiff
path: root/test-cli/test/flashers/flashmemory.py
diff options
context:
space:
mode:
Diffstat (limited to 'test-cli/test/flashers/flashmemory.py')
-rw-r--r--test-cli/test/flashers/flashmemory.py12
1 files changed, 0 insertions, 12 deletions
diff --git a/test-cli/test/flashers/flashmemory.py b/test-cli/test/flashers/flashmemory.py
deleted file mode 100644
index 3be56d7..0000000
--- a/test-cli/test/flashers/flashmemory.py
+++ /dev/null
@@ -1,12 +0,0 @@
-import sh
-
-
-def flash_memory(imagepath):
- print("Start programming Nand memory...")
- p = sh.bash("/usr/bin/igep-flash", "--skip-nandtest", "--image", imagepath)
- if p.exit_code != 0:
- print("Flasher: Could not complete flashing task.")
- return 1
- else:
- print("Flasher: NAND memory flashed succesfully.")
- return 0