diff options
-rw-r--r-- | arch/arm/configs/armadillo800eva_defconfig | 1 | ||||
-rw-r--r-- | arch/arm/mach-shmobile/setup-r8a7740.c | 16 |
2 files changed, 17 insertions, 0 deletions
diff --git a/arch/arm/configs/armadillo800eva_defconfig b/arch/arm/configs/armadillo800eva_defconfig index f78d259f8d23..3d764072dd54 100644 --- a/arch/arm/configs/armadillo800eva_defconfig +++ b/arch/arm/configs/armadillo800eva_defconfig | |||
@@ -7,6 +7,7 @@ CONFIG_LOG_BUF_SHIFT=16 | |||
7 | # CONFIG_IPC_NS is not set | 7 | # CONFIG_IPC_NS is not set |
8 | # CONFIG_PID_NS is not set | 8 | # CONFIG_PID_NS is not set |
9 | CONFIG_CC_OPTIMIZE_FOR_SIZE=y | 9 | CONFIG_CC_OPTIMIZE_FOR_SIZE=y |
10 | CONFIG_PERF_EVENTS=y | ||
10 | CONFIG_SLAB=y | 11 | CONFIG_SLAB=y |
11 | CONFIG_MODULES=y | 12 | CONFIG_MODULES=y |
12 | CONFIG_MODULE_UNLOAD=y | 13 | CONFIG_MODULE_UNLOAD=y |
diff --git a/arch/arm/mach-shmobile/setup-r8a7740.c b/arch/arm/mach-shmobile/setup-r8a7740.c index 9777e2daffd2..6ac242cdca7f 100644 --- a/arch/arm/mach-shmobile/setup-r8a7740.c +++ b/arch/arm/mach-shmobile/setup-r8a7740.c | |||
@@ -590,6 +590,21 @@ static struct platform_device i2c1_device = { | |||
590 | .num_resources = ARRAY_SIZE(i2c1_resources), | 590 | .num_resources = ARRAY_SIZE(i2c1_resources), |
591 | }; | 591 | }; |
592 | 592 | ||
593 | static struct resource pmu_resources[] = { | ||
594 | [0] = { | ||
595 | .start = evt2irq(0x19a0), | ||
596 | .end = evt2irq(0x19a0), | ||
597 | .flags = IORESOURCE_IRQ, | ||
598 | }, | ||
599 | }; | ||
600 | |||
601 | static struct platform_device pmu_device = { | ||
602 | .name = "arm-pmu", | ||
603 | .id = -1, | ||
604 | .num_resources = ARRAY_SIZE(pmu_resources), | ||
605 | .resource = pmu_resources, | ||
606 | }; | ||
607 | |||
593 | static struct platform_device *r8a7740_late_devices[] __initdata = { | 608 | static struct platform_device *r8a7740_late_devices[] __initdata = { |
594 | &i2c0_device, | 609 | &i2c0_device, |
595 | &i2c1_device, | 610 | &i2c1_device, |
@@ -597,6 +612,7 @@ static struct platform_device *r8a7740_late_devices[] __initdata = { | |||
597 | &dma1_device, | 612 | &dma1_device, |
598 | &dma2_device, | 613 | &dma2_device, |
599 | &usb_dma_device, | 614 | &usb_dma_device, |
615 | &pmu_device, | ||
600 | }; | 616 | }; |
601 | 617 | ||
602 | /* | 618 | /* |