Merge changes from topic "db/unsigned_long" into integration
[project/bcm63xx/atf.git] / bl1 / bl1_main.c
index df01dbae0b1baacda2c5fae3cf7e00d47e28b1e9..2bb85114fd8b36e504c9245140361697d6926485 100644 (file)
@@ -49,7 +49,7 @@ void bl1_calc_bl2_mem_layout(const meminfo_t *bl1_mem_layout,
        bl2_mem_layout->total_base = bl1_mem_layout->total_base;
        bl2_mem_layout->total_size = BL1_RW_BASE - bl1_mem_layout->total_base;
 
-       flush_dcache_range((unsigned long)bl2_mem_layout, sizeof(meminfo_t));
+       flush_dcache_range((uintptr_t)bl2_mem_layout, sizeof(meminfo_t));
 }
 
 /*******************************************************************************