summaryrefslogtreecommitdiff
path: root/test/py/tests/test_fpga.py
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2025-02-09 09:07:15 -0700
committerSimon Glass <sjg@chromium.org>2025-03-15 11:02:04 +0000
commitd9ed4b75add4b4ccc37cf32b54cd9c77f48e3396 (patch)
tree842b5b9b6ede8c5aa232cc6c60395618be6b6c21 /test/py/tests/test_fpga.py
parent752c3769874596d012cd8325099d2ae20123f989 (diff)
test/py: Drop u_boot_ prefix on test files
We know this is U-Boot so the prefix serves no purpose other than to make things longer and harder to read. Drop it and rename the files. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Mattijs Korpershoek <mkorpershoek@baylibre.com> # test_android / test_dfu
Diffstat (limited to 'test/py/tests/test_fpga.py')
-rw-r--r--test/py/tests/test_fpga.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/py/tests/test_fpga.py b/test/py/tests/test_fpga.py
index 7450b13945f..74cd42b910e 100644
--- a/test/py/tests/test_fpga.py
+++ b/test/py/tests/test_fpga.py
@@ -8,7 +8,7 @@
import pytest
import re
import random
-import u_boot_utils
+import utils
"""
Note: This test relies on boardenv_* containing configuration values to define
@@ -518,7 +518,7 @@ def test_fpga_secure_bit_auth(ubman):
addr = f.get('addr', None)
if not addr:
- addr = u_boot_utils.find_ram_base(ubman)
+ addr = utils.find_ram_base(ubman)
expected_tftp = 'Bytes transferred = '
fn = f['fn']
@@ -546,7 +546,7 @@ def test_fpga_secure_bit_img_auth_kup(ubman):
keyaddr = f.get('keyaddr', None)
if not keyaddr:
- addr = u_boot_utils.find_ram_base(ubman)
+ addr = utils.find_ram_base(ubman)
expected_tftp = 'Bytes transferred = '
keyfn = f['keyfn']
output = ubman.run_command('tftpboot %x %s' % (keyaddr, keyfn))
@@ -554,7 +554,7 @@ def test_fpga_secure_bit_img_auth_kup(ubman):
addr = f.get('addr', None)
if not addr:
- addr = u_boot_utils.find_ram_base(ubman)
+ addr = utils.find_ram_base(ubman)
expected_tftp = 'Bytes transferred = '
fn = f['enckupfn']
output = ubman.run_command('tftpboot %x %s' % (addr, fn))