pcm052: board: Do not enable I2C2 code in the board file
authorLukasz Majewski <lukma@denx.de>
Wed, 13 Feb 2019 21:46:42 +0000 (22:46 +0100)
committerStefano Babic <sbabic@denx.de>
Sat, 13 Apr 2019 18:30:08 +0000 (20:30 +0200)
As the I2C2 clock is now enabled in the generic clock code, we can remove
this code from a board file.

Signed-off-by: Lukasz Majewski <lukma@denx.de>
Tested-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
board/phytec/pcm052/pcm052.c

index f988af2abc08b2d7d30b49673a95c5884f65109a..cfc80091022ab58da6cad83eafc272f80806aab8 100644 (file)
@@ -485,7 +485,7 @@ static void clock_init(void)
        clrsetbits_le32(&ccm->ccgr9, CCM_REG_CTRL_MASK,
                        CCM_CCGR9_FEC0_CTRL_MASK | CCM_CCGR9_FEC1_CTRL_MASK);
        clrsetbits_le32(&ccm->ccgr10, CCM_REG_CTRL_MASK,
-                       CCM_CCGR10_NFC_CTRL_MASK | CCM_CCGR10_I2C2_CTRL_MASK);
+                       CCM_CCGR10_NFC_CTRL_MASK);
 
        clrsetbits_le32(&anadig->pll2_ctrl, ANADIG_PLL2_CTRL_POWERDOWN,
                        ANADIG_PLL2_CTRL_ENABLE | ANADIG_PLL2_CTRL_DIV_SELECT);