blob: 437c3101ac450d5d23c6222516fa257c386ba8a0 [file] [log] [blame]
Thomas Gleixner75a6faf2019-06-01 10:08:37 +02001// SPDX-License-Identifier: GPL-2.0-only
Andrew Bresticker6a438302015-03-16 14:43:10 -07002/*
3 * Pistachio IRQ setup
4 *
5 * Copyright (C) 2014 Google, Inc.
Andrew Bresticker6a438302015-03-16 14:43:10 -07006 */
7
8#include <linux/init.h>
9#include <linux/irqchip.h>
Andrew Bresticker6a438302015-03-16 14:43:10 -070010#include <linux/kernel.h>
11
12#include <asm/cpu-features.h>
13#include <asm/irq_cpu.h>
14
15void __init arch_init_irq(void)
16{
17 pr_info("EIC is %s\n", cpu_has_veic ? "on" : "off");
18 pr_info("VINT is %s\n", cpu_has_vint ? "on" : "off");
19
20 if (!cpu_has_veic)
21 mips_cpu_irq_init();
22
23 irqchip_init();
24}