summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorŁukasz Stelmach <l.stelmach@samsung.com>2024-03-28 08:20:58 +0100
committerŁukasz Stelmach <l.stelmach@samsung.com>2024-03-28 11:01:05 +0100
commitd3c52ff8b63e8d9ad7245b4ef50f040241ce35a2 (patch)
tree3be54342f1840a1db56bb60703d7540b89768448
parent7c3291f25d7444119b374f5e239cf22f5f2a4490 (diff)
downloadu-boot-d3c52ff8b63e8d9ad7245b4ef50f040241ce35a2.tar.gz
u-boot-d3c52ff8b63e8d9ad7245b4ef50f040241ce35a2.tar.bz2
u-boot-d3c52ff8b63e8d9ad7245b4ef50f040241ce35a2.zip
Revert "scripts: tizen: sd_fusing.py: Display an information during flashing"
This partially reverts commit 8f78bf12c0eba95ebb203868856899fdcec2935c. Only the logging module should be used for printing messages to enable consistent control over script's output. Change-Id: I3c9b91ff8a8accdef910700348e24be0ca1b7890 Signed-off-by: Łukasz Stelmach <l.stelmach@samsung.com>
-rwxr-xr-xscripts/tizen/sd_fusing.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/tizen/sd_fusing.py b/scripts/tizen/sd_fusing.py
index bc67deb5f2..6937fb735d 100755
--- a/scripts/tizen/sd_fusing.py
+++ b/scripts/tizen/sd_fusing.py
@@ -763,7 +763,7 @@ def do_fuse_file(f, name, target):
bufsize=(4 << 20),
stdin=subprocess.PIPE,
stdout=None, stderr=None)
- print('\033[32m'+f"Writing {name} to {pdevice}"+'\033[0m')
+ logging.info(f"Writing {name} to {pdevice}")
buf = f.read(4 << 20)
while len(buf) > 0:
proc_dd.stdin.write(buf)