diff options
author | Tom Rini <trini@konsulko.com> | 2021-07-07 22:50:41 -0400 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2021-07-07 22:50:41 -0400 |
commit | bfb5bfa3c58adc2ef5dbd1bb95b79b31e0dc221c (patch) | |
tree | 21753c7f94144a286584c1f631ad9bde89a1a438 /arch/m68k/cpu/mcf547x_8x/interrupts.c | |
parent | 7e58a3a148fb94e9ce09fb48d0ddd75c20ee7df9 (diff) | |
parent | 123dc510c6e79f0c94718e2e6b5e4074754aa629 (diff) |
Merge branch '2021-07-07-remove-non-migrated-platforms'
- Remove a large number of platforms that did not migrate to DM_PCI or
DM_USB by 2 years past the migration deadline and do not have a
migration imminent.
Diffstat (limited to 'arch/m68k/cpu/mcf547x_8x/interrupts.c')
-rw-r--r-- | arch/m68k/cpu/mcf547x_8x/interrupts.c | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/arch/m68k/cpu/mcf547x_8x/interrupts.c b/arch/m68k/cpu/mcf547x_8x/interrupts.c deleted file mode 100644 index 703090ddc25..00000000000 --- a/arch/m68k/cpu/mcf547x_8x/interrupts.c +++ /dev/null @@ -1,35 +0,0 @@ -// SPDX-License-Identifier: GPL-2.0+ -/* - * - * Copyright (C) 2004-2007, 2012 Freescale Semiconductor, Inc. - * TsiChung Liew (Tsi-Chung.Liew@freescale.com) - */ - -/* CPU specific interrupt routine */ -#include <common.h> -#include <irq_func.h> -#include <asm/immap.h> -#include <asm/io.h> - -int interrupt_init(void) -{ - int0_t *intp = (int0_t *) (CONFIG_SYS_INTR_BASE); - - /* Make sure all interrupts are disabled */ - setbits_be32(&intp->imrh0, 0xffffffff); - setbits_be32(&intp->imrl0, 0xffffffff); - - enable_interrupts(); - - return 0; -} - -#if defined(CONFIG_SLTTMR) -void dtimer_intr_setup(void) -{ - int0_t *intp = (int0_t *) (CONFIG_SYS_INTR_BASE); - - out_8(&intp->icr0[CONFIG_SYS_TMRINTR_NO], CONFIG_SYS_TMRINTR_PRI); - clrbits_be32(&intp->imrh0, CONFIG_SYS_TMRINTR_MASK); -} -#endif |