]> git.baikalelectronics.ru Git - uboot.git/commit
arm: imx: imx8mm: clock: make debug output more descriptive
authorAndrey Zhizhikin <andrey.zhizhikin@leica-geosystems.com>
Mon, 3 May 2021 08:02:10 +0000 (10:02 +0200)
committerStefano Babic <sbabic@denx.de>
Wed, 9 Jun 2021 11:33:26 +0000 (13:33 +0200)
commit1cbef8187d2dc80e4889767c76633a03ca20cc38
tree577c91f0f87454358e6a03b6cbd7e795551e572e
parent1d94727d9e732a58d3a6a262e7ea3e1075e24a6d
arm: imx: imx8mm: clock: make debug output more descriptive

Clock initialization functionality has ambitious debug messages, which are
printed out when failures are triggered during execution:
- Separate frequency table lookup functions have the the same output that
  makes it impossible to understand which function failed and produced the
  output
- PLL decoding routine has a generic debug statement printed, which does
  not state the actual value failed to be found

Extend the output for both cases with prefixing table lookup functions
output with function name, and report the failed value in PLL decoding
routine.

Signed-off-by: Andrey Zhizhikin <andrey.zhizhikin@leica-geosystems.com>
Cc: Stefano Babic <sbabic@denx.de>
Cc: Fabio Estevam <festevam@gmail.com>
Cc: "NXP i.MX U-Boot Team" <uboot-imx@nxp.com>
Cc: Peng Fan <peng.fan@nxp.com>
Cc: Simon Glass <sjg@chromium.org>
Cc: Ye Li <ye.li@nxp.com>
Reviewed-by: Fabio Estevam <festevam@gmail.com>
arch/arm/mach-imx/imx8m/clock_imx8mm.c