projects
/
platform
/
kernel
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
m68k: rename CONFIG_MCFTMR to CFG_MCFTMR
[platform/kernel/u-boot.git]
/
arch
/
m68k
/
cpu
/
mcf532x
/
interrupts.c
diff --git
a/arch/m68k/cpu/mcf532x/interrupts.c
b/arch/m68k/cpu/mcf532x/interrupts.c
index
1e6cb1c
..
bbe823c
100644
(file)
--- a/
arch/m68k/cpu/mcf532x/interrupts.c
+++ b/
arch/m68k/cpu/mcf532x/interrupts.c
@@
-1,19
+1,19
@@
+// SPDX-License-Identifier: GPL-2.0+
/*
*
* Copyright (C) 2004-2007, 2012 Freescale Semiconductor, Inc.
* TsiChung Liew (Tsi-Chung.Liew@freescale.com)
/*
*
* Copyright (C) 2004-2007, 2012 Freescale Semiconductor, Inc.
* TsiChung Liew (Tsi-Chung.Liew@freescale.com)
- *
- * SPDX-License-Identifier: GPL-2.0+
*/
/* CPU specific interrupt routine */
#include <common.h>
*/
/* CPU specific interrupt routine */
#include <common.h>
+#include <irq_func.h>
#include <asm/immap.h>
#include <asm/io.h>
int interrupt_init(void)
{
#include <asm/immap.h>
#include <asm/io.h>
int interrupt_init(void)
{
- int0_t *intp = (int0_t *) (C
ONFI
G_SYS_INTR_BASE);
+ int0_t *intp = (int0_t *) (C
F
G_SYS_INTR_BASE);
/* Make sure all interrupts are disabled */
setbits_be32(&intp->imrh0, 0xffffffff);
/* Make sure all interrupts are disabled */
setbits_be32(&intp->imrh0, 0xffffffff);
@@
-23,12
+23,12
@@
int interrupt_init(void)
return 0;
}
return 0;
}
-#if defined(C
ONFI
G_MCFTMR)
+#if defined(C
F
G_MCFTMR)
void dtimer_intr_setup(void)
{
void dtimer_intr_setup(void)
{
- int0_t *intp = (int0_t *) (C
ONFI
G_SYS_INTR_BASE);
+ int0_t *intp = (int0_t *) (C
F
G_SYS_INTR_BASE);
- out_8(&intp->icr0[C
ONFIG_SYS_TMRINTR_NO], CONFI
G_SYS_TMRINTR_PRI);
- clrbits_be32(&intp->imrh0, C
ONFI
G_SYS_TMRINTR_MASK);
+ out_8(&intp->icr0[C
FG_SYS_TMRINTR_NO], CF
G_SYS_TMRINTR_PRI);
+ clrbits_be32(&intp->imrh0, C
F
G_SYS_TMRINTR_MASK);
}
#endif
}
#endif