platsmp.c (e558bdc21ae1f0db520eccd84015e17d8a589973) | platsmp.c (bad29933fef76fb6ee577f4a0b6d145c1f52f663) |
---|---|
1/* 2 * Actions Semi Leopard 3 * 4 * This file is based on arm realview smp platform. 5 * 6 * Copyright 2012 Actions Semi Inc. 7 * Author: Actions Semi, Inc. 8 * --- 57 unchanged lines hidden (view full) --- 66 if (ret) 67 return ret; 68 break; 69 } 70 71 /* wait for CPUx to run to WFE instruction */ 72 udelay(200); 73 | 1/* 2 * Actions Semi Leopard 3 * 4 * This file is based on arm realview smp platform. 5 * 6 * Copyright 2012 Actions Semi Inc. 7 * Author: Actions Semi, Inc. 8 * --- 57 unchanged lines hidden (view full) --- 66 if (ret) 67 return ret; 68 break; 69 } 70 71 /* wait for CPUx to run to WFE instruction */ 72 udelay(200); 73 |
74 writel(virt_to_phys(owl_secondary_startup), | 74 writel(__pa_symbol(owl_secondary_startup), |
75 timer_base_addr + OWL_CPU1_ADDR + (cpu - 1) * 4); 76 writel(OWL_CPUx_FLAG_BOOT, 77 timer_base_addr + OWL_CPU1_FLAG + (cpu - 1) * 4); 78 79 dsb_sev(); 80 mb(); 81 82 return 0; --- 89 unchanged lines hidden --- | 75 timer_base_addr + OWL_CPU1_ADDR + (cpu - 1) * 4); 76 writel(OWL_CPUx_FLAG_BOOT, 77 timer_base_addr + OWL_CPU1_FLAG + (cpu - 1) * 4); 78 79 dsb_sev(); 80 mb(); 81 82 return 0; --- 89 unchanged lines hidden --- |