[PATCH 1/5] spi: spi-aspeed-smc: Use dev_read_addr_index_ptr()

Simon Glass sjg at chromium.org
Wed May 27 07:47:16 CEST 2026


On 2026-05-27T02:35:23, Peng Fan (OSS) <peng.fan at oss.nxp.com> wrote:
> spi: spi-aspeed-smc: Use dev_read_addr_index_ptr()
>
> Use dev_read_addr_index_ptr() and dev_read_addr_size_index_ptr() which
> support both live device tree and flat DT backends, avoiding direct
> dependency on devfdt_* helpers.
>
> No functional changes.
>
> Signed-off-by: Peng Fan <peng.fan at nxp.com>
>
> drivers/spi/spi-aspeed-smc.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)

Reviewed-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list