]> git.proxmox.com Git - mirror_edk2.git/blobdiff - Omap35xxPkg/Include/Omap3530/Omap3530Interrupt.h
Omap35xxPkg, BeagleBoardPkg: Use Pcd for INTERRUPT_BASE
[mirror_edk2.git] / Omap35xxPkg / Include / Omap3530 / Omap3530Interrupt.h
index 774d8730153da9dfb4ee82333cd84c83795b421d..d8d727e4c86dbf5511a977b65c97e6f788bffa06 100644 (file)
@@ -1,6 +1,7 @@
 /** @file\r
 \r
   Copyright (c) 2008 - 2009, Apple Inc. All rights reserved.<BR>\r
+  Copyright (c) 2016, Linaro Ltd. All rights reserved.<BR>\r
 \r
   This program and the accompanying materials\r
   are licensed and made available under the terms and conditions of the BSD License\r
@@ -15,7 +16,9 @@
 #ifndef __OMAP3530INTERRUPT_H__\r
 #define __OMAP3530INTERRUPT_H__\r
 \r
-#define INTERRUPT_BASE (0x48200000)\r
+#include <Library/PcdLib.h>\r
+\r
+#define INTERRUPT_BASE        (PcdGet32 (PcdInterruptBaseAddress))\r
 \r
 #define INT_NROF_VECTORS      (96)\r
 #define MAX_VECTOR            (INT_NROF_VECTORS - 1)\r