summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'test/am437x/armv7/nonos/mmu_arm.c')
-rw-r--r--test/am437x/armv7/nonos/mmu_arm.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/am437x/armv7/nonos/mmu_arm.c b/test/am437x/armv7/nonos/mmu_arm.c
index fc83134..5911bae 100644
--- a/test/am437x/armv7/nonos/mmu_arm.c
+++ b/test/am437x/armv7/nonos/mmu_arm.c
@@ -43,6 +43,7 @@
43/* Include Files */ 43/* Include Files */
44/* ========================================================================== */ 44/* ========================================================================== */
45 45
46#include <ti/csl/tistdtypes.h>
46#include "ti/starterware/include/types.h" 47#include "ti/starterware/include/types.h"
47#include "ti/starterware/include/mmu.h" 48#include "ti/starterware/include/mmu.h"
48#include "ti/starterware/include/armv7a/cp15.h" 49#include "ti/starterware/include/armv7a/cp15.h"
@@ -159,7 +160,7 @@ int32_t MMUMemRegionMap(mmuMemRegionConfig_t *pRegion, uint32_t *pMasterPt)
159 int32_t status = S_PASS; 160 int32_t status = S_PASS;
160 int32_t index; 161 int32_t index;
161 162
162 if(pMasterPt == NULL) 163 if(pMasterPt == NULL_PTR)
163 status = E_INVALID_PARAM; 164 status = E_INVALID_PARAM;
164 165
165 /* Get the first entry in the page table to set */ 166 /* Get the first entry in the page table to set */