diff options
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/configs/u8500_defconfig | 59 | ||||
-rw-r--r-- | arch/arm/configs/vexpress_defconfig | 140 | ||||
-rw-r--r-- | arch/arm/kernel/etm.c | 4 |
3 files changed, 193 insertions, 10 deletions
diff --git a/arch/arm/configs/u8500_defconfig b/arch/arm/configs/u8500_defconfig index 52d86c4485bf..a5cce242a775 100644 --- a/arch/arm/configs/u8500_defconfig +++ b/arch/arm/configs/u8500_defconfig | |||
@@ -1,7 +1,6 @@ | |||
1 | CONFIG_EXPERIMENTAL=y | 1 | CONFIG_EXPERIMENTAL=y |
2 | # CONFIG_SWAP is not set | 2 | # CONFIG_SWAP is not set |
3 | CONFIG_SYSVIPC=y | 3 | CONFIG_SYSVIPC=y |
4 | CONFIG_SYSFS_DEPRECATED_V2=y | ||
5 | CONFIG_BLK_DEV_INITRD=y | 4 | CONFIG_BLK_DEV_INITRD=y |
6 | CONFIG_KALLSYMS_ALL=y | 5 | CONFIG_KALLSYMS_ALL=y |
7 | CONFIG_MODULES=y | 6 | CONFIG_MODULES=y |
@@ -13,43 +12,89 @@ CONFIG_UX500_SOC_DB5500=y | |||
13 | CONFIG_UX500_SOC_DB8500=y | 12 | CONFIG_UX500_SOC_DB8500=y |
14 | CONFIG_MACH_U8500=y | 13 | CONFIG_MACH_U8500=y |
15 | CONFIG_MACH_U5500=y | 14 | CONFIG_MACH_U5500=y |
15 | CONFIG_NO_HZ=y | ||
16 | CONFIG_HIGH_RES_TIMERS=y | ||
16 | CONFIG_SMP=y | 17 | CONFIG_SMP=y |
17 | CONFIG_NR_CPUS=2 | 18 | CONFIG_NR_CPUS=2 |
19 | CONFIG_HOTPLUG_CPU=y | ||
18 | CONFIG_PREEMPT=y | 20 | CONFIG_PREEMPT=y |
19 | CONFIG_AEABI=y | 21 | CONFIG_AEABI=y |
20 | CONFIG_CMDLINE="root=/dev/ram0 console=ttyAMA2,115200n8" | 22 | CONFIG_CMDLINE="root=/dev/ram0 console=ttyAMA2,115200n8" |
23 | CONFIG_CPU_FREQ=y | ||
24 | CONFIG_CPU_FREQ_DEFAULT_GOV_ONDEMAND=y | ||
21 | CONFIG_VFP=y | 25 | CONFIG_VFP=y |
22 | CONFIG_NEON=y | 26 | CONFIG_NEON=y |
27 | CONFIG_NET=y | ||
28 | CONFIG_PHONET=y | ||
29 | CONFIG_PHONET_PIPECTRLR=y | ||
30 | # CONFIG_WIRELESS is not set | ||
31 | CONFIG_CAIF=y | ||
23 | CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug" | 32 | CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug" |
24 | CONFIG_BLK_DEV_RAM=y | 33 | CONFIG_BLK_DEV_RAM=y |
25 | CONFIG_BLK_DEV_RAM_SIZE=65536 | 34 | CONFIG_BLK_DEV_RAM_SIZE=65536 |
26 | # CONFIG_MISC_DEVICES is not set | 35 | CONFIG_MISC_DEVICES=y |
36 | CONFIG_AB8500_PWM=y | ||
37 | CONFIG_SENSORS_BH1780=y | ||
27 | # CONFIG_INPUT_MOUSEDEV_PSAUX is not set | 38 | # CONFIG_INPUT_MOUSEDEV_PSAUX is not set |
28 | CONFIG_INPUT_EVDEV=y | 39 | CONFIG_INPUT_EVDEV=y |
29 | # CONFIG_INPUT_KEYBOARD is not set | 40 | # CONFIG_KEYBOARD_ATKBD is not set |
41 | CONFIG_KEYBOARD_GPIO=y | ||
42 | CONFIG_KEYBOARD_NOMADIK=y | ||
43 | CONFIG_KEYBOARD_STMPE=y | ||
44 | CONFIG_KEYBOARD_TC3589X=y | ||
30 | # CONFIG_INPUT_MOUSE is not set | 45 | # CONFIG_INPUT_MOUSE is not set |
46 | CONFIG_INPUT_TOUCHSCREEN=y | ||
47 | CONFIG_TOUCHSCREEN_BU21013=y | ||
48 | CONFIG_INPUT_MISC=y | ||
49 | CONFIG_INPUT_AB8500_PONKEY=y | ||
31 | # CONFIG_SERIO is not set | 50 | # CONFIG_SERIO is not set |
32 | CONFIG_VT_HW_CONSOLE_BINDING=y | 51 | CONFIG_VT_HW_CONSOLE_BINDING=y |
33 | CONFIG_SERIAL_AMBA_PL011=y | 52 | CONFIG_SERIAL_AMBA_PL011=y |
34 | CONFIG_SERIAL_AMBA_PL011_CONSOLE=y | 53 | CONFIG_SERIAL_AMBA_PL011_CONSOLE=y |
35 | # CONFIG_LEGACY_PTYS is not set | 54 | # CONFIG_LEGACY_PTYS is not set |
36 | # CONFIG_HW_RANDOM is not set | 55 | CONFIG_HW_RANDOM=y |
56 | CONFIG_HW_RANDOM_NOMADIK=y | ||
57 | CONFIG_I2C=y | ||
58 | CONFIG_I2C_NOMADIK=y | ||
37 | CONFIG_SPI=y | 59 | CONFIG_SPI=y |
38 | CONFIG_SPI_PL022=y | 60 | CONFIG_SPI_PL022=y |
61 | CONFIG_GPIO_STMPE=y | ||
62 | CONFIG_GPIO_TC3589X=y | ||
39 | # CONFIG_HWMON is not set | 63 | # CONFIG_HWMON is not set |
40 | # CONFIG_VGA_CONSOLE is not set | 64 | CONFIG_MFD_STMPE=y |
65 | CONFIG_MFD_TC3589X=y | ||
66 | CONFIG_AB8500_CORE=y | ||
67 | CONFIG_REGULATOR=y | ||
68 | CONFIG_REGULATOR_AB8500=y | ||
41 | # CONFIG_HID_SUPPORT is not set | 69 | # CONFIG_HID_SUPPORT is not set |
42 | # CONFIG_USB_SUPPORT is not set | 70 | # CONFIG_USB_SUPPORT is not set |
71 | CONFIG_MMC=y | ||
72 | CONFIG_MMC_ARMMMCI=y | ||
73 | CONFIG_NEW_LEDS=y | ||
74 | CONFIG_LEDS_CLASS=y | ||
75 | CONFIG_LEDS_LP5521=y | ||
76 | CONFIG_RTC_CLASS=y | ||
77 | CONFIG_RTC_DRV_AB8500=y | ||
78 | CONFIG_RTC_DRV_PL031=y | ||
79 | CONFIG_DMADEVICES=y | ||
80 | CONFIG_STE_DMA40=y | ||
81 | CONFIG_STAGING=y | ||
82 | # CONFIG_STAGING_EXCLUDE_BUILD is not set | ||
83 | CONFIG_TOUCHSCREEN_SYNAPTICS_I2C_RMI4=y | ||
43 | CONFIG_EXT2_FS=y | 84 | CONFIG_EXT2_FS=y |
44 | CONFIG_EXT2_FS_XATTR=y | 85 | CONFIG_EXT2_FS_XATTR=y |
45 | CONFIG_EXT2_FS_POSIX_ACL=y | 86 | CONFIG_EXT2_FS_POSIX_ACL=y |
46 | CONFIG_EXT2_FS_SECURITY=y | 87 | CONFIG_EXT2_FS_SECURITY=y |
47 | CONFIG_INOTIFY=y | 88 | CONFIG_EXT3_FS=y |
89 | CONFIG_VFAT_FS=y | ||
48 | CONFIG_TMPFS=y | 90 | CONFIG_TMPFS=y |
49 | CONFIG_TMPFS_POSIX_ACL=y | 91 | CONFIG_TMPFS_POSIX_ACL=y |
50 | CONFIG_CONFIGFS_FS=m | 92 | CONFIG_CONFIGFS_FS=m |
51 | # CONFIG_MISC_FILESYSTEMS is not set | 93 | # CONFIG_MISC_FILESYSTEMS is not set |
94 | CONFIG_NLS_CODEPAGE_437=y | ||
95 | CONFIG_NLS_ISO8859_1=y | ||
52 | CONFIG_MAGIC_SYSRQ=y | 96 | CONFIG_MAGIC_SYSRQ=y |
97 | CONFIG_DEBUG_FS=y | ||
53 | CONFIG_DEBUG_KERNEL=y | 98 | CONFIG_DEBUG_KERNEL=y |
54 | # CONFIG_SCHED_DEBUG is not set | 99 | # CONFIG_SCHED_DEBUG is not set |
55 | # CONFIG_DEBUG_PREEMPT is not set | 100 | # CONFIG_DEBUG_PREEMPT is not set |
@@ -58,5 +103,3 @@ CONFIG_DEBUG_INFO=y | |||
58 | # CONFIG_FTRACE is not set | 103 | # CONFIG_FTRACE is not set |
59 | CONFIG_DEBUG_USER=y | 104 | CONFIG_DEBUG_USER=y |
60 | CONFIG_DEBUG_ERRORS=y | 105 | CONFIG_DEBUG_ERRORS=y |
61 | CONFIG_CRC_T10DIF=m | ||
62 | # CONFIG_CRC32 is not set | ||
diff --git a/arch/arm/configs/vexpress_defconfig b/arch/arm/configs/vexpress_defconfig new file mode 100644 index 000000000000..f2de51f0bd18 --- /dev/null +++ b/arch/arm/configs/vexpress_defconfig | |||
@@ -0,0 +1,140 @@ | |||
1 | CONFIG_EXPERIMENTAL=y | ||
2 | # CONFIG_LOCALVERSION_AUTO is not set | ||
3 | CONFIG_SYSVIPC=y | ||
4 | CONFIG_IKCONFIG=y | ||
5 | CONFIG_IKCONFIG_PROC=y | ||
6 | CONFIG_LOG_BUF_SHIFT=14 | ||
7 | CONFIG_CGROUPS=y | ||
8 | CONFIG_CPUSETS=y | ||
9 | # CONFIG_UTS_NS is not set | ||
10 | # CONFIG_IPC_NS is not set | ||
11 | # CONFIG_USER_NS is not set | ||
12 | # CONFIG_PID_NS is not set | ||
13 | # CONFIG_NET_NS is not set | ||
14 | CONFIG_BLK_DEV_INITRD=y | ||
15 | # CONFIG_CC_OPTIMIZE_FOR_SIZE is not set | ||
16 | CONFIG_PROFILING=y | ||
17 | CONFIG_OPROFILE=y | ||
18 | CONFIG_MODULES=y | ||
19 | CONFIG_MODULE_UNLOAD=y | ||
20 | # CONFIG_LBDAF is not set | ||
21 | # CONFIG_BLK_DEV_BSG is not set | ||
22 | # CONFIG_IOSCHED_DEADLINE is not set | ||
23 | # CONFIG_IOSCHED_CFQ is not set | ||
24 | CONFIG_ARCH_VEXPRESS=y | ||
25 | CONFIG_ARCH_VEXPRESS_CA9X4=y | ||
26 | # CONFIG_SWP_EMULATE is not set | ||
27 | CONFIG_SMP=y | ||
28 | CONFIG_VMSPLIT_2G=y | ||
29 | CONFIG_HOTPLUG_CPU=y | ||
30 | CONFIG_AEABI=y | ||
31 | CONFIG_ZBOOT_ROM_TEXT=0x0 | ||
32 | CONFIG_ZBOOT_ROM_BSS=0x0 | ||
33 | CONFIG_CMDLINE="root=/dev/nfs nfsroot=10.1.69.3:/work/nfsroot ip=dhcp console=ttyAMA0 mem=128M" | ||
34 | CONFIG_VFP=y | ||
35 | CONFIG_NEON=y | ||
36 | # CONFIG_CORE_DUMP_DEFAULT_ELF_HEADERS is not set | ||
37 | CONFIG_NET=y | ||
38 | CONFIG_PACKET=y | ||
39 | CONFIG_UNIX=y | ||
40 | CONFIG_INET=y | ||
41 | CONFIG_IP_PNP=y | ||
42 | CONFIG_IP_PNP_DHCP=y | ||
43 | CONFIG_IP_PNP_BOOTP=y | ||
44 | # CONFIG_INET_LRO is not set | ||
45 | # CONFIG_IPV6 is not set | ||
46 | # CONFIG_WIRELESS is not set | ||
47 | CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug" | ||
48 | CONFIG_MTD=y | ||
49 | CONFIG_MTD_CONCAT=y | ||
50 | CONFIG_MTD_PARTITIONS=y | ||
51 | CONFIG_MTD_CMDLINE_PARTS=y | ||
52 | CONFIG_MTD_CHAR=y | ||
53 | CONFIG_MTD_BLOCK=y | ||
54 | CONFIG_MTD_CFI=y | ||
55 | CONFIG_MTD_CFI_INTELEXT=y | ||
56 | CONFIG_MTD_CFI_AMDSTD=y | ||
57 | CONFIG_MTD_ARM_INTEGRATOR=y | ||
58 | CONFIG_MISC_DEVICES=y | ||
59 | # CONFIG_SCSI_PROC_FS is not set | ||
60 | CONFIG_BLK_DEV_SD=y | ||
61 | # CONFIG_SCSI_LOWLEVEL is not set | ||
62 | CONFIG_ATA=y | ||
63 | # CONFIG_SATA_PMP is not set | ||
64 | CONFIG_NETDEVICES=y | ||
65 | CONFIG_NET_ETHERNET=y | ||
66 | CONFIG_SMSC911X=y | ||
67 | # CONFIG_NETDEV_1000 is not set | ||
68 | # CONFIG_NETDEV_10000 is not set | ||
69 | # CONFIG_WLAN is not set | ||
70 | CONFIG_INPUT_EVDEV=y | ||
71 | # CONFIG_SERIO_SERPORT is not set | ||
72 | CONFIG_SERIO_AMBAKMI=y | ||
73 | CONFIG_SERIAL_AMBA_PL011=y | ||
74 | CONFIG_SERIAL_AMBA_PL011_CONSOLE=y | ||
75 | CONFIG_LEGACY_PTY_COUNT=16 | ||
76 | # CONFIG_HW_RANDOM is not set | ||
77 | # CONFIG_HWMON is not set | ||
78 | CONFIG_FB=y | ||
79 | CONFIG_FB_ARMCLCD=y | ||
80 | CONFIG_FRAMEBUFFER_CONSOLE=y | ||
81 | CONFIG_LOGO=y | ||
82 | # CONFIG_LOGO_LINUX_MONO is not set | ||
83 | # CONFIG_LOGO_LINUX_VGA16 is not set | ||
84 | CONFIG_SOUND=y | ||
85 | CONFIG_SND=y | ||
86 | CONFIG_SND_MIXER_OSS=y | ||
87 | CONFIG_SND_PCM_OSS=y | ||
88 | # CONFIG_SND_DRIVERS is not set | ||
89 | CONFIG_SND_ARMAACI=y | ||
90 | CONFIG_HID_DRAGONRISE=y | ||
91 | CONFIG_HID_GYRATION=y | ||
92 | CONFIG_HID_TWINHAN=y | ||
93 | CONFIG_HID_NTRIG=y | ||
94 | CONFIG_HID_PANTHERLORD=y | ||
95 | CONFIG_HID_PETALYNX=y | ||
96 | CONFIG_HID_SAMSUNG=y | ||
97 | CONFIG_HID_SONY=y | ||
98 | CONFIG_HID_SUNPLUS=y | ||
99 | CONFIG_HID_GREENASIA=y | ||
100 | CONFIG_HID_SMARTJOYPLUS=y | ||
101 | CONFIG_HID_TOPSEED=y | ||
102 | CONFIG_HID_THRUSTMASTER=y | ||
103 | CONFIG_HID_ZEROPLUS=y | ||
104 | CONFIG_USB=y | ||
105 | CONFIG_USB_ANNOUNCE_NEW_DEVICES=y | ||
106 | # CONFIG_USB_DEVICE_CLASS is not set | ||
107 | CONFIG_USB_MON=y | ||
108 | CONFIG_USB_ISP1760_HCD=y | ||
109 | CONFIG_USB_STORAGE=y | ||
110 | CONFIG_MMC=y | ||
111 | CONFIG_MMC_ARMMMCI=y | ||
112 | CONFIG_RTC_CLASS=y | ||
113 | CONFIG_RTC_DRV_PL031=y | ||
114 | CONFIG_EXT2_FS=y | ||
115 | CONFIG_EXT3_FS=y | ||
116 | # CONFIG_EXT3_DEFAULTS_TO_ORDERED is not set | ||
117 | # CONFIG_EXT3_FS_XATTR is not set | ||
118 | CONFIG_VFAT_FS=y | ||
119 | CONFIG_TMPFS=y | ||
120 | CONFIG_JFFS2_FS=y | ||
121 | CONFIG_CRAMFS=y | ||
122 | CONFIG_NFS_FS=y | ||
123 | CONFIG_NFS_V3=y | ||
124 | CONFIG_ROOT_NFS=y | ||
125 | # CONFIG_RPCSEC_GSS_KRB5 is not set | ||
126 | CONFIG_NLS_CODEPAGE_437=y | ||
127 | CONFIG_NLS_ISO8859_1=y | ||
128 | CONFIG_MAGIC_SYSRQ=y | ||
129 | CONFIG_DEBUG_FS=y | ||
130 | CONFIG_DEBUG_KERNEL=y | ||
131 | CONFIG_DETECT_HUNG_TASK=y | ||
132 | # CONFIG_SCHED_DEBUG is not set | ||
133 | CONFIG_DEBUG_INFO=y | ||
134 | # CONFIG_RCU_CPU_STALL_DETECTOR is not set | ||
135 | CONFIG_DEBUG_USER=y | ||
136 | CONFIG_DEBUG_ERRORS=y | ||
137 | CONFIG_DEBUG_LL=y | ||
138 | CONFIG_EARLY_PRINTK=y | ||
139 | # CONFIG_CRYPTO_ANSI_CPRNG is not set | ||
140 | # CONFIG_CRYPTO_HW is not set | ||
diff --git a/arch/arm/kernel/etm.c b/arch/arm/kernel/etm.c index 11db62806a1a..052b509e2d5f 100644 --- a/arch/arm/kernel/etm.c +++ b/arch/arm/kernel/etm.c | |||
@@ -338,7 +338,7 @@ static struct miscdevice etb_miscdev = { | |||
338 | .fops = &etb_fops, | 338 | .fops = &etb_fops, |
339 | }; | 339 | }; |
340 | 340 | ||
341 | static int __init etb_probe(struct amba_device *dev, struct amba_id *id) | 341 | static int __init etb_probe(struct amba_device *dev, const struct amba_id *id) |
342 | { | 342 | { |
343 | struct tracectx *t = &tracer; | 343 | struct tracectx *t = &tracer; |
344 | int ret = 0; | 344 | int ret = 0; |
@@ -530,7 +530,7 @@ static ssize_t trace_mode_store(struct kobject *kobj, | |||
530 | static struct kobj_attribute trace_mode_attr = | 530 | static struct kobj_attribute trace_mode_attr = |
531 | __ATTR(trace_mode, 0644, trace_mode_show, trace_mode_store); | 531 | __ATTR(trace_mode, 0644, trace_mode_show, trace_mode_store); |
532 | 532 | ||
533 | static int __init etm_probe(struct amba_device *dev, struct amba_id *id) | 533 | static int __init etm_probe(struct amba_device *dev, const struct amba_id *id) |
534 | { | 534 | { |
535 | struct tracectx *t = &tracer; | 535 | struct tracectx *t = &tracer; |
536 | int ret = 0; | 536 | int ret = 0; |