u-boot/arch/arm/mach-imx
Andrey Zhizhikin 6ac4d44806 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>
2021-06-09 13:34:01 +02:00
..
imx8 imx8: Add DEK blob encapsulation 2021-04-08 20:29:52 +02:00
imx8m arm: imx: imx8mm: correct unrecognized fracpll frequency 2021-06-09 13:34:01 +02:00
imxrt ARM: IMXRT: introduce is_imxrt*() macros and get_cpu_rev() 2021-06-09 13:03:33 +02:00
mx2 arm: Remove mx25pdk board 2021-02-25 11:59:05 -05:00
mx3 arm: Remove mx31pdk board 2020-07-09 20:58:06 +05:30
mx5 arm: Remove ts4800 board 2021-04-10 08:03:55 -04:00
mx6 Add out4.ru O4-iMX-NANO board 2021-06-09 13:32:42 +02:00
mx7 imx: Add support for Ronetix's iMX7-CM board 2021-05-02 12:46:54 +02:00
mx7ulp caam: enable support for iMX7ULP 2021-04-08 09:18:29 +02:00
mxs arm: Remove ts4600 board 2021-04-10 07:59:35 -04:00
cache.c common: Drop net.h from common header 2020-05-18 17:33:31 -04:00
cmd_bmode.c ARM: imx: Add support for reading out the primary/secondary bmode 2020-08-17 17:55:17 +02:00
cmd_dek.c imx8: Add DEK blob encapsulation 2021-04-08 20:29:52 +02:00
cmd_hdmidet.c command: Remove the cmd_tbl_t typedef 2020-05-18 18:36:55 -04:00
cmd_mfgprot.c imx: Avoid hardcoded Job Ring Max size 2021-04-08 09:18:29 +02:00
cmd_nandbcb.c nandbcb: nand support for i.MX8MP 2021-01-23 11:30:31 +01:00
cpu.c imx8mn: Add support for 11x11 UltraLite part number 2021-04-08 09:18:29 +02:00
ddrmc-vf610-calibration.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
ddrmc-vf610-calibration.h ddr: vybrid: Provide code to perform on-boot calibration 2019-02-15 12:16:50 +01:00
ddrmc-vf610.c common: Drop linux/delay.h from common header 2020-05-18 21:19:23 -04:00
hab.c imx: hab: Fix build warnings in 32-bit targets 2021-04-08 09:18:29 +02:00
i2c-mxv7.c dm: i2c: use CONFIG_IS_ENABLED macro for DM_I2C/DM_I2C_GPIO 2021-02-21 06:08:00 +01:00
imx_bootaux.c imx: bootaux fix elf loading 2021-04-08 23:59:50 +02:00
init.c ARM: imx: Add support for switching primary/secondary boot mode to bmode 2020-08-17 17:54:01 +02:00
iomux-v3.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
Kconfig imx8: Add DEK blob encapsulation 2021-04-08 20:29:52 +02:00
lowlevel.S imx: add lowlevel init for ARM64 2019-04-25 19:16:24 +02:00
mac.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
Makefile imx: caam: new u-boot command to set PRIBLOB bitfield from CAAM SCFGR register to 0x3 2021-04-08 20:29:52 +02:00
misc.c common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
mkimage_fit_atf.sh imx: mkimage_fit_atf: fix file size reporting 2021-05-02 12:46:54 +02:00
mmc_env.c Revert "imx: mmc_env: update runtime SD/MMC boot env device" 2019-10-08 16:36:37 +02:00
mmdc_size.c imx: mmdc_size: Allow building it for i.MX7ULP 2019-10-14 09:31:41 +02:00
priblob.c imx: caam: new u-boot command to set PRIBLOB bitfield from CAAM SCFGR register to 0x3 2021-04-08 20:29:52 +02:00
rdc-sema.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
sata.c arm: Don't include common.h in header files 2020-05-18 14:54:24 -04:00
speed.c common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
spl.c spl: fit: Drop 'length' argument to board_spl_fit_post_load() 2021-02-17 17:12:45 -05:00
spl_imx_romapi.c ARM: make gd a function call for LTO and set via set_gd() 2021-05-24 14:21:30 -04:00
spl_qspi.cfg arm: imx: Finish migration from CONFIG_SECURE_BOOT to CONFIG_IMX_HAB 2020-06-26 10:29:06 -04:00
spl_sd.cfg imx: replace CONFIG_SECURE_BOOT with CONFIG_IMX_HAB 2019-10-08 16:36:37 +02:00
syscounter.c common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
timer.c common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
video.c env: Move env_get() to env.h 2019-08-11 16:43:41 -04:00