diff options
author | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-12-10 22:45:17 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-12-10 22:45:17 -0500 |
commit | c34c15b02e0af7e235f84ca1471747ee1cbb1b87 (patch) | |
tree | ea6a40c40601e8a1af8c21cd537340179427732d | |
parent | 3790ee4bd86396558eedd86faac1052cb782e4e1 (diff) | |
parent | ba0f00b9fcb02b10cc9929fec660f86d1af6a41a (diff) |
Merge branch 'upstream' of git://ftp.linux-mips.org/pub/scm/upstream-linus
* 'upstream' of git://ftp.linux-mips.org/pub/scm/upstream-linus:
[MIPS] Malta: Enable tickless and highres timers.
[MIPS] Bigsur: Enable tickless and and highres timers.
qemu: do not enable IP7 blindly
[MIPS] Alchemy: Fix Au1x SD controller IRQ
[MIPS] Don't byteswap writes to display when running bigendian
-rw-r--r-- | arch/mips/configs/bigsur_defconfig | 9 | ||||
-rw-r--r-- | arch/mips/configs/malta_defconfig | 8 | ||||
-rw-r--r-- | arch/mips/mips-boards/generic/display.c | 4 | ||||
-rw-r--r-- | arch/mips/qemu/q-irq.c | 2 | ||||
-rw-r--r-- | include/asm-mips/mach-au1x00/au1100_mmc.h | 7 |
5 files changed, 25 insertions, 5 deletions
diff --git a/arch/mips/configs/bigsur_defconfig b/arch/mips/configs/bigsur_defconfig index 80b0c99c2cfb..3c70c9d16d01 100644 --- a/arch/mips/configs/bigsur_defconfig +++ b/arch/mips/configs/bigsur_defconfig | |||
@@ -76,9 +76,13 @@ CONFIG_RWSEM_GENERIC_SPINLOCK=y | |||
76 | CONFIG_GENERIC_FIND_NEXT_BIT=y | 76 | CONFIG_GENERIC_FIND_NEXT_BIT=y |
77 | CONFIG_GENERIC_HWEIGHT=y | 77 | CONFIG_GENERIC_HWEIGHT=y |
78 | CONFIG_GENERIC_CALIBRATE_DELAY=y | 78 | CONFIG_GENERIC_CALIBRATE_DELAY=y |
79 | CONFIG_GENERIC_CLOCKEVENTS=y | ||
79 | CONFIG_GENERIC_TIME=y | 80 | CONFIG_GENERIC_TIME=y |
81 | CONFIG_GENERIC_CMOS_UPDATE=y | ||
80 | CONFIG_SCHED_NO_NO_OMIT_FRAME_POINTER=y | 82 | CONFIG_SCHED_NO_NO_OMIT_FRAME_POINTER=y |
81 | # CONFIG_GENERIC_HARDIRQS_NO__DO_IRQ is not set | 83 | # CONFIG_GENERIC_HARDIRQS_NO__DO_IRQ is not set |
84 | CONFIG_CEVT_BCM1480=y | ||
85 | CONFIG_CSRC_BCM1480=y | ||
82 | CONFIG_DMA_COHERENT=y | 86 | CONFIG_DMA_COHERENT=y |
83 | CONFIG_CPU_BIG_ENDIAN=y | 87 | CONFIG_CPU_BIG_ENDIAN=y |
84 | # CONFIG_CPU_LITTLE_ENDIAN is not set | 88 | # CONFIG_CPU_LITTLE_ENDIAN is not set |
@@ -91,6 +95,11 @@ CONFIG_MIPS_L1_CACHE_SHIFT=5 | |||
91 | # | 95 | # |
92 | # CPU selection | 96 | # CPU selection |
93 | # | 97 | # |
98 | CONFIG_TICK_ONESHOT=y | ||
99 | CONFIG_NO_HZ=y | ||
100 | CONFIG_HIGH_RES_TIMERS=y | ||
101 | CONFIG_GENERIC_CLOCKEVENTS_BUILD=y | ||
102 | # CONFIG_CPU_LOONGSON2 is not set | ||
94 | # CONFIG_CPU_MIPS32_R1 is not set | 103 | # CONFIG_CPU_MIPS32_R1 is not set |
95 | # CONFIG_CPU_MIPS32_R2 is not set | 104 | # CONFIG_CPU_MIPS32_R2 is not set |
96 | # CONFIG_CPU_MIPS64_R1 is not set | 105 | # CONFIG_CPU_MIPS64_R1 is not set |
diff --git a/arch/mips/configs/malta_defconfig b/arch/mips/configs/malta_defconfig index fbd2d802fdfd..4b7e43c9f69a 100644 --- a/arch/mips/configs/malta_defconfig +++ b/arch/mips/configs/malta_defconfig | |||
@@ -49,10 +49,13 @@ CONFIG_RWSEM_GENERIC_SPINLOCK=y | |||
49 | CONFIG_GENERIC_FIND_NEXT_BIT=y | 49 | CONFIG_GENERIC_FIND_NEXT_BIT=y |
50 | CONFIG_GENERIC_HWEIGHT=y | 50 | CONFIG_GENERIC_HWEIGHT=y |
51 | CONFIG_GENERIC_CALIBRATE_DELAY=y | 51 | CONFIG_GENERIC_CALIBRATE_DELAY=y |
52 | CONFIG_GENERIC_CLOCKEVENTS=y | ||
52 | CONFIG_GENERIC_TIME=y | 53 | CONFIG_GENERIC_TIME=y |
54 | CONFIG_GENERIC_CMOS_UPDATE=y | ||
53 | CONFIG_SCHED_NO_NO_OMIT_FRAME_POINTER=y | 55 | CONFIG_SCHED_NO_NO_OMIT_FRAME_POINTER=y |
54 | # CONFIG_GENERIC_HARDIRQS_NO__DO_IRQ is not set | 56 | # CONFIG_GENERIC_HARDIRQS_NO__DO_IRQ is not set |
55 | CONFIG_ARCH_MAY_HAVE_PC_FDC=y | 57 | CONFIG_ARCH_MAY_HAVE_PC_FDC=y |
58 | CONFIG_CEVT_R4K=y | ||
56 | CONFIG_DMA_NONCOHERENT=y | 59 | CONFIG_DMA_NONCOHERENT=y |
57 | CONFIG_DMA_NEED_PCI_MAP_STATE=y | 60 | CONFIG_DMA_NEED_PCI_MAP_STATE=y |
58 | CONFIG_EARLY_PRINTK=y | 61 | CONFIG_EARLY_PRINTK=y |
@@ -76,6 +79,10 @@ CONFIG_MIPS_L1_CACHE_SHIFT=5 | |||
76 | # | 79 | # |
77 | # CPU selection | 80 | # CPU selection |
78 | # | 81 | # |
82 | CONFIG_TICK_ONESHOT=y | ||
83 | CONFIG_NO_HZ=y | ||
84 | CONFIG_HIGH_RES_TIMERS=y | ||
85 | CONFIG_GENERIC_CLOCKEVENTS_BUILD=y | ||
79 | # CONFIG_CPU_LOONGSON2 is not set | 86 | # CONFIG_CPU_LOONGSON2 is not set |
80 | # CONFIG_CPU_MIPS32_R1 is not set | 87 | # CONFIG_CPU_MIPS32_R1 is not set |
81 | CONFIG_CPU_MIPS32_R2=y | 88 | CONFIG_CPU_MIPS32_R2=y |
@@ -253,6 +260,7 @@ CONFIG_HW_HAS_PCI=y | |||
253 | CONFIG_PCI=y | 260 | CONFIG_PCI=y |
254 | # CONFIG_ARCH_SUPPORTS_MSI is not set | 261 | # CONFIG_ARCH_SUPPORTS_MSI is not set |
255 | CONFIG_MMU=y | 262 | CONFIG_MMU=y |
263 | CONFIG_I8253=y | ||
256 | 264 | ||
257 | # | 265 | # |
258 | # PCCARD (PCMCIA/CardBus) support | 266 | # PCCARD (PCMCIA/CardBus) support |
diff --git a/arch/mips/mips-boards/generic/display.c b/arch/mips/mips-boards/generic/display.c index 5d600054090a..2a0057cfc30d 100644 --- a/arch/mips/mips-boards/generic/display.c +++ b/arch/mips/mips-boards/generic/display.c | |||
@@ -37,9 +37,9 @@ void mips_display_message(const char *str) | |||
37 | 37 | ||
38 | for (i = 0; i <= 14; i=i+2) { | 38 | for (i = 0; i <= 14; i=i+2) { |
39 | if (*str) | 39 | if (*str) |
40 | writel(*str++, display + i); | 40 | __raw_writel(*str++, display + i); |
41 | else | 41 | else |
42 | writel(' ', display + i); | 42 | __raw_writel(' ', display + i); |
43 | } | 43 | } |
44 | } | 44 | } |
45 | 45 | ||
diff --git a/arch/mips/qemu/q-irq.c b/arch/mips/qemu/q-irq.c index 11f984767880..7df36dbe65c7 100644 --- a/arch/mips/qemu/q-irq.c +++ b/arch/mips/qemu/q-irq.c | |||
@@ -33,5 +33,5 @@ void __init arch_init_irq(void) | |||
33 | 33 | ||
34 | mips_cpu_irq_init(); | 34 | mips_cpu_irq_init(); |
35 | init_i8259_irqs(); | 35 | init_i8259_irqs(); |
36 | set_c0_status(0x8400); | 36 | set_c0_status(0x400); |
37 | } | 37 | } |
diff --git a/include/asm-mips/mach-au1x00/au1100_mmc.h b/include/asm-mips/mach-au1x00/au1100_mmc.h index 9e7d1ba21b55..9e0028f60a43 100644 --- a/include/asm-mips/mach-au1x00/au1100_mmc.h +++ b/include/asm-mips/mach-au1x00/au1100_mmc.h | |||
@@ -41,8 +41,11 @@ | |||
41 | 41 | ||
42 | #define NUM_AU1100_MMC_CONTROLLERS 2 | 42 | #define NUM_AU1100_MMC_CONTROLLERS 2 |
43 | 43 | ||
44 | 44 | #if defined(CONFIG_SOC_AU1100) | |
45 | #define AU1100_SD_IRQ 2 | 45 | #define AU1100_SD_IRQ AU1100_SD_INT |
46 | #elif defined(CONFIG_SOC_AU1200) | ||
47 | #define AU1100_SD_IRQ AU1200_SD_INT | ||
48 | #endif | ||
46 | 49 | ||
47 | 50 | ||
48 | #define SD0_BASE 0xB0600000 | 51 | #define SD0_BASE 0xB0600000 |