Commit 0cb7a09a authored by Komal Shah's avatar Komal Shah Committed by Kevin Hilman

ARM: DaVinci: Minor cleanup for entry-macro.S

Signed-off-by: default avatarKomal Shah <komal_shah802003@yahoo.com>
parent 3679237c
......@@ -7,21 +7,21 @@
* License version 2. This program is licensed "as is" without any
* warranty of any kind, whether express or implied.
*/
#include <asm/hardware.h>
.macro disable_fiq
.endm
.macro get_irqnr_and_base, irqnr, irqstat, base, tmp
/* GIVEN:
* IRQ Entry Table Base Address
* RETURN:
* irqnr: Interrupt number. Zero corresponds
* to bit 0 of the status register
* irqstat, base, and tmp may be considered
* as scratch registers
* Z conditions means no outstanding interrupt
*/
/* GIVEN:
* IRQ Entry Table Base Address
* RETURN:
* irqnr: Interrupt number. Zero corresponds
* to bit 0 of the status register
* irqstat, base, and tmp may be considered
* as scratch registers
* Z conditions means no outstanding interrupt
*/
ldr \base, =IO_ADDRESS(DAVINCI_ARM_INTC_BASE)
ldr \tmp, [\base, #0x14]
ldr \irqstat, =DAVINCI_IRAM_VIRT
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment