summaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorPatryk Duda <pdk@semihalf.com>2022-04-05 16:43:12 +0200
committerChromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com>2022-04-06 00:07:58 +0000
commitecca82efe4c0fce7fbacd888ea513e74831b341d (patch)
tree0bc65f86f68b8c7ac5138e6fc9c22535b7fe6981 /core
parentdf7b85d7a0b734700fe0d4cdc3178df0c3f40384 (diff)
downloadchrome-ec-ecca82efe4c0fce7fbacd888ea513e74831b341d.tar.gz
cortex-m/vecttable: Fix IRQ vectors list
Basing on [1], [2], [3], [4] all Cortex-M processors that runs EC have 240 external interrupts and 15 exceptions which results in total number of 255 exception vectors. Fix vector table by removing redundant external interrupt definitions. [1] Cortex-M7 Processor Technical Reference Manual -> Nested Vectored Interrupt Controller -> NVIC functional description https://developer.arm.com/documentation/ddi0489/latest [2] Cortex-M4 Processor Technical Reference Manual -> Nested Vectored Interrupt Controller -> NVIC functional description https://developer.arm.com/documentation/100166/latest [3] Cortex-M Comparison Table https://developer.arm.com/documentation/102787/latest [4] Cortex-M4 Devices Generic User Guide p. 2-22 2-23 https://developer.arm.com/documentation/dui0553/latest/ BUG=b:215593629 BRANCH=none TEST=make -j buildall TEST=./test/run_device_tests -b dartmonkey TEST=./test/run_device_tests -b bloonchipper Signed-off-by: Patryk Duda <pdk@semihalf.com> Change-Id: I3b06f290f9a3b2d22b9b2d947d21e4967929bc13 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3572081 Reviewed-by: Daisuke Nojiri <dnojiri@chromium.org> Commit-Queue: Patryk Duda <patrykd@google.com>
Diffstat (limited to 'core')
-rw-r--r--core/cortex-m/vecttable.c15
1 files changed, 0 insertions, 15 deletions
diff --git a/core/cortex-m/vecttable.c b/core/cortex-m/vecttable.c
index 10b4b22422..4897376c1b 100644
--- a/core/cortex-m/vecttable.c
+++ b/core/cortex-m/vecttable.c
@@ -370,21 +370,6 @@ table(
irq(237)
irq(238)
irq(239)
- irq(240)
- irq(241)
- irq(242)
- irq(243)
- irq(244)
- irq(245)
- irq(246)
- irq(247)
- irq(248)
- irq(249)
- irq(250)
- irq(251)
- irq(252)
- irq(253)
- irq(254)
)
#if PASS == 2