summaryrefslogtreecommitdiff
path: root/test/print_ut.c
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2023-12-13 16:02:38 -0500
committerTom Rini <trini@konsulko.com>2023-12-13 18:39:06 -0500
commit86f623dcf89c6037b34788650c42b02b501e6d27 (patch)
tree504c8045e6505a08fa4a2ae6355a220d2d9dd98b /test/print_ut.c
parent9565771076c2d4b0193f1741b3990695ac33c1f3 (diff)
parent229c4da6ca183b91f2ad928ecec47e073bce1b1a (diff)
Merge tag 'dm-next-13dec23' of https://gitlab.denx.de/u-boot/custodians/u-boot-dm into next
minor improvements to test, acpi updates for new PyPl release
Diffstat (limited to 'test/print_ut.c')
-rw-r--r--test/print_ut.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/print_ut.c b/test/print_ut.c
index b26f6281b01..bb844d2542b 100644
--- a/test/print_ut.c
+++ b/test/print_ut.c
@@ -170,6 +170,10 @@ static int print_display_buffer(struct unit_test_state *uts)
u8 *buf;
int i;
+ /* This test requires writable memory at zero */
+ if (IS_ENABLED(CONFIG_X86))
+ return -EAGAIN;
+
buf = map_sysmem(0, BUF_SIZE);
memset(buf, '\0', BUF_SIZE);
for (i = 0; i < 0x11; i++)
@@ -275,6 +279,10 @@ static int print_do_hex_dump(struct unit_test_state *uts)
u8 *buf;
int i;
+ /* This test requires writable memory at zero */
+ if (IS_ENABLED(CONFIG_X86))
+ return -EAGAIN;
+
buf = map_sysmem(0, BUF_SIZE);
memset(buf, '\0', BUF_SIZE);
for (i = 0; i < 0x11; i++)