aboutsummaryrefslogtreecommitdiff
path: root/board/wandboard
diff options
context:
space:
mode:
authorAndrey Zhizhikin <andrey.zhizhikin@leica-geosystems.com>2021-05-03 09:59:17 +0200
committerStefano Babic <sbabic@denx.de>2021-06-09 13:34:01 +0200
commit6ac4d4480663ca43f64a0ae1e49af5455bcff7aa (patch)
treeb1f1e82ce60882fa9db068f75ce25495b3b3ff66 /board/wandboard
parentb8916306d1061b254d066ccaa4c797896c96a2c1 (diff)
downloadu-boot-6ac4d4480663ca43f64a0ae1e49af5455bcff7aa.zip
u-boot-6ac4d4480663ca43f64a0ae1e49af5455bcff7aa.tar.gz
u-boot-6ac4d4480663ca43f64a0ae1e49af5455bcff7aa.tar.bz2
arm: imx: imx8mm: correct unrecognized fracpll frequency
Frequency requested by ddrphy_init_set_dfi_clk from fracpll uses MHZ() macro, which expands the value provided to the Hz range without taking into account the precise Hz setting. This causes the frequency of 266 MHz not ot be found in the imx8mm_fracpll_tbl, since it is entered there with a precise Hz value. This in turn causes the boot hang in SPL, as proper DDR fracpll frequency cannot be determined. Correct the value in imx8mm_fracpll_tbl to match the one expanded by MHZ(266) macro, rounding it down to MHz range only. 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> Fixes: 825ab6b406 ("driver: ddr: Refine the ddr init driver on imx8m") Reviewed-by: Fabio Estevam <festevam@gmail.com>
Diffstat (limited to 'board/wandboard')
0 files changed, 0 insertions, 0 deletions