diff options
author | Tero Kristo <t-kristo@ti.com> | 2014-09-08 10:44:10 +0200 |
---|---|---|
committer | Tero Kristo <t-kristo@ti.com> | 2015-03-31 20:26:53 +0200 |
commit | 219595b6ee139d883b98a9a32efbe2970802200a (patch) | |
tree | 623443e322ccee493e2aeb6f5cc929931b70c087 /arch/arm/mach-omap2/prm.h | |
parent | ARM: OMAP4+: PRM: setup prm_features from the PRM init time flags (diff) | |
download | linux-219595b6ee139d883b98a9a32efbe2970802200a.tar.xz linux-219595b6ee139d883b98a9a32efbe2970802200a.zip |
ARM: OMAP4+: PRM: get rid of cpu_is_omap44xx calls from interrupt init
The compatible DT node is now passed with the prm init, so there is no
need to do node matching here again. Added a new flag to the init data
also, to detect default IRQ support for OMAP4. Also, any booting omap4
DT setup always has a PRM node, so there is no need to check against
the special case where it would be missing.
Signed-off-by: Tero Kristo <t-kristo@ti.com>
Diffstat (limited to 'arch/arm/mach-omap2/prm.h')
-rw-r--r-- | arch/arm/mach-omap2/prm.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/arch/arm/mach-omap2/prm.h b/arch/arm/mach-omap2/prm.h index 3936e6c38cea..233bc84fbc0e 100644 --- a/arch/arm/mach-omap2/prm.h +++ b/arch/arm/mach-omap2/prm.h @@ -29,9 +29,11 @@ int omap2_prcm_base_init(void); * * PRM_HAS_IO_WAKEUP: has IO wakeup capability * PRM_HAS_VOLTAGE: has voltage domains + * PRM_IRQ_DEFAULT: use default irq number for PRM irq */ -#define PRM_HAS_IO_WAKEUP (1 << 0) -#define PRM_HAS_VOLTAGE (1 << 1) +#define PRM_HAS_IO_WAKEUP BIT(0) +#define PRM_HAS_VOLTAGE BIT(1) +#define PRM_IRQ_DEFAULT BIT(2) /* * MAX_MODULE_SOFTRESET_WAIT: Maximum microseconds to wait for OMAP |