From db1bbd8373906c1a1209b7ffb611af8c3bdfa639 Mon Sep 17 00:00:00 2001 From: Stefan Agner Date: Sun, 17 May 2015 22:34:56 +0200 Subject: colibri_vf: disable configuration of MSCM interrupt router Do not configure all interrupts to the primary core by default since newer Linux versions configure the MSCM interrupt router correctly by themself. This also prevents warnings due to already routed interrupts when booting Linux on the secondary Cortex-M4 CPU. --- board/toradex/colibri_vf/colibri_vf.c | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'board') diff --git a/board/toradex/colibri_vf/colibri_vf.c b/board/toradex/colibri_vf/colibri_vf.c index 75cffc1f2a..2cf763999b 100644 --- a/board/toradex/colibri_vf/colibri_vf.c +++ b/board/toradex/colibri_vf/colibri_vf.c @@ -359,15 +359,6 @@ static void clock_init(void) #endif } -static void mscm_init(void) -{ - struct mscm_ir *mscmir = (struct mscm_ir *)MSCM_IR_BASE_ADDR; - int i; - - for (i = 0; i < MSCM_IRSPRC_NUM; i++) - writew(MSCM_IRSPRC_CP0_EN, &mscmir->irsprc[i]); -} - int board_phy_config(struct phy_device *phydev) { if (phydev->drv->config) @@ -379,7 +370,6 @@ int board_phy_config(struct phy_device *phydev) int board_early_init_f(void) { clock_init(); - mscm_init(); setup_iomux_uart(); setup_iomux_enet(); -- cgit v1.2.3