29 Jan, 2018
1 commit
-
When printing '%pD' with a value of NULL we want to output
''. But this requires copying to buf. Leave this
to string16.A unit test is supplied which relies on EFI support in the sandbox.
The development for EFI support in the sandbox is currently in branch
u-boot-dm/efi-working. The branch lacks commit 6ea8b580f06b ("efi_loader:
correct DeviceNodeToText for media types"). Ater rebasing the aforementioned
branch on U-Boot v2018.01 and adding 256060e4257a2 and this patch the test
is executed successfully.Fixes: 256060e4257a2 (vsprintf.c: add EFI device path printing)
Signed-off-by: Heinrich Schuchardt
Signed-off-by: Alexander Graf
23 Jan, 2018
1 commit
-
For debugging efi_loader we need the capability to print EFI
device paths. With this patch we can write:debug("device path: %pD", dp);
A possible output would be
device path: /MemoryMapped(0x0,0x3ff93a82,0x3ff93a82)
This enhancement is not available when building without EFI support
and neither in the SPL nor in the API example.A test is provided. It can be executed in the sandbox with command
ut_print.The development for EFI support in the sandbox is currently in
branch u-boot-dm/efi-working. The branch currently lacks
commit 6ea8b580f06b ("efi_loader: correct DeviceNodeToText
for media types"). Ater rebasing the aforementioned branch on
U-Boot v2018.01 the test is executed successfully.Without EFI support in the sandbox the test is simply skipped.
Suggested-by: Rob Clark
Signed-off-by: Heinrich Schuchardt
Reviewed-by: Simon Glass
Signed-off-by: Alexander Graf
09 Oct, 2017
1 commit
-
Add a simple test for long strings.
Signed-off-by: Rob Clark
Reviewed-by: Simon Glass
12 Jul, 2017
1 commit
-
Add a simple test to make sure that these functions obey the buffer size
passed into them.Signed-off-by: Simon Glass
Reviewed-by: Bin Meng
Tested-by: Stephen Warren