pm.c (f26e8817b235d8764363bffcc9cbfc61867371f2) | pm.c (64fc2a947a9873700929ec0ef02b4654a04e0476) |
---|---|
1/* 2 * Suspend/resume support. Currently supporting Armada XP only. 3 * 4 * Copyright (C) 2014 Marvell 5 * 6 * Thomas Petazzoni <thomas.petazzoni@free-electrons.com> 7 * 8 * This file is licensed under the terms of the GNU General Public --- 96 unchanged lines hidden (view full) --- 105 106 return of_translate_address(np, in_addr); 107} 108 109static void mvebu_pm_store_armadaxp_bootinfo(u32 *store_addr) 110{ 111 phys_addr_t resume_pc; 112 | 1/* 2 * Suspend/resume support. Currently supporting Armada XP only. 3 * 4 * Copyright (C) 2014 Marvell 5 * 6 * Thomas Petazzoni <thomas.petazzoni@free-electrons.com> 7 * 8 * This file is licensed under the terms of the GNU General Public --- 96 unchanged lines hidden (view full) --- 105 106 return of_translate_address(np, in_addr); 107} 108 109static void mvebu_pm_store_armadaxp_bootinfo(u32 *store_addr) 110{ 111 phys_addr_t resume_pc; 112 |
113 resume_pc = virt_to_phys(armada_370_xp_cpu_resume); | 113 resume_pc = __pa_symbol(armada_370_xp_cpu_resume); |
114 115 /* 116 * The bootloader expects the first two words to be a magic 117 * value (BOOT_MAGIC_WORD), followed by the address of the 118 * resume code to jump to. Then, it expects a sequence of 119 * (address, value) pairs, which can be used to restore the 120 * value of certain registers. This sequence must end with the 121 * BOOT_MAGIC_LIST_END magic value. --- 149 unchanged lines hidden --- | 114 115 /* 116 * The bootloader expects the first two words to be a magic 117 * value (BOOT_MAGIC_WORD), followed by the address of the 118 * resume code to jump to. Then, it expects a sequence of 119 * (address, value) pairs, which can be used to restore the 120 * value of certain registers. This sequence must end with the 121 * BOOT_MAGIC_LIST_END magic value. --- 149 unchanged lines hidden --- |