drivers: imx: interrupt: Add IRQSTEER address for i.MX8M platform

i.MX8M has a different IRQSTEER address. Select the correct
address base on CONFIG_ option.

Signed-off-by: Daniel Baluta <daniel.baluta@nxp.com>
This commit is contained in:
Daniel Baluta 2020-01-13 22:17:24 +02:00 committed by Daniel Baluta
parent 5241050337
commit ea13eacae2
1 changed files with 4 additions and 0 deletions

View File

@ -78,6 +78,10 @@
#define IRQSTR_BASE_ADDR 0x51080000
#endif
#if defined CONFIG_IMX8M
#define IRQSTR_BASE_ADDR 0x30A80000
#endif
/* The MASK, SET (unused) and STATUS registers are 512-bit registers
* split into 16 32-bit registers that we can directly access.
*