summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorTom Rini <[email protected]>2025-11-28 10:22:16 -0600
committerTom Rini <[email protected]>2025-11-28 10:22:16 -0600
commit626cb9993fba6cd5e91bb4a788f401ee916f5144 (patch)
treea590c5fe6f07e78d4489159d80b567dba7740256 /test
parent4a4871e3dc38f3f771d2713b805e79e6191b4297 (diff)
parent534eaa4d4dec9efed662189fd68f78b3b7b1e636 (diff)
Merge branch 'assorted-dtb-alignment-fixes' into next
This merges a number of fixes from Marek Vasut that will allow us to move to a newer dtc release (that enforces the 8 byte alignment requirement that has long existed).
Diffstat (limited to 'test')
-rw-r--r--test/dm/pmic.c4
-rw-r--r--test/py/tests/test_extension.py2
2 files changed, 3 insertions, 3 deletions
diff --git a/test/dm/pmic.c b/test/dm/pmic.c
index 70dd18f5df0..b163b8e315d 100644
--- a/test/dm/pmic.c
+++ b/test/dm/pmic.c
@@ -39,7 +39,7 @@ static inline int power_pmic_get(struct unit_test_state *uts, char *name)
/* Test PMIC get method */
static int dm_test_power_pmic_get(struct unit_test_state *uts)
{
- power_pmic_get(uts, "sandbox_pmic");
+ power_pmic_get(uts, "sandbox_pmic@40");
return 0;
}
@@ -57,7 +57,7 @@ DM_TEST(dm_test_power_pmic_mc34708_get, UTF_SCAN_FDT);
/* Test PMIC I/O */
static int dm_test_power_pmic_io(struct unit_test_state *uts)
{
- const char *name = "sandbox_pmic";
+ const char *name = "sandbox_pmic@40";
uint8_t out_buffer, in_buffer;
struct udevice *dev;
int reg_count, i;
diff --git a/test/py/tests/test_extension.py b/test/py/tests/test_extension.py
index 61223496054..6daab0c9782 100644
--- a/test/py/tests/test_extension.py
+++ b/test/py/tests/test_extension.py
@@ -38,7 +38,7 @@ def test_extension(ubman):
assert('overlay1.dtbo' in output)
ubman.run_command_list([
- 'setenv extension_overlay_addr %s' % (overlay_addr),
+ 'setenv extension_overlay_addr %x' % (overlay_addr),
'setenv extension_overlay_cmd \'host load hostfs - ${extension_overlay_addr} %s${extension_overlay_name}\'' % (os.path.join(ubman.config.build_dir, OVERLAY_DIR))])
output = ubman.run_command('extension apply 0')