From: Lukasz Majewski Date: Wed, 13 Feb 2019 21:46:42 +0000 (+0100) Subject: pcm052: board: Do not enable I2C2 code in the board file X-Git-Tag: v2019.07-rc1~21^2~135 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=bc51c911208bb4383b7f8d8f7544c844316a47b1;p=oweals%2Fu-boot.git pcm052: board: Do not enable I2C2 code in the board file 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 Tested-by: Marcel Ziswiler --- diff --git a/board/phytec/pcm052/pcm052.c b/board/phytec/pcm052/pcm052.c index f988af2abc..cfc8009102 100644 --- a/board/phytec/pcm052/pcm052.c +++ b/board/phytec/pcm052/pcm052.c @@ -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);