diff options
| -rw-r--r-- | arch/mips/mips-boards/malta/Makefile | 3 | ||||
| -rw-r--r-- | arch/mips/mips-boards/sim/sim_setup.c | 2 | ||||
| -rw-r--r-- | arch/mips/momentum/ocelot_g/prom.c | 4 | ||||
| -rw-r--r-- | arch/mips/momentum/ocelot_g/setup.c | 4 |
4 files changed, 7 insertions, 6 deletions
diff --git a/arch/mips/mips-boards/malta/Makefile b/arch/mips/mips-boards/malta/Makefile index b662c75fb28e..cb7f349b0514 100644 --- a/arch/mips/mips-boards/malta/Makefile +++ b/arch/mips/mips-boards/malta/Makefile | |||
| @@ -19,5 +19,6 @@ | |||
| 19 | # under Linux. | 19 | # under Linux. |
| 20 | # | 20 | # |
| 21 | 21 | ||
| 22 | obj-y := malta_int.o malta_mtd.o malta_setup.o | 22 | obj-y := malta_int.o malta_setup.o |
| 23 | obj-$(CONFIG_MTD) += malta_mtd.o | ||
| 23 | obj-$(CONFIG_SMP) += malta_smp.o | 24 | obj-$(CONFIG_SMP) += malta_smp.o |
diff --git a/arch/mips/mips-boards/sim/sim_setup.c b/arch/mips/mips-boards/sim/sim_setup.c index 2659c1c3b78d..ea2066c3a1f7 100644 --- a/arch/mips/mips-boards/sim/sim_setup.c +++ b/arch/mips/mips-boards/sim/sim_setup.c | |||
| @@ -57,7 +57,7 @@ void __init plat_mem_setup(void) | |||
| 57 | board_time_init = sim_time_init; | 57 | board_time_init = sim_time_init; |
| 58 | prom_printf("Linux started...\n"); | 58 | prom_printf("Linux started...\n"); |
| 59 | 59 | ||
| 60 | #ifdef CONFIG_MT_SMP | 60 | #ifdef CONFIG_MIPS_MT_SMP |
| 61 | sanitize_tlb_entries(); | 61 | sanitize_tlb_entries(); |
| 62 | #endif | 62 | #endif |
| 63 | } | 63 | } |
diff --git a/arch/mips/momentum/ocelot_g/prom.c b/arch/mips/momentum/ocelot_g/prom.c index 6509a9c9863c..2f75c6b91ec5 100644 --- a/arch/mips/momentum/ocelot_g/prom.c +++ b/arch/mips/momentum/ocelot_g/prom.c | |||
| @@ -28,7 +28,7 @@ struct callvectors* debug_vectors; | |||
| 28 | extern unsigned long marvell_base; | 28 | extern unsigned long marvell_base; |
| 29 | extern unsigned long bus_clock; | 29 | extern unsigned long bus_clock; |
| 30 | 30 | ||
| 31 | #ifdef CONFIG_GALILLEO_GT64240_ETH | 31 | #ifdef CONFIG_GALILEO_GT64240_ETH |
| 32 | extern unsigned char prom_mac_addr_base[6]; | 32 | extern unsigned char prom_mac_addr_base[6]; |
| 33 | #endif | 33 | #endif |
| 34 | 34 | ||
| @@ -61,7 +61,7 @@ void __init prom_init(void) | |||
| 61 | mips_machgroup = MACH_GROUP_MOMENCO; | 61 | mips_machgroup = MACH_GROUP_MOMENCO; |
| 62 | mips_machtype = MACH_MOMENCO_OCELOT_G; | 62 | mips_machtype = MACH_MOMENCO_OCELOT_G; |
| 63 | 63 | ||
| 64 | #ifdef CONFIG_GALILLEO_GT64240_ETH | 64 | #ifdef CONFIG_GALILEO_GT64240_ETH |
| 65 | /* get the base MAC address for on-board ethernet ports */ | 65 | /* get the base MAC address for on-board ethernet ports */ |
| 66 | memcpy(prom_mac_addr_base, (void*)0xfc807cf2, 6); | 66 | memcpy(prom_mac_addr_base, (void*)0xfc807cf2, 6); |
| 67 | #endif | 67 | #endif |
diff --git a/arch/mips/momentum/ocelot_g/setup.c b/arch/mips/momentum/ocelot_g/setup.c index d288f7b01842..9db638a7982c 100644 --- a/arch/mips/momentum/ocelot_g/setup.c +++ b/arch/mips/momentum/ocelot_g/setup.c | |||
| @@ -64,7 +64,7 @@ | |||
| 64 | 64 | ||
| 65 | #include "ocelot_pld.h" | 65 | #include "ocelot_pld.h" |
| 66 | 66 | ||
| 67 | #ifdef CONFIG_GALILLEO_GT64240_ETH | 67 | #ifdef CONFIG_GALILEO_GT64240_ETH |
| 68 | extern unsigned char prom_mac_addr_base[6]; | 68 | extern unsigned char prom_mac_addr_base[6]; |
| 69 | #endif | 69 | #endif |
| 70 | 70 | ||
| @@ -185,7 +185,7 @@ void __init plat_mem_setup(void) | |||
| 185 | /* do handoff reconfiguration */ | 185 | /* do handoff reconfiguration */ |
| 186 | PMON_v2_setup(); | 186 | PMON_v2_setup(); |
| 187 | 187 | ||
| 188 | #ifdef CONFIG_GALILLEO_GT64240_ETH | 188 | #ifdef CONFIG_GALILEO_GT64240_ETH |
| 189 | /* get the mac addr */ | 189 | /* get the mac addr */ |
| 190 | memcpy(prom_mac_addr_base, (void*)0xfc807cf2, 6); | 190 | memcpy(prom_mac_addr_base, (void*)0xfc807cf2, 6); |
| 191 | #endif | 191 | #endif |
