tqma8xqp1gb: fix MAX_IRQ setting

The highest defined interrupt in the data sheet is 543 - 32 = 511.
This is important, because the code expects all IRQ numbers to fit into
9 bits (which 511 does, but 512 would not).

Signed-off-by: Gerwin Klein <gerwin.klein@proofcraft.systems>
This commit is contained in:
Gerwin Klein
2024-01-09 14:08:56 +11:00
parent 4a2f8e7a81
commit 5d1f3bc3ce

View File

@@ -20,7 +20,7 @@ if(KernelPlatformTqma8xqp1gb)
list(APPEND KernelDTSList "src/plat/tqma8xqp1gb/overlay-${KernelPlatform}.dts")
declare_default_headers(
TIMER_FREQUENCY 8000000
MAX_IRQ 512
MAX_IRQ 511
TIMER drivers/timer/arm_generic.h
TIMER_OVERHEAD_TICKS 1
INTERRUPT_CONTROLLER arch/machine/gic_v3.h