arch/arm/src/am335x/chip/am3358_memorymap.h: Code cleanup for beaglebone black port
arch/arm/src/am335x/am335x_irq.c: Uncomment code for interrupt enable/disable
This commit is contained in:
parent
62fe15e87c
commit
a0ba6a12a4
@ -275,9 +275,11 @@ void up_disable_irq(int irq)
|
||||
{
|
||||
if (irq < AM335X_IRQ_NINT)
|
||||
{
|
||||
//__asm__ __volatile__ ("\tdsb");
|
||||
__asm__ __volatile__ ("\tdsb");
|
||||
|
||||
/* Disable interrupt on INTC */
|
||||
//putreg32(INTC_MIR_SET(irq), AM335X_INTC_MIR_SET(irq));
|
||||
|
||||
putreg32(INTC_MIR_SET(irq), AM335X_INTC_MIR_SET(irq));
|
||||
}
|
||||
#ifdef CONFIG_AM335X_GPIO_IRQ
|
||||
else
|
||||
@ -301,9 +303,11 @@ void up_enable_irq(int irq)
|
||||
{
|
||||
if (irq < AM335X_IRQ_NINT)
|
||||
{
|
||||
//__asm__ __volatile__ ("\tdsb");
|
||||
__asm__ __volatile__ ("\tdsb");
|
||||
|
||||
/* Enable interrupt on INTC */
|
||||
//putreg32(INTC_MIR_CLEAR(irq), AM335X_INTC_MIR_CLEAR(irq));
|
||||
|
||||
putreg32(INTC_MIR_CLEAR(irq), AM335X_INTC_MIR_CLEAR(irq));
|
||||
}
|
||||
#ifdef CONFIG_AM335X_GPIO_IRQ
|
||||
else
|
||||
|
@ -498,8 +498,6 @@
|
||||
|
||||
# define IDLE_STACK_PBASE (PGTABLE_BASE_PADDR - CONFIG_IDLETHREAD_STACKSIZE)
|
||||
# define IDLE_STACK_VBASE (PGTABLE_BASE_VADDR - CONFIG_IDLETHREAD_STACKSIZE)
|
||||
//# define IDLE_STACK_PBASE 0x8d000000
|
||||
//# define IDLE_STACK_VBASE 0x8d000000
|
||||
|
||||
# else /* CONFIG_ARCH_LOWVECTORS */
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user