summaryrefslogtreecommitdiff
path: root/board
diff options
context:
space:
mode:
authorStefan Agner <stefan@agner.ch>2015-05-17 22:34:56 +0200
committerStefan Agner <stefan.agner@toradex.com>2015-05-28 16:58:35 +0200
commitdb1bbd8373906c1a1209b7ffb611af8c3bdfa639 (patch)
tree65aed33b78f907f500a6ceca4df0999024919b7b /board
parent5ceea6914f87836a1aa651df097708e4aec9c16f (diff)
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.
Diffstat (limited to 'board')
-rw-r--r--board/toradex/colibri_vf/colibri_vf.c10
1 files changed, 0 insertions, 10 deletions
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();