diff options
author | Matthias Schiffer <matthias.schiffer@ew.tq-group.com> | 2023-09-27 15:33:33 +0200 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2023-10-13 14:01:32 -0600 |
commit | 7f18fb8a272893eb32ce88cb780d51b4390b1899 (patch) | |
tree | d4ce0dba61e0ee9facc3cd23dfc007473712cfe9 /drivers/ddr/imx/imx9/ddr_init.c | |
parent | bc8fa1cbfd429138ebd894a170ce36b07f86b150 (diff) |
pinctrl: single: fix compile warnings with PHYS_64BIT on 32bit
pinctrl-single uses fdt_addr_t and phys_addr_t inconsistently, but both
are wrong to be passed to readb() etc., which expect a pointer or
pointer-sized integer. Change the driver to use
dev_read_addr_size_index_ptr(), so we consistently deal with void*
(except for the sandbox case and single_get_pin_muxing()).
Signed-off-by: Matthias Schiffer <matthias.schiffer@ew.tq-group.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Add missing mapmem.h header:
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'drivers/ddr/imx/imx9/ddr_init.c')
0 files changed, 0 insertions, 0 deletions