|
@@ -36,6 +36,7 @@
|
|
|
#include <asm/mach/map.h>
|
|
|
#include <asm/mach/arch.h>
|
|
|
#include <asm/mach/time.h>
|
|
|
+#include <asm/hardware/cache-l2x0.h>
|
|
|
|
|
|
#include "common.h"
|
|
|
#include "dma-register.h"
|
|
@@ -813,7 +814,12 @@ void __init r8a7740_init_irq_of(void)
|
|
|
|
|
|
static void __init r8a7740_generic_init(void)
|
|
|
{
|
|
|
- r8a7740_clock_init(0);
|
|
|
+ r8a7740_meram_workaround();
|
|
|
+
|
|
|
+#ifdef CONFIG_CACHE_L2X0
|
|
|
+ /* Shared attribute override enable, 32K*8way */
|
|
|
+ l2x0_init(IOMEM(0xf0002000), 0x00400000, 0xc20f0fff);
|
|
|
+#endif
|
|
|
of_platform_populate(NULL, of_default_bus_match_table, NULL, NULL);
|
|
|
}
|
|
|
|