1 // SPDX-License-Identifier: GPL-2.0 1 2 /* 3 * TI AM33XX and AM43XX PM Assembly Offsets 4 * 5 * Copyright (C) 2017-2018 Texas Instruments I 6 */ 7 8 #include <linux/kbuild.h> 9 #include <linux/platform_data/pm33xx.h> 10 #include <linux/ti-emif-sram.h> 11 12 int main(void) 13 { 14 ti_emif_asm_offsets(); 15 16 DEFINE(AMX3_PM_WFI_FLAGS_OFFSET, 17 offsetof(struct am33xx_pm_sram_ 18 DEFINE(AMX3_PM_L2_AUX_CTRL_VAL_OFFSET, 19 offsetof(struct am33xx_pm_sram_ 20 DEFINE(AMX3_PM_L2_PREFETCH_CTRL_VAL_OF 21 offsetof(struct am33xx_pm_sram_ 22 DEFINE(AMX3_PM_SRAM_DATA_SIZE, sizeof( 23 24 BLANK(); 25 26 DEFINE(AMX3_PM_RO_SRAM_DATA_VIRT_OFFSE 27 offsetof(struct am33xx_pm_ro_sr 28 DEFINE(AMX3_PM_RO_SRAM_DATA_PHYS_OFFSE 29 offsetof(struct am33xx_pm_ro_sr 30 DEFINE(AMX3_PM_RTC_BASE_VIRT_OFFSET, 31 offsetof(struct am33xx_pm_ro_sr 32 DEFINE(AMX3_PM_RO_SRAM_DATA_SIZE, 33 sizeof(struct am33xx_pm_ro_sram 34 35 return 0; 36 } 37
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.