From 7cf85a21515320e51c4ad59591e50f3a9a6ca757 Mon Sep 17 00:00:00 2001 From: Kinjal Pravinbhai Patel Date: Mon, 21 Jul 2014 17:42:48 +0530 Subject: [PATCH] BSP: included xil_types.h in xil_mmu.h This patch fixes issue of "unknown type name u32" for xil_mmu.h file by including xil_types.h in xil_mmu.h Signed-off-by: Kinjal Pravinbhai Patel Acked-by: Anirudha Sarangi --- lib/bsp/standalone/src/changelog.txt | 4 +++- lib/bsp/standalone/src/cortexa9/xil_mmu.h | 4 ++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/lib/bsp/standalone/src/changelog.txt b/lib/bsp/standalone/src/changelog.txt index bb2f3e12..7bed6031 100755 --- a/lib/bsp/standalone/src/changelog.txt +++ b/lib/bsp/standalone/src/changelog.txt @@ -186,5 +186,7 @@ * in tool chain to avoid conflicts into some special cases * 4.2 pkp 07/21/14 Corrected reset value of event counter in function * Xpm_ResetEventCounters in src/cortexa9/xpm_counter.c to fix CR#796275 - * + * 4.2 pkp 07/21/14 Included xil_types.h file in xil_mmu.h which had contained a function + * containing type def u32 defined in xil_types.g to resolve issue of + * CR#805869 *****************************************************************************************/ diff --git a/lib/bsp/standalone/src/cortexa9/xil_mmu.h b/lib/bsp/standalone/src/cortexa9/xil_mmu.h index 25068fa3..da3a924f 100755 --- a/lib/bsp/standalone/src/cortexa9/xil_mmu.h +++ b/lib/bsp/standalone/src/cortexa9/xil_mmu.h @@ -41,6 +41,8 @@ * Ver Who Date Changes * ----- ---- -------- --------------------------------------------------- * 1.00a sdm 01/12/12 Initial version +* 4.2 pkp 07/21/14 Included xil_types.h file which contains definition for +* u32 which resolves issue of CR#805869 * * * @note @@ -58,6 +60,8 @@ extern "C" { /***************************** Include Files *********************************/ +#include "xil_types.h" + /***************** Macros (Inline Functions) Definitions *********************/ /**************************** Type Definitions *******************************/