pm33xx.c (74655749a58405e259eaaba66bfc391fdbe1e34e) pm33xx.c (8c5a916f4c8815196cc8a86b9582ca89422aac25)
1// SPDX-License-Identifier: GPL-2.0
2/*
3 * AM33XX Power Management Routines
4 *
5 * Copyright (C) 2012-2018 Texas Instruments Incorporated - http://www.ti.com/
6 * Vaibhav Bedia, Dave Gerlach
7 */
8

--- 215 unchanged lines hidden (view full) ---

224 struct am33xx_pm_ro_sram_data ro_sram_data;
225 int ret;
226 u32 table_addr, ro_data_addr;
227 void *copy_addr;
228
229 ro_sram_data.amx3_pm_sram_data_virt = ocmcram_location_data;
230 ro_sram_data.amx3_pm_sram_data_phys =
231 gen_pool_virt_to_phys(sram_pool_data, ocmcram_location_data);
1// SPDX-License-Identifier: GPL-2.0
2/*
3 * AM33XX Power Management Routines
4 *
5 * Copyright (C) 2012-2018 Texas Instruments Incorporated - http://www.ti.com/
6 * Vaibhav Bedia, Dave Gerlach
7 */
8

--- 215 unchanged lines hidden (view full) ---

224 struct am33xx_pm_ro_sram_data ro_sram_data;
225 int ret;
226 u32 table_addr, ro_data_addr;
227 void *copy_addr;
228
229 ro_sram_data.amx3_pm_sram_data_virt = ocmcram_location_data;
230 ro_sram_data.amx3_pm_sram_data_phys =
231 gen_pool_virt_to_phys(sram_pool_data, ocmcram_location_data);
232 ro_sram_data.rtc_base_virt = pm_ops->get_rtc_base_addr();
232
233 /* Save physical address to calculate resume offset during pm init */
234 am33xx_do_wfi_sram_phys = gen_pool_virt_to_phys(sram_pool,
235 ocmcram_location);
236
237 am33xx_do_wfi_sram = sram_exec_copy(sram_pool, (void *)ocmcram_location,
238 pm_sram->do_wfi,
239 *pm_sram->do_wfi_sz);

--- 123 unchanged lines hidden ---
233
234 /* Save physical address to calculate resume offset during pm init */
235 am33xx_do_wfi_sram_phys = gen_pool_virt_to_phys(sram_pool,
236 ocmcram_location);
237
238 am33xx_do_wfi_sram = sram_exec_copy(sram_pool, (void *)ocmcram_location,
239 pm_sram->do_wfi,
240 *pm_sram->do_wfi_sz);

--- 123 unchanged lines hidden ---