|
@@ -31,6 +31,7 @@
|
|
|
#include <asm/mach-types.h>
|
|
|
#include <asm/hardware/gic.h>
|
|
|
#include <asm/hardware/icst307.h>
|
|
|
+#include <asm/hardware/cache-l2x0.h>
|
|
|
|
|
|
#include <asm/mach/arch.h>
|
|
|
#include <asm/mach/map.h>
|
|
@@ -69,6 +70,11 @@ static struct map_desc realview_eb_io_desc[] __initdata = {
|
|
|
.pfn = __phys_to_pfn(REALVIEW_GIC1_DIST_BASE),
|
|
|
.length = SZ_4K,
|
|
|
.type = MT_DEVICE,
|
|
|
+ }, {
|
|
|
+ .virtual = IO_ADDRESS(REALVIEW_MPCORE_L220_BASE),
|
|
|
+ .pfn = __phys_to_pfn(REALVIEW_MPCORE_L220_BASE),
|
|
|
+ .length = SZ_8K,
|
|
|
+ .type = MT_DEVICE,
|
|
|
},
|
|
|
#endif
|
|
|
{
|
|
@@ -170,6 +176,11 @@ static void __init realview_eb_init(void)
|
|
|
{
|
|
|
int i;
|
|
|
|
|
|
+#ifdef CONFIG_REALVIEW_MPCORE
|
|
|
+ /* 1MB (128KB/way), 8-way associativity, evmon/parity/share enabled
|
|
|
+ * Bits: .... ...0 0111 1001 0000 .... .... .... */
|
|
|
+ l2x0_init(__io_address(REALVIEW_MPCORE_L220_BASE), 0x00790000, 0xfe000fff);
|
|
|
+#endif
|
|
|
clk_register(&realview_clcd_clk);
|
|
|
|
|
|
platform_device_register(&realview_flash_device);
|