#include <linux/of_platform.h>
#include <linux/of_fdt.h>
#include <asm/cputype.h>
+#ifdef CONFIG_CACHE_L2X0
#include <asm/hardware/cache-l2x0.h>
+#endif
#include <linux/rockchip/common.h>
#include <linux/rockchip/pmu.h>
#include <linux/memblock.h>
iounmap(base);
}
}
- dsb();
+ dsb(sy);
#undef MAP
}
early_initcall(rockchip_cpu_axi_init);
+#ifdef CONFIG_CACHE_L2X0
static int __init rockchip_pl330_l2_cache_init(void)
{
struct device_node *np;
return 0;
}
early_initcall(rockchip_pl330_l2_cache_init);
+#endif
struct gen_pool *rockchip_sram_pool = NULL;
struct pie_chunk *rockchip_pie_chunk = NULL;