]> git.ipfire.org Git - thirdparty/u-boot.git/commit
ata: mtk_ahci: Use dev_remap_addr_index() and ofnode API
authorPeng Fan <peng.fan@nxp.com>
Tue, 26 May 2026 07:46:15 +0000 (15:46 +0800)
committerTom Rini <trini@konsulko.com>
Tue, 9 Jun 2026 22:00:11 +0000 (16:00 -0600)
commitffbfe1cec387e35eadf522e4a7d6ffdba956158b
treebc93aceca1d0d4931b0f631c9df4f78d7e90394f
parentebb9ee6ef48015d58a08ed8c8e21ad4cd4041e2b
ata: mtk_ahci: Use dev_remap_addr_index() and ofnode API

Use dev_remap_addr_index() instead of devfdt_remap_addr_index() to map the
controller registers, removing the dependency on FDT-specific helpers.

Replace the direct fdt_get_property() lookup combined with dev_of_offset()
by dev_read_prop().

No functional changes.

Signed-off-by: Peng Fan <peng.fan@nxp.com>
drivers/ata/mtk_ahci.c