diff options
Diffstat (limited to 'arch/mips/pmc-sierra')
-rw-r--r-- | arch/mips/pmc-sierra/Platform | 14 | ||||
-rw-r--r-- | arch/mips/pmc-sierra/msp71xx/msp_hwbutton.c | 11 | ||||
-rw-r--r-- | arch/mips/pmc-sierra/yosemite/ht-irq.c | 13 | ||||
-rw-r--r-- | arch/mips/pmc-sierra/yosemite/irq.c | 4 |
4 files changed, 20 insertions, 22 deletions
diff --git a/arch/mips/pmc-sierra/Platform b/arch/mips/pmc-sierra/Platform new file mode 100644 index 000000000000..f092f2524c5f --- /dev/null +++ b/arch/mips/pmc-sierra/Platform | |||
@@ -0,0 +1,14 @@ | |||
1 | # | ||
2 | # PMC-Sierra MSP SOCs | ||
3 | # | ||
4 | platform-$(CONFIG_PMC_MSP) += pmc-sierra/msp71xx/ | ||
5 | cflags-$(CONFIG_PMC_MSP) += -I$(srctree)/arch/mips/include/asm/pmc-sierra/msp71xx \ | ||
6 | -mno-branch-likely | ||
7 | load-$(CONFIG_PMC_MSP) += 0xffffffff80100000 | ||
8 | |||
9 | # | ||
10 | # PMC-Sierra Yosemite | ||
11 | # | ||
12 | platform-$(CONFIG_PMC_YOSEMITE) += pmc-sierra/yosemite/ | ||
13 | cflags-$(CONFIG_PMC_YOSEMITE) += -I$(srctree)/arch/mips/include/asm/mach-yosemite | ||
14 | load-$(CONFIG_PMC_YOSEMITE) += 0xffffffff80100000 | ||
diff --git a/arch/mips/pmc-sierra/msp71xx/msp_hwbutton.c b/arch/mips/pmc-sierra/msp71xx/msp_hwbutton.c index 11769b55438c..c841f083a7f5 100644 --- a/arch/mips/pmc-sierra/msp71xx/msp_hwbutton.c +++ b/arch/mips/pmc-sierra/msp71xx/msp_hwbutton.c | |||
@@ -32,9 +32,6 @@ | |||
32 | #include <msp_int.h> | 32 | #include <msp_int.h> |
33 | #include <msp_regs.h> | 33 | #include <msp_regs.h> |
34 | #include <msp_regops.h> | 34 | #include <msp_regops.h> |
35 | #ifdef CONFIG_PMCTWILED | ||
36 | #include <msp_led_macros.h> | ||
37 | #endif | ||
38 | 35 | ||
39 | /* For hwbutton_interrupt->initial_state */ | 36 | /* For hwbutton_interrupt->initial_state */ |
40 | #define HWBUTTON_HI 0x1 | 37 | #define HWBUTTON_HI 0x1 |
@@ -82,10 +79,6 @@ static void standby_on(void *data) | |||
82 | printk(KERN_WARNING "STANDBY switch was set to ON (not implemented)\n"); | 79 | printk(KERN_WARNING "STANDBY switch was set to ON (not implemented)\n"); |
83 | 80 | ||
84 | /* TODO: Put board in standby mode */ | 81 | /* TODO: Put board in standby mode */ |
85 | #ifdef CONFIG_PMCTWILED | ||
86 | msp_led_turn_off(MSP_LED_PWRSTANDBY_GREEN); | ||
87 | msp_led_turn_on(MSP_LED_PWRSTANDBY_RED); | ||
88 | #endif | ||
89 | } | 82 | } |
90 | 83 | ||
91 | static void standby_off(void *data) | 84 | static void standby_off(void *data) |
@@ -94,10 +87,6 @@ static void standby_off(void *data) | |||
94 | "STANDBY switch was set to OFF (not implemented)\n"); | 87 | "STANDBY switch was set to OFF (not implemented)\n"); |
95 | 88 | ||
96 | /* TODO: Take out of standby mode */ | 89 | /* TODO: Take out of standby mode */ |
97 | #ifdef CONFIG_PMCTWILED | ||
98 | msp_led_turn_on(MSP_LED_PWRSTANDBY_GREEN); | ||
99 | msp_led_turn_off(MSP_LED_PWRSTANDBY_RED); | ||
100 | #endif | ||
101 | } | 90 | } |
102 | 91 | ||
103 | static struct hwbutton_interrupt softreset_sw = { | 92 | static struct hwbutton_interrupt softreset_sw = { |
diff --git a/arch/mips/pmc-sierra/yosemite/ht-irq.c b/arch/mips/pmc-sierra/yosemite/ht-irq.c index 5aec4057314e..86b98e98fb4f 100644 --- a/arch/mips/pmc-sierra/yosemite/ht-irq.c +++ b/arch/mips/pmc-sierra/yosemite/ht-irq.c | |||
@@ -35,18 +35,17 @@ | |||
35 | */ | 35 | */ |
36 | void __init titan_ht_pcibios_fixup_bus(struct pci_bus *bus) | 36 | void __init titan_ht_pcibios_fixup_bus(struct pci_bus *bus) |
37 | { | 37 | { |
38 | struct pci_bus *current_bus = bus; | 38 | struct pci_bus *current_bus = bus; |
39 | struct pci_dev *devices; | 39 | struct pci_dev *devices; |
40 | struct list_head *devices_link; | 40 | struct list_head *devices_link; |
41 | 41 | ||
42 | list_for_each(devices_link, &(current_bus->devices)) { | 42 | list_for_each(devices_link, &(current_bus->devices)) { |
43 | devices = pci_dev_b(devices_link); | 43 | devices = pci_dev_b(devices_link); |
44 | if (devices == NULL) | 44 | if (devices == NULL) |
45 | continue; | 45 | continue; |
46 | } | 46 | } |
47 | 47 | ||
48 | /* | 48 | /* |
49 | * PLX and SPKT related changes go here | 49 | * PLX and SPKT related changes go here |
50 | */ | 50 | */ |
51 | |||
52 | } | 51 | } |
diff --git a/arch/mips/pmc-sierra/yosemite/irq.c b/arch/mips/pmc-sierra/yosemite/irq.c index 51021cfd04bc..25bbbf428be9 100644 --- a/arch/mips/pmc-sierra/yosemite/irq.c +++ b/arch/mips/pmc-sierra/yosemite/irq.c | |||
@@ -150,8 +150,4 @@ void __init arch_init_irq(void) | |||
150 | mips_cpu_irq_init(); | 150 | mips_cpu_irq_init(); |
151 | rm7k_cpu_irq_init(); | 151 | rm7k_cpu_irq_init(); |
152 | rm9k_cpu_irq_init(); | 152 | rm9k_cpu_irq_init(); |
153 | |||
154 | #ifdef CONFIG_GDB_CONSOLE | ||
155 | register_gdb_console(); | ||
156 | #endif | ||
157 | } | 153 | } |