.. | .. |
---|
141 | 141 | |
---|
142 | 142 | /* |
---|
143 | 143 | * Memory setup is done in the early part of MIPS's arch_mem_init. It's supposed |
---|
144 | | - * to detect memory and record it with add_memory_region. |
---|
| 144 | + * to detect memory and record it with memblock_add. |
---|
145 | 145 | * Any extra initializaion performed here must not use kmalloc or bootmem. |
---|
146 | 146 | */ |
---|
147 | 147 | void __init plat_mem_setup(void) |
---|
148 | 148 | { |
---|
149 | 149 | struct cpuinfo_mips *c = ¤t_cpu_data; |
---|
150 | 150 | |
---|
151 | | - if ((c->cputype == CPU_74K) || (c->cputype == CPU_1074K)) { |
---|
| 151 | + if (c->cputype == CPU_74K) { |
---|
152 | 152 | pr_info("Using bcma bus\n"); |
---|
153 | 153 | #ifdef CONFIG_BCM47XX_BCMA |
---|
154 | 154 | bcm47xx_bus_type = BCM47XX_BUS_TYPE_BCMA; |
---|
.. | .. |
---|
274 | 274 | bcm47xx_leds_register(); |
---|
275 | 275 | bcm47xx_workarounds(); |
---|
276 | 276 | |
---|
277 | | - fixed_phy_add(PHY_POLL, 0, &bcm47xx_fixed_phy_status, -1); |
---|
| 277 | + fixed_phy_add(PHY_POLL, 0, &bcm47xx_fixed_phy_status); |
---|
278 | 278 | return 0; |
---|
279 | 279 | } |
---|
280 | 280 | device_initcall(bcm47xx_register_bus_complete); |
---|