libpayload/arm64: Drop unused static array

Fixes build with gcc8.1

Change-Id: I042f79ddfb4c249e00b5b259280289b8534f6854
Signed-off-by: Patrick Georgi <pgeorgi@chromium.org>
Reviewed-on: https://review.coreboot.org/27546
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Reviewed-by: Julius Werner <jwerner@chromium.org>
This commit is contained in:
Patrick Georgi 2018-07-19 12:14:17 +02:00 committed by Patrick Georgi
parent 5ef51edd4c
commit c430ecec9e
1 changed files with 0 additions and 19 deletions

View File

@ -28,25 +28,6 @@ struct gdb_regs
u32 spsr;
} __packed;
static const u8 type_to_signal[] = {
[EXC_SYNC_SP0] = GDB_SIGTRAP,
[EXC_IRQ_SP0] = GDB_SIGSEGV,
[EXC_FIQ_SP0] = GDB_SIGSEGV,
[EXC_SERROR_SP0] = GDB_SIGSEGV,
[EXC_SYNC_SPX] = GDB_SIGTRAP,
[EXC_IRQ_SPX] = GDB_SIGSEGV,
[EXC_FIQ_SPX] = GDB_SIGSEGV,
[EXC_SERROR_SPX] = GDB_SIGSEGV,
[EXC_SYNC_ELX_64] = GDB_SIGTRAP,
[EXC_IRQ_ELX_64] = GDB_SIGSEGV,
[EXC_FIQ_ELX_64] = GDB_SIGSEGV,
[EXC_SERROR_ELX_64] = GDB_SIGSEGV,
[EXC_SYNC_ELX_32] = GDB_SIGTRAP,
[EXC_IRQ_ELX_32] = GDB_SIGSEGV,
[EXC_FIQ_ELX_32] = GDB_SIGSEGV,
[EXC_SERROR_ELX_32] = GDB_SIGSEGV
};
static int gdb_exception_hook(u32 type)
{
return -1;