Skip to content

Commit 467c88f

Browse files
author
Ingo Molnar
committed
Merge branches 'x86/apic', 'x86/asm', 'x86/fixmap', 'x86/memtest', 'x86/mm', 'x86/urgent', 'linus' and 'core/percpu' into x86/core
8 parents 1f442d7 + 7ab1524 + 8827247 + d1a8e77 + 0feca85 + d0fc63f + 7a203f3 + 3a450de commit 467c88f

143 files changed

Lines changed: 2069 additions & 2156 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎Documentation/filesystems/squashfs.txt‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Squashfs filesystem features versus Cramfs:
2222

2323
Squashfs Cramfs
2424

25-
Max filesystem size: 2^64 16 MiB
25+
Max filesystem size: 2^64 256 MiB
2626
Max file size: ~ 2 TiB 16 MiB
2727
Max files: unlimited unlimited
2828
Max directories: unlimited unlimited

‎arch/arm/mach-at91/at91sam9263_devices.c‎

Lines changed: 105 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -347,6 +347,111 @@ void __init at91_add_device_mmc(short mmc_id, struct at91_mmc_data *data)
347347
void __init at91_add_device_mmc(short mmc_id, struct at91_mmc_data *data) {}
348348
#endif
349349

350+
/* --------------------------------------------------------------------
351+
* Compact Flash (PCMCIA or IDE)
352+
* -------------------------------------------------------------------- */
353+
354+
#if defined(CONFIG_AT91_CF) || defined(CONFIG_AT91_CF_MODULE) || \
355+
defined(CONFIG_BLK_DEV_IDE_AT91) || defined(CONFIG_BLK_DEV_IDE_AT91_MODULE)
356+
357+
static struct at91_cf_data cf0_data;
358+
359+
static struct resource cf0_resources[] = {
360+
[0] = {
361+
.start = AT91_CHIPSELECT_4,
362+
.end = AT91_CHIPSELECT_4 + SZ_256M - 1,
363+
.flags = IORESOURCE_MEM | IORESOURCE_MEM_8AND16BIT,
364+
}
365+
};
366+
367+
static struct platform_device cf0_device = {
368+
.id = 0,
369+
.dev = {
370+
.platform_data = &cf0_data,
371+
},
372+
.resource = cf0_resources,
373+
.num_resources = ARRAY_SIZE(cf0_resources),
374+
};
375+
376+
static struct at91_cf_data cf1_data;
377+
378+
static struct resource cf1_resources[] = {
379+
[0] = {
380+
.start = AT91_CHIPSELECT_5,
381+
.end = AT91_CHIPSELECT_5 + SZ_256M - 1,
382+
.flags = IORESOURCE_MEM | IORESOURCE_MEM_8AND16BIT,
383+
}
384+
};
385+
386+
static struct platform_device cf1_device = {
387+
.id = 1,
388+
.dev = {
389+
.platform_data = &cf1_data,
390+
},
391+
.resource = cf1_resources,
392+
.num_resources = ARRAY_SIZE(cf1_resources),
393+
};
394+
395+
void __init at91_add_device_cf(struct at91_cf_data *data)
396+
{
397+
unsigned long ebi0_csa;
398+
struct platform_device *pdev;
399+
400+
if (!data)
401+
return;
402+
403+
/*
404+
* assign CS4 or CS5 to SMC with Compact Flash logic support,
405+
* we assume SMC timings are configured by board code,
406+
* except True IDE where timings are controlled by driver
407+
*/
408+
ebi0_csa = at91_sys_read(AT91_MATRIX_EBI0CSA);
409+
switch (data->chipselect) {
410+
case 4:
411+
at91_set_A_periph(AT91_PIN_PD6, 0); /* EBI0_NCS4/CFCS0 */
412+
ebi0_csa |= AT91_MATRIX_EBI0_CS4A_SMC_CF1;
413+
cf0_data = *data;
414+
pdev = &cf0_device;
415+
break;
416+
case 5:
417+
at91_set_A_periph(AT91_PIN_PD7, 0); /* EBI0_NCS5/CFCS1 */
418+
ebi0_csa |= AT91_MATRIX_EBI0_CS5A_SMC_CF2;
419+
cf1_data = *data;
420+
pdev = &cf1_device;
421+
break;
422+
default:
423+
printk(KERN_ERR "AT91 CF: bad chip-select requested (%u)\n",
424+
data->chipselect);
425+
return;
426+
}
427+
at91_sys_write(AT91_MATRIX_EBI0CSA, ebi0_csa);
428+
429+
if (data->det_pin) {
430+
at91_set_gpio_input(data->det_pin, 1);
431+
at91_set_deglitch(data->det_pin, 1);
432+
}
433+
434+
if (data->irq_pin) {
435+
at91_set_gpio_input(data->irq_pin, 1);
436+
at91_set_deglitch(data->irq_pin, 1);
437+
}
438+
439+
if (data->vcc_pin)
440+
/* initially off */
441+
at91_set_gpio_output(data->vcc_pin, 0);
442+
443+
/* enable EBI controlled pins */
444+
at91_set_A_periph(AT91_PIN_PD5, 1); /* NWAIT */
445+
at91_set_A_periph(AT91_PIN_PD8, 0); /* CFCE1 */
446+
at91_set_A_periph(AT91_PIN_PD9, 0); /* CFCE2 */
447+
at91_set_A_periph(AT91_PIN_PD14, 0); /* CFNRW */
448+
449+
pdev->name = (data->flags & AT91_CF_TRUE_IDE) ? "at91_ide" : "at91_cf";
450+
platform_device_register(pdev);
451+
}
452+
#else
453+
void __init at91_add_device_cf(struct at91_cf_data *data) {}
454+
#endif
350455

351456
/* --------------------------------------------------------------------
352457
* NAND / SmartMedia

‎arch/arm/mach-at91/include/mach/board.h‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,9 @@ struct at91_cf_data {
5656
u8 vcc_pin; /* power switching */
5757
u8 rst_pin; /* card reset */
5858
u8 chipselect; /* EBI Chip Select number */
59+
u8 flags;
60+
#define AT91_CF_TRUE_IDE 0x01
61+
#define AT91_IDE_SWAP_A0_A2 0x02
5962
};
6063
extern void __init at91_add_device_cf(struct at91_cf_data *data);
6164

‎arch/blackfin/Kconfig‎

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1129,6 +1129,7 @@ endchoice
11291129

11301130
config PM_WAKEUP_BY_GPIO
11311131
bool "Allow Wakeup from Standby by GPIO"
1132+
depends on PM && !BF54x
11321133

11331134
config PM_WAKEUP_GPIO_NUMBER
11341135
int "GPIO number"
@@ -1168,6 +1169,12 @@ config PM_BFIN_WAKE_GP
11681169
default n
11691170
help
11701171
Enable General-Purpose Wake-Up (Voltage Regulator Power-Up)
1172+
(all processors, except ADSP-BF549). This option sets
1173+
the general-purpose wake-up enable (GPWE) control bit to enable
1174+
wake-up upon detection of an active low signal on the /GPW (PH7) pin.
1175+
On ADSP-BF549 this option enables the the same functionality on the
1176+
/MRXON pin also PH7.
1177+
11711178
endmenu
11721179

11731180
menu "CPU Frequency scaling"

‎arch/blackfin/Kconfig.debug‎

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,6 @@ config DEBUG_STACK_USAGE
2121
config HAVE_ARCH_KGDB
2222
def_bool y
2323

24-
config KGDB_TESTCASE
25-
tristate "KGDB: for test case in expect"
26-
default n
27-
help
28-
This is a kgdb test case for automated testing.
29-
3024
config DEBUG_VERBOSE
3125
bool "Verbose fault messages"
3226
default y

‎arch/blackfin/configs/BF518F-EZBRD_defconfig‎

Lines changed: 59 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#
22
# Automatically generated make config: don't edit
3-
# Linux kernel version: 2.6.28-rc2
4-
# Fri Jan 9 17:58:41 2009
3+
# Linux kernel version: 2.6.28
4+
# Fri Feb 20 10:01:44 2009
55
#
66
# CONFIG_MMU is not set
77
# CONFIG_FPU is not set
@@ -133,10 +133,15 @@ CONFIG_BF518=y
133133
# CONFIG_BF538 is not set
134134
# CONFIG_BF539 is not set
135135
# CONFIG_BF542 is not set
136+
# CONFIG_BF542M is not set
136137
# CONFIG_BF544 is not set
138+
# CONFIG_BF544M is not set
137139
# CONFIG_BF547 is not set
140+
# CONFIG_BF547M is not set
138141
# CONFIG_BF548 is not set
142+
# CONFIG_BF548M is not set
139143
# CONFIG_BF549 is not set
144+
# CONFIG_BF549M is not set
140145
# CONFIG_BF561 is not set
141146
CONFIG_BF_REV_MIN=0
142147
CONFIG_BF_REV_MAX=2
@@ -426,7 +431,17 @@ CONFIG_DEFAULT_TCP_CONG="cubic"
426431
# CONFIG_TIPC is not set
427432
# CONFIG_ATM is not set
428433
# CONFIG_BRIDGE is not set
429-
# CONFIG_NET_DSA is not set
434+
CONFIG_NET_DSA=y
435+
# CONFIG_NET_DSA_TAG_DSA is not set
436+
# CONFIG_NET_DSA_TAG_EDSA is not set
437+
# CONFIG_NET_DSA_TAG_TRAILER is not set
438+
CONFIG_NET_DSA_TAG_STPID=y
439+
# CONFIG_NET_DSA_MV88E6XXX is not set
440+
# CONFIG_NET_DSA_MV88E6060 is not set
441+
# CONFIG_NET_DSA_MV88E6XXX_NEED_PPU is not set
442+
# CONFIG_NET_DSA_MV88E6131 is not set
443+
# CONFIG_NET_DSA_MV88E6123_61_65 is not set
444+
CONFIG_NET_DSA_KSZ8893M=y
430445
# CONFIG_VLAN_8021Q is not set
431446
# CONFIG_DECNET is not set
432447
# CONFIG_LLC2 is not set
@@ -529,6 +544,8 @@ CONFIG_MTD_COMPLEX_MAPPINGS=y
529544
#
530545
# Self-contained MTD device drivers
531546
#
547+
# CONFIG_MTD_DATAFLASH is not set
548+
# CONFIG_MTD_M25P80 is not set
532549
# CONFIG_MTD_SLRAM is not set
533550
# CONFIG_MTD_PHRAM is not set
534551
# CONFIG_MTD_MTDRAM is not set
@@ -561,7 +578,9 @@ CONFIG_BLK_DEV_RAM_SIZE=4096
561578
# CONFIG_BLK_DEV_HD is not set
562579
CONFIG_MISC_DEVICES=y
563580
# CONFIG_EEPROM_93CX6 is not set
581+
# CONFIG_ICS932S401 is not set
564582
# CONFIG_ENCLOSURE_SERVICES is not set
583+
# CONFIG_C2PORT is not set
565584
CONFIG_HAVE_IDE=y
566585
# CONFIG_IDE is not set
567586

@@ -607,6 +626,7 @@ CONFIG_BFIN_RX_DESC_NUM=20
607626
# CONFIG_SMC91X is not set
608627
# CONFIG_SMSC911X is not set
609628
# CONFIG_DM9000 is not set
629+
# CONFIG_ENC28J60 is not set
610630
# CONFIG_IBM_NEW_EMAC_ZMII is not set
611631
# CONFIG_IBM_NEW_EMAC_RGMII is not set
612632
# CONFIG_IBM_NEW_EMAC_TAH is not set
@@ -764,7 +784,23 @@ CONFIG_I2C_BLACKFIN_TWI_CLK_KHZ=100
764784
# CONFIG_I2C_DEBUG_ALGO is not set
765785
# CONFIG_I2C_DEBUG_BUS is not set
766786
# CONFIG_I2C_DEBUG_CHIP is not set
767-
# CONFIG_SPI is not set
787+
CONFIG_SPI=y
788+
# CONFIG_SPI_DEBUG is not set
789+
CONFIG_SPI_MASTER=y
790+
791+
#
792+
# SPI Master Controller Drivers
793+
#
794+
CONFIG_SPI_BFIN=y
795+
# CONFIG_SPI_BFIN_LOCK is not set
796+
# CONFIG_SPI_BITBANG is not set
797+
798+
#
799+
# SPI Protocol Masters
800+
#
801+
# CONFIG_SPI_AT25 is not set
802+
# CONFIG_SPI_SPIDEV is not set
803+
# CONFIG_SPI_TLE62X0 is not set
768804
CONFIG_ARCH_WANT_OPTIONAL_GPIOLIB=y
769805
# CONFIG_GPIOLIB is not set
770806
# CONFIG_W1 is not set
@@ -788,8 +824,10 @@ CONFIG_BFIN_WDT=y
788824
# CONFIG_MFD_SM501 is not set
789825
# CONFIG_HTC_PASIC3 is not set
790826
# CONFIG_MFD_TMIO is not set
827+
# CONFIG_PMIC_DA903X is not set
791828
# CONFIG_MFD_WM8400 is not set
792829
# CONFIG_MFD_WM8350_I2C is not set
830+
# CONFIG_REGULATOR is not set
793831

794832
#
795833
# Multimedia devices
@@ -861,10 +899,18 @@ CONFIG_RTC_INTF_DEV=y
861899
# CONFIG_RTC_DRV_M41T80 is not set
862900
# CONFIG_RTC_DRV_S35390A is not set
863901
# CONFIG_RTC_DRV_FM3130 is not set
902+
# CONFIG_RTC_DRV_RX8581 is not set
864903

865904
#
866905
# SPI RTC drivers
867906
#
907+
# CONFIG_RTC_DRV_M41T94 is not set
908+
# CONFIG_RTC_DRV_DS1305 is not set
909+
# CONFIG_RTC_DRV_DS1390 is not set
910+
# CONFIG_RTC_DRV_MAX6902 is not set
911+
# CONFIG_RTC_DRV_R9701 is not set
912+
# CONFIG_RTC_DRV_RS5C348 is not set
913+
# CONFIG_RTC_DRV_DS3234 is not set
868914

869915
#
870916
# Platform RTC drivers
@@ -1062,12 +1108,20 @@ CONFIG_DEBUG_INFO=y
10621108
# CONFIG_DEBUG_BLOCK_EXT_DEVT is not set
10631109
# CONFIG_FAULT_INJECTION is not set
10641110
CONFIG_SYSCTL_SYSCALL_CHECK=y
1111+
1112+
#
1113+
# Tracers
1114+
#
1115+
# CONFIG_SCHED_TRACER is not set
1116+
# CONFIG_CONTEXT_SWITCH_TRACER is not set
1117+
# CONFIG_BOOT_TRACER is not set
10651118
# CONFIG_DYNAMIC_PRINTK_DEBUG is not set
10661119
# CONFIG_SAMPLES is not set
10671120
CONFIG_HAVE_ARCH_KGDB=y
10681121
# CONFIG_KGDB is not set
10691122
# CONFIG_DEBUG_STACKOVERFLOW is not set
10701123
# CONFIG_DEBUG_STACK_USAGE is not set
1124+
# CONFIG_KGDB_TESTCASE is not set
10711125
CONFIG_DEBUG_VERBOSE=y
10721126
CONFIG_DEBUG_MMRS=y
10731127
# CONFIG_DEBUG_HWERR is not set
@@ -1100,6 +1154,7 @@ CONFIG_CRYPTO=y
11001154
#
11011155
# CONFIG_CRYPTO_FIPS is not set
11021156
# CONFIG_CRYPTO_MANAGER is not set
1157+
# CONFIG_CRYPTO_MANAGER2 is not set
11031158
# CONFIG_CRYPTO_GF128MUL is not set
11041159
# CONFIG_CRYPTO_NULL is not set
11051160
# CONFIG_CRYPTO_CRYPTD is not set

‎arch/blackfin/configs/BF527-EZKIT_defconfig‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -327,8 +327,8 @@ CONFIG_BFIN_ICACHE=y
327327
CONFIG_BFIN_DCACHE=y
328328
# CONFIG_BFIN_DCACHE_BANKA is not set
329329
# CONFIG_BFIN_ICACHE_LOCK is not set
330-
# CONFIG_BFIN_WB is not set
331-
CONFIG_BFIN_WT=y
330+
CONFIG_BFIN_WB=y
331+
# CONFIG_BFIN_WT is not set
332332
# CONFIG_MPU is not set
333333

334334
#

‎arch/blackfin/configs/BF533-EZKIT_defconfig‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -290,8 +290,8 @@ CONFIG_BFIN_ICACHE=y
290290
CONFIG_BFIN_DCACHE=y
291291
# CONFIG_BFIN_DCACHE_BANKA is not set
292292
# CONFIG_BFIN_ICACHE_LOCK is not set
293-
# CONFIG_BFIN_WB is not set
294-
CONFIG_BFIN_WT=y
293+
CONFIG_BFIN_WB=y
294+
# CONFIG_BFIN_WT is not set
295295
# CONFIG_MPU is not set
296296

297297
#

‎arch/blackfin/configs/BF533-STAMP_defconfig‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -290,8 +290,8 @@ CONFIG_BFIN_ICACHE=y
290290
CONFIG_BFIN_DCACHE=y
291291
# CONFIG_BFIN_DCACHE_BANKA is not set
292292
# CONFIG_BFIN_ICACHE_LOCK is not set
293-
# CONFIG_BFIN_WB is not set
294-
CONFIG_BFIN_WT=y
293+
CONFIG_BFIN_WB=y
294+
# CONFIG_BFIN_WT is not set
295295
# CONFIG_MPU is not set
296296

297297
#

‎arch/blackfin/configs/BF537-STAMP_defconfig‎

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -298,8 +298,8 @@ CONFIG_BFIN_ICACHE=y
298298
CONFIG_BFIN_DCACHE=y
299299
# CONFIG_BFIN_DCACHE_BANKA is not set
300300
# CONFIG_BFIN_ICACHE_LOCK is not set
301-
# CONFIG_BFIN_WB is not set
302-
CONFIG_BFIN_WT=y
301+
CONFIG_BFIN_WB=y
302+
# CONFIG_BFIN_WT is not set
303303
# CONFIG_MPU is not set
304304

305305
#
@@ -568,15 +568,7 @@ CONFIG_MTD_PHYSMAP_BANKWIDTH=2
568568
# CONFIG_MTD_DOC2000 is not set
569569
# CONFIG_MTD_DOC2001 is not set
570570
# CONFIG_MTD_DOC2001PLUS is not set
571-
CONFIG_MTD_NAND=m
572-
# CONFIG_MTD_NAND_VERIFY_WRITE is not set
573-
# CONFIG_MTD_NAND_ECC_SMC is not set
574-
# CONFIG_MTD_NAND_MUSEUM_IDS is not set
575-
# CONFIG_MTD_NAND_BFIN is not set
576-
CONFIG_MTD_NAND_IDS=m
577-
# CONFIG_MTD_NAND_DISKONCHIP is not set
578-
# CONFIG_MTD_NAND_NANDSIM is not set
579-
CONFIG_MTD_NAND_PLATFORM=m
571+
# CONFIG_MTD_NAND is not set
580572
# CONFIG_MTD_ONENAND is not set
581573

582574
#

0 commit comments

Comments
 (0)