commit | 2f9f7756ca414542833d62e883dbe5208879156e | [log] [tgz] |
---|---|---|
author | Johan Jonker <jbx6244@gmail.com> | Mon Mar 13 01:32:44 2023 +0100 |
committer | Kever Yang <kever.yang@rock-chips.com> | Sat May 06 17:28:18 2023 +0800 |
tree | e32e0747a65e2d82811162159f173798da98e163 | |
parent | b52189e66534cfbe4333b73a636861b4d702c201 [diff] |
drivers: use devfdt_get_addr_ptr when cast to pointer The fdt_addr_t and phys_addr_t size have been decoupled. A 32bit CPU can expect 64-bit data from the device tree parser, so use devfdt_get_addr_ptr instead of the devfdt_get_addr function in the various files in the drivers directory that cast to a pointer. Signed-off-by: Johan Jonker <jbx6244@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org>