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