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
..
2020-09-25 11:27:14 +08:00
2022-01-25 11:44:36 -07:00
2022-01-19 18:11:34 +01:00
2020-09-25 11:27:18 +08:00
2020-12-13 16:51:08 -07:00
2020-08-07 22:31:32 -04:00
2020-08-07 22:31:32 -04:00
2021-07-21 10:27:35 -06:00
2021-08-22 11:04:52 +02:00
2021-02-02 15:33:42 -05:00
2021-02-18 11:37:26 +01:00
2020-08-07 22:31:32 -04:00
2020-09-22 11:27:18 +03:00
2021-01-12 10:58:04 +05:30
2022-01-19 18:11:34 +01:00
2021-09-25 09:46:15 -06:00
2021-07-06 10:38:03 -06:00
2021-01-30 14:25:41 -07:00
2020-12-13 16:51:09 -07:00
2020-08-07 22:31:32 -04:00
2021-09-28 18:50:56 +03:00
2020-08-07 22:31:32 -04:00
2021-08-16 10:49:35 +02:00
2021-12-09 11:43:25 -08:00
2021-04-15 14:22:17 +05:30
2021-02-26 15:30:55 +01:00
2021-10-13 14:18:30 -07:00
2020-08-07 22:31:32 -04:00
2021-03-03 15:40:47 -05:00
2020-08-07 22:31:32 -04:00
2021-08-22 10:52:53 +02:00
2020-08-07 22:31:32 -04:00
2021-10-31 08:46:44 -04:00
2020-08-07 22:31:32 -04:00
2021-10-07 16:08:23 +08:00
2015-05-21 09:16:17 -04:00
2020-10-08 11:42:36 -04:00
2020-08-07 22:31:32 -04:00
2021-12-09 11:43:25 -08:00
2020-08-07 22:31:32 -04:00
2020-08-07 22:31:32 -04:00
2020-08-07 22:31:32 -04:00
2021-02-26 15:30:55 +01:00
2020-10-28 11:49:31 -04:00
2021-02-02 15:33:42 -05:00
2020-10-28 11:49:31 -04:00
2021-10-12 14:19:52 +02:00
2021-04-15 14:22:17 +05:30
2022-01-19 18:11:34 +01:00
2022-01-25 12:36:10 -07:00
2020-12-13 16:51:08 -07:00
2020-08-07 22:31:32 -04:00
2020-08-07 22:31:32 -04:00
2021-07-06 10:38:03 -06:00
2021-05-26 17:26:07 -04:00
2020-08-07 22:31:32 -04:00
2021-09-30 08:08:56 -04:00
2022-01-25 12:36:10 -07:00
2022-01-14 14:36:57 -05:00
2021-02-18 11:56:25 +01:00
2021-04-12 11:17:15 +05:30
2020-08-07 22:31:32 -04:00
2020-08-07 22:31:32 -04:00
2020-08-07 22:31:32 -04:00
2021-07-06 10:38:03 -06:00
2021-04-12 17:45:39 -04:00
2021-02-02 15:33:42 -05:00
2021-02-18 11:56:25 +01:00
2021-07-23 10:16:39 -04:00
2021-05-24 14:21:30 -04:00
2020-12-13 16:51:08 -07:00
2020-08-07 22:31:32 -04:00
2021-04-27 08:07:05 -04:00
2020-08-07 22:31:32 -04:00
2021-06-08 11:39:09 -04:00
2021-04-12 17:17:11 -04:00
2020-08-07 22:31:32 -04:00
2021-03-27 15:04:31 +13:00
2021-04-15 14:22:17 +05:30
2020-08-07 22:31:32 -04:00
2021-09-30 08:08:56 -04:00
2020-08-07 22:31:32 -04:00
2020-08-07 22:31:32 -04:00
2020-12-22 20:39:26 -07:00
2020-08-07 22:31:32 -04:00
2020-08-07 22:31:32 -04:00
2020-08-07 22:31:32 -04:00
2021-05-04 07:57:18 -04:00
2021-05-04 07:57:18 -04:00
2020-11-05 09:11:30 -07:00
2021-02-16 11:48:20 -05:00
2022-01-19 18:11:34 +01:00
2021-03-12 09:57:30 -05:00
2022-01-25 12:36:10 -07:00
2021-03-12 09:57:30 -05:00
2021-09-25 09:46:15 -06:00
2020-10-22 09:54:53 -04:00
2022-01-19 18:11:34 +01:00
2021-02-03 03:38:41 -07:00
2021-08-31 12:04:03 +02:00