]> git.ipfire.org Git - thirdparty/u-boot.git/commit
imx9: soc: Reuse and export low_drive_freq_update()
authorPrimoz Fiser <primoz.fiser@norik.com>
Thu, 7 Aug 2025 13:13:53 +0000 (15:13 +0200)
committerFabio Estevam <festevam@gmail.com>
Fri, 8 Aug 2025 11:28:06 +0000 (08:28 -0300)
commit442e752854bfbcfa9b7ac49eeecce33fb134ed95
tree5c143c0e31422f40fc88a73bb2fe044ecd53f634
parentb57ed147939c9367a9c9fd93f37f34487a2fa090
imx9: soc: Reuse and export low_drive_freq_update()

Reuse and export low_drive_freq_update() function. This way global imx9
board_fix_fdt() doesn't duplicate code. While low_drive_freq_update()
can be reused on boards such as phyCORE-i.MX93 (TARGET_PHYCORE_IMX93)
which is not using the global imx9 board_fix_fdt() implementation.

While at it, make printout logic less verbose by only outputting on the
error condition and not on each successful clock fixup. Also drop now
invalid comment (low_drive_freq_update() now does fixup for internal and
kernel device-tree).

Signed-off-by: Primoz Fiser <primoz.fiser@norik.com>
arch/arm/include/asm/arch-imx9/sys_proto.h
arch/arm/mach-imx/imx9/soc.c