u-boot/test
Patrice Chotard 9876ae7db6 dm: Fix OF_BAD_ADDR definition
When OF_LIVE flag is enabled on a 64 bits platform, there is an
issue when dev_read_addr() is called and need to perform an address
translation using __of_translate_address().

In case of error, __of_translate_address() return's value is OF_BAD_ADDR
(wich is defined in include/dm/of.h to ((u64)-1) = 0xffffffffffffffff).
The return value of dev_read_addr() is often compared to FDT_ADDR_T_NONE
which is defined as (-1U) = 0xffffffff.
In this case the comparison is always false.

To fix this issue, define FDT_ADDR_T_NONE to (ulong)(-1) in case of
AARCH64. Update accordingly related tests.

Signed-off-by: Patrice Chotard <patrice.chotard@foss.st.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
2022-01-25 12:36:10 -07:00
..
cmd test: cmd: setexpr: add format string tests 2021-07-27 17:56:13 -04:00
common sandbox: Reduce keyed autoboot delay 2021-08-01 09:05:24 -06:00
dm dm: Fix OF_BAD_ADDR definition 2022-01-25 12:36:10 -07:00
env sandbox: add test of CONFIG_ENV_IMPORT_FDT 2021-05-04 12:52:30 -04:00
fs Consistently use nproc for counting the CPUs 2020-01-30 13:30:35 -05:00
image sandbox: Support executables for more phases 2021-07-21 10:27:34 -06:00
lib lmb: remove lmb_is_nomap() from include 2021-11-20 10:53:00 +01:00
log doc: replace @return by Return: 2022-01-19 18:11:34 +01:00
optee test: Add a macros for finding tests in linker_lists 2021-03-12 09:57:30 -05:00
overlay test: Add a macros for finding tests in linker_lists 2021-03-12 09:57:30 -05:00
py test: fix pylint warnings in test_env.py 2022-01-24 17:36:29 -05:00
stdint Remove <inttypes.h> includes and PRI* usages in printf() entirely 2018-09-10 20:48:17 -04:00
trace SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
bloblist.c bloblist: Add functions to obtain base address and size 2022-01-13 09:13:41 -07:00
bootm.c test: Add a macros for finding tests in linker_lists 2021-03-12 09:57:30 -05:00
cmd_ut.c test: add first autoboot unit tests 2021-07-23 13:36:20 -04:00
command_ut.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
common.sh Consistently use nproc for counting the CPUs 2020-01-30 13:30:35 -05:00
compression.c doc: replace @return by Return: 2022-01-19 18:11:34 +01:00
Kconfig lib: add crypt subsystem 2021-07-23 13:36:14 -04:00
Makefile test: add first autoboot unit tests 2021-07-23 13:36:20 -04:00
nokia_rx51_test.sh Nokia RX-51: Add check for /lib/ld-linux.so.2 in test script 2021-07-15 17:56:05 +05:30
print_ut.c test: add test for %pUs 2022-01-19 16:16:33 +01:00
run test: Run sandbox_spl tests on sandbox_noinst 2021-03-26 17:03:09 +13:00
str_ut.c lib: Allow using 0x when a decimal value is requested 2021-08-02 13:32:14 -04:00
test-main.c doc: replace @return by Return: 2022-01-19 18:11:34 +01:00
time_ut.c common: Drop linux/delay.h from common header 2020-05-18 21:19:23 -04:00
unicode_ut.c Prepare v2021.04-rc4 2021-03-15 12:15:38 -04:00
ut.c test: Add a way to skip console checking until a string matches 2021-09-16 14:39:40 -04:00