diff options
author | Martin Roth <martin.roth@se-eng.com> | 2014-08-09 16:26:17 -0600 |
---|---|---|
committer | Patrick Georgi <patrick@georgi-clan.de> | 2014-08-11 07:22:58 +0200 |
commit | bfca984b782585fba7ff800dfa2190f518d2c521 (patch) | |
tree | 6058422b899eb7320828f50e3e2c5f34c6433ece /src/mainboard/intel/bayleybay_fsp | |
parent | 61f767f6a4d2eb93e70f13ed21e3c59e4c9d816c (diff) |
soc/intel/fsp_baytrail: set up for including irqroute.h twice
irq_helper.h intentionally gets included into irqroute.asl twice - once
for pic mode and once for apic mode. Since people are used to seeing
guard statements on the .h files, add the guards to irqroute.h and add
a comment to irq_helper.h explaining why they aren't there. Add a
time.
Change-Id: I882cbbff0f73bdb170bd0f1053767893722dc60a
Signed-off-by: Martin Roth <martin.roth@se-eng.com>
Reviewed-on: http://review.coreboot.org/6572
Tested-by: build bot (Jenkins)
Reviewed-by: Edward O'Callaghan <eocallaghan@alterapraxis.com>
Diffstat (limited to 'src/mainboard/intel/bayleybay_fsp')
-rw-r--r-- | src/mainboard/intel/bayleybay_fsp/irqroute.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/mainboard/intel/bayleybay_fsp/irqroute.h b/src/mainboard/intel/bayleybay_fsp/irqroute.h index 4a29b20930..08552c534c 100644 --- a/src/mainboard/intel/bayleybay_fsp/irqroute.h +++ b/src/mainboard/intel/bayleybay_fsp/irqroute.h @@ -17,6 +17,9 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ +#ifndef IRQROUTE_H +#define IRQROUTE_H + #include <soc/intel/fsp_baytrail/baytrail/irq.h> #include <soc/intel/fsp_baytrail/baytrail/pci_devs.h> @@ -70,3 +73,5 @@ PIRQ_PIC(F, 12), \ PIRQ_PIC(G, 14), \ PIRQ_PIC(H, 15) + +#endif /* IRQROUTE_H */ |