WSL2-Linux-Kernel/arch/arm/mach-omap2
Arnd Bergmann 863204cfda ARM: omap2: hide omap3_save_secure_ram on non-OMAP3 builds
In configurations without CONFIG_OMAP3 but with secure RAM support,
we now run into a link failure:

arch/arm/mach-omap2/omap-secure.o: In function `omap3_save_secure_ram':
omap-secure.c:(.text+0x130): undefined reference to `save_secure_ram_context'

The omap3_save_secure_ram() function is only called from the OMAP34xx
power management code, so we can simply hide that function in the
appropriate #ifdef.

Fixes: d09220a887 ("ARM: OMAP2+: Fix SRAM virt to phys translation for save_secure_ram_context")
Acked-by: Tony Lindgren <tony@atomide.com>
Tested-by: Dan Murphy <dmurphy@ti.com>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2017-12-07 15:52:21 +01:00
..
include/mach
Kconfig bus: ti-sysc: Add minimal TI sysc interconnect target driver 2017-10-10 14:23:43 -07:00
Makefile ARM: SoC platform updates for 4.15 2017-11-16 14:05:12 -08:00
am33xx-restart.c
am33xx.h
board-generic.c ARM/arm64: SoC platform updates for v4.14 2017-09-10 20:35:46 -07:00
board-n8x0.c ARM: OMAP2+: Remove unused legacy code for n8x0 2017-06-08 04:15:10 -07:00
clkt2xxx_dpll.c
clkt2xxx_dpllcore.c
clkt2xxx_virt_prcm_set.c
clock.c
clock.h
clock2xxx.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
clock3xxx.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
clockdomain.c ARM: omap2+: clockdomain: add clkdm_xlate_address 2017-06-06 00:13:56 -07:00
clockdomain.h ARM: omap2+: clockdomain: add clkdm_xlate_address 2017-06-06 00:13:56 -07:00
clockdomains2xxx_3xxx_data.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
clockdomains3xxx_data.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
clockdomains7xx_data.c
clockdomains33xx_data.c
clockdomains43xx_data.c
clockdomains44xx_data.c
clockdomains54xx_data.c
clockdomains81xx_data.c
clockdomains2420_data.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
clockdomains2430_data.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
cm-regbits-7xx.h
cm-regbits-24xx.h
cm-regbits-33xx.h
cm-regbits-34xx.h
cm-regbits-44xx.h
cm-regbits-54xx.h
cm.h ARM: OMAP2+: PRCM: store also physical addresses for instances 2017-06-06 00:13:51 -07:00
cm1_7xx.h
cm1_44xx.h
cm1_54xx.h
cm2_7xx.h
cm2_44xx.h
cm2_54xx.h
cm2xxx.c
cm2xxx.h
cm2xxx_3xxx.h ARM: OMAP2+: PRCM: store also physical addresses for instances 2017-06-06 00:13:51 -07:00
cm3xxx.c ARM: OMAP2+: PRCM: store also physical addresses for instances 2017-06-06 00:13:51 -07:00
cm3xxx.h
cm33xx.c ARM: OMAP2+: PRCM: store also physical addresses for instances 2017-06-06 00:13:51 -07:00
cm33xx.h
cm44xx.h
cm81xx.h
cm_common.c ARM: OMAP2/3: CM: fix cm_split_idlest functionality 2017-10-30 09:14:55 -07:00
cminst44xx.c ARM: OMAP4: cminst: add support for clkdm_xlate_address 2017-06-06 00:14:01 -07:00
common-board-devices.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
common.c
common.h ARM: OMAP2+: Drop omap_hwmod_irq_info 2017-10-10 14:27:19 -07:00
control.c
control.h
cpuidle34xx.c
cpuidle44xx.c
ctrl_module_wkup_44xx.h
devices.c ARM: OMAP2+: Remove unused legacy code for device init 2017-06-08 02:57:38 -07:00
display.c ARM: OMAP2+: fix missing variable declaration 2017-08-24 15:17:25 +03:00
display.h ARM: OMAP2+: Remove unused omapdrm platform device 2017-08-16 15:38:51 +03:00
dma.c ARM: OMAP2+: make omap_dma_dev_info __initdata 2017-10-02 12:48:53 -07:00
fb.c
gpmc-onenand.c
gpmc.h
hdq1w.c ARM: OMAP2+: Drop unused omap_init_hdq 2017-09-19 11:04:56 -07:00
hdq1w.h
hsmmc.c ARM: OMAP2+: hsmmc: fix logic to call either omap_hsmmc_init or omap_hsmmc_late_init but not both 2017-09-19 10:59:26 -07:00
hsmmc.h ARM: OMAP2+: hsmmc.c: Remove dead code 2017-07-17 15:04:47 +02:00
i2c.c
i2c.h
id.c ARM: DRA722: Add support for DRA71x Silicon Rev 2.1 2017-10-02 12:41:15 -07:00
id.h
io.c ARM: OMAP2+: Register SoC device attributes from machine .init() 2017-08-15 15:18:25 +03:00
iomap.h
l3_2xxx.h
l3_3xxx.h
l4_2xxx.h
l4_3xxx.h
mcbsp.c ARM: OMAP2+: Remove unused legacy code for McBSP 2017-06-08 04:15:10 -07:00
mmc.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
msdi.c
omap-headsmp.S
omap-hotplug.c
omap-mpuss-lowpower.c
omap-pm-noop.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
omap-pm.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
omap-secure.c ARM: omap2: hide omap3_save_secure_ram on non-OMAP3 builds 2017-12-07 15:52:21 +01:00
omap-secure.h ARM: OMAP2+: Fix SRAM virt to phys translation for save_secure_ram_context 2017-11-28 07:03:26 -08:00
omap-smc.S
omap-smp.c ARM: dra762: Enable SMP for dra762 2017-08-14 10:33:13 -07:00
omap-wakeupgen.c ARM: Convert to using %pOF instead of full_name 2017-08-16 22:25:30 +02:00
omap-wakeupgen.h
omap2-restart.c
omap3-restart.c
omap4-common.c ARM: OMAP2+: Drop omap_hwmod_irq_info 2017-10-10 14:27:19 -07:00
omap4-restart.c
omap4-sar-layout.h
omap24xx.h
omap34xx.h
omap44xx.h
omap54xx.h
omap_device.c Merge branch 'soc-fixes' into omap-for-v4.15/fixes 2017-11-28 07:06:34 -08:00
omap_device.h ARM: OMAP2+: Populate legacy resources for dma and smartreflex 2017-10-10 14:23:35 -07:00
omap_hwmod.c ARM: OMAP2+: Drop legacy struct omap_hwmod_addr_space 2017-10-10 14:27:33 -07:00
omap_hwmod.h ARM: OMAP2+: Drop legacy struct omap_hwmod_addr_space 2017-10-10 14:27:33 -07:00
omap_hwmod_2xxx_3xxx_ipblock_data.c ARM: OMAP2+: Drop omap_hwmod_irq_info 2017-10-10 14:27:19 -07:00
omap_hwmod_2xxx_interconnect_data.c
omap_hwmod_2xxx_ipblock_data.c ARM: OMAP2+: Drop omap_hwmod_dma_info 2017-10-10 14:27:26 -07:00
omap_hwmod_3xxx_data.c Merge branch 'omap-for-v4.14/fixes' into omap-for-v4.15/fixes-v2 2017-11-28 08:22:57 -08:00
omap_hwmod_7xx_data.c Drop omap legacy platform data for IRQ, DMA and IO resources. With the 2017-10-20 00:43:31 +02:00
omap_hwmod_33xx_43xx_common_data.h
omap_hwmod_33xx_43xx_interconnect_data.c ARM: OMAP2+: Drop legacy struct omap_hwmod_addr_space 2017-10-10 14:27:33 -07:00
omap_hwmod_33xx_43xx_ipblock_data.c ARM: OMAP2+: Fix MMC address space mismatch for am33xx and am43xx 2017-09-19 11:04:33 -07:00
omap_hwmod_33xx_data.c ARM: OMAP2+: Drop legacy struct omap_hwmod_addr_space 2017-10-10 14:27:33 -07:00
omap_hwmod_43xx_data.c
omap_hwmod_44xx_data.c ARM: OMAP2+: Drop legacy struct omap_hwmod_addr_space 2017-10-10 14:27:33 -07:00
omap_hwmod_54xx_data.c ARM: OMAP2+: Drop legacy struct omap_hwmod_addr_space 2017-10-10 14:27:33 -07:00
omap_hwmod_81xx_data.c ARM: OMAP2+: Drop legacy struct omap_hwmod_addr_space 2017-10-10 14:27:33 -07:00
omap_hwmod_2420_data.c ARM: OMAP2+: Drop legacy struct omap_hwmod_addr_space 2017-10-10 14:27:33 -07:00
omap_hwmod_2430_data.c ARM: OMAP2+: Drop legacy struct omap_hwmod_addr_space 2017-10-10 14:27:33 -07:00
omap_hwmod_common_data.c
omap_hwmod_common_data.h ARM: OMAP2+: Drop legacy struct omap_hwmod_addr_space 2017-10-10 14:27:33 -07:00
omap_hwmod_common_ipblock_data.c
omap_hwmod_reset.c
omap_opp_data.h
omap_phy_internal.c
omap_twl.c mfd: twl: Move header file out of I2C realm 2017-09-04 14:41:02 +01:00
opp2xxx.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
opp3xxx_data.c ARM: OMAP2+: Remove unused legacy code for opp 2017-06-08 02:57:16 -07:00
opp4xxx_data.c ARM: OMAP2+: Remove unused legacy code for opp 2017-06-08 02:57:16 -07:00
opp2420_data.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
opp2430_data.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
pdata-quirks.c ARM: OMAP2+: Add pdata-quirks for MMC/SD on DRA74x EVM 2017-08-10 09:02:37 -07:00
pm-debug.c
pm.c ARM: OMAP2+: pm: Remove __init from omap_pm_clkdms_setup 2017-05-16 08:44:58 -07:00
pm.h ARM: OMAP2+: Fix SRAM virt to phys translation for save_secure_ram_context 2017-11-28 07:03:26 -08:00
pm24xx.c
pm34xx.c ARM: OMAP2+: Fix SRAM virt to phys translation for save_secure_ram_context 2017-11-28 07:03:26 -08:00
pm44xx.c
powerdomain-common.c
powerdomain.c
powerdomain.h
powerdomains2xxx_3xxx_data.c
powerdomains2xxx_3xxx_data.h
powerdomains2xxx_data.c
powerdomains3xxx_data.c
powerdomains7xx_data.c ARM: OMAP: dra7: powerdomain data: Register SoC specific powerdomains 2017-08-14 10:33:29 -07:00
powerdomains33xx_data.c
powerdomains43xx_data.c
powerdomains44xx_data.c
powerdomains54xx_data.c
prcm-common.h Merge branch 'omap-for-v4.14/fixes' into omap-for-v4.15/fixes-v2 2017-11-28 08:22:57 -08:00
prcm43xx.h
prcm44xx.h
prcm_mpu7xx.h
prcm_mpu44xx.c ARM: OMAP2+: PRCM: store also physical addresses for instances 2017-06-06 00:13:51 -07:00
prcm_mpu44xx.h
prcm_mpu54xx.h
prcm_mpu_44xx_54xx.h ARM: OMAP2+: PRCM: store also physical addresses for instances 2017-06-06 00:13:51 -07:00
prm-regbits-24xx.h
prm-regbits-33xx.h
prm-regbits-34xx.h
prm-regbits-44xx.h
prm.h ARM: OMAP4: Remove legacy IRQ for PRM 2017-10-10 14:27:13 -07:00
prm2xxx.c
prm2xxx.h
prm2xxx_3xxx.c
prm2xxx_3xxx.h ARM: OMAP2+: PRCM: store also physical addresses for instances 2017-06-06 00:13:51 -07:00
prm3xxx.c ARM: OMAP3: Remove legacy IRQ for PRM 2017-10-10 14:27:06 -07:00
prm3xxx.h
prm7xx.h
prm33xx.c ARM: AM33xx: PRM: Remove am33xx_pwrdm_read_prev_pwrst function 2017-11-28 07:03:26 -08:00
prm33xx.h
prm44xx.c ARM: OMAP4: Remove legacy IRQ for PRM 2017-10-10 14:27:13 -07:00
prm44xx.h
prm44xx_54xx.h
prm54xx.h
prm_common.c ARM: OMAP4: Remove legacy IRQ for PRM 2017-10-10 14:27:13 -07:00
prminst44xx.c ARM: OMAP2+: PRCM: store also physical addresses for instances 2017-06-06 00:13:51 -07:00
prminst44xx.h
scrm44xx.h
scrm54xx.h
sdrc.c
sdrc.h
sdrc2xxx.c
serial.h
sleep24xx.S
sleep34xx.S ARM: OMAP2+: Fix SRAM virt to phys translation for save_secure_ram_context 2017-11-28 07:03:26 -08:00
sleep44xx.S ARM: align .data section 2017-08-14 16:22:55 +01:00
smartreflex-class3.c
soc.h ARM: DRA722: Add support for DRA71x Silicon Rev 2.1 2017-10-02 12:41:15 -07:00
sr_device.c ARM: OMAP2+: SmartReflex: Delete an error message for a failed memory allocation in two functions 2017-06-08 03:02:32 -07:00
sram.c
sram.h
sram242x.S
sram243x.S
ti81xx-restart.c
ti81xx.h
timer.c ARM: SoC platform updates 2017-07-04 14:34:51 -07:00
usb-tusb6010.c
usb.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
vc.c ARM: remove duplicate 'const' annotations' 2017-05-19 10:12:55 +02:00
vc.h
vc3xxx_data.c
vc44xx_data.c
voltage.c
voltage.h
voltagedomains2xxx_data.c
voltagedomains3xxx_data.c
voltagedomains44xx_data.c
voltagedomains54xx_data.c
vp.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
vp.h
vp3xxx_data.c
vp44xx_data.c
wd_timer.c ARM: OMAP2+: Remove unused legacy code for watchdog 2017-06-08 04:15:10 -07:00
wd_timer.h