diff options
author | Ye Li <ye.li@nxp.com> | 2023-04-06 18:26:35 +0800 |
---|---|---|
committer | Heiko Schocher <hs@denx.de> | 2023-04-11 06:45:29 +0200 |
commit | b4004c2949732ad8a6cb42f27a1c472d39216b72 (patch) | |
tree | d4851b76534ddbca8110d573786811e4ba6efa78 /test/py/tests/test_stackprotector.py | |
parent | 7f6a2e6e0f7694bf9557683db1d6ef2fc75ef1c8 (diff) |
i2c: imx_lpi2c: Fix misuse the IS_ENABLED for DM clock
The IS_ENABLED, which does not consider SPL build, should be replaced
by CONFIG_IS_ENABLED.
For the case that we only enable DM CLK for u-boot but not in SPL, the
IS_ENABLED(CONFIG_CLK) still returns true, then cause clock failure.
Reviewed-by: Peng Fan <peng.fan@nxp.com>
Signed-off-by: Ye Li <ye.li@nxp.com>
Signed-off-by: Peng Fan <peng.fan@nxp.com>
Diffstat (limited to 'test/py/tests/test_stackprotector.py')
0 files changed, 0 insertions, 0 deletions