diff options
| author | Johan Jonker <[email protected]> | 2023-03-13 01:31:36 +0100 |
|---|---|---|
| committer | Kever Yang <[email protected]> | 2023-05-06 17:28:18 +0800 |
| commit | 8fa64bd1715d38f079e1369d282ac06c879be083 (patch) | |
| tree | 1655f79d3fb8081a0bc7fb6ef2f66f352d22cba7 /doc/develop | |
| parent | b526656c5bd1a3cf842d0c957b4488407928fa63 (diff) | |
spi: spi-aspeed-smc: use devfdt_get_addr_index_ptr
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_index_ptr and devfdt_get_addr_size_index_ptr
function in the spi-aspeed-smc.c file. Also fix dev_dbg to be able
to handle both sizes. As we are there also streamline the error
response to -EINVAL on return.
Signed-off-by: Johan Jonker <[email protected]>
Reviewed-by: Michael Trimarchi <[email protected]>
Diffstat (limited to 'doc/develop')
0 files changed, 0 insertions, 0 deletions
