summaryrefslogtreecommitdiff
path: root/arch/arm/cpu
diff options
context:
space:
mode:
authorChen-Yu Tsai <wens@csie.org>2016-06-19 12:38:38 +0800
committerHans de Goede <hdegoede@redhat.com>2016-07-15 15:54:57 +0200
commit28f90357323bc65e7da01c458222b84dc42988bb (patch)
tree738e4e7eb887bda79a71088f5cb85d3e6b1684f9 /arch/arm/cpu
parent8c0ef7fad676827125ad91060361d05ab4b16f44 (diff)
downloadu-boot-imx-28f90357323bc65e7da01c458222b84dc42988bb.zip
u-boot-imx-28f90357323bc65e7da01c458222b84dc42988bb.tar.gz
u-boot-imx-28f90357323bc65e7da01c458222b84dc42988bb.tar.bz2
ARM: PSCI: Remove unused psci_text_end symbol
psci_text_end was used to calculate the PSCI stack address following the secure monitor text. Now that we have an explicit secure stack section, this is no longer used. Signed-off-by: Chen-Yu Tsai <wens@csie.org> Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Diffstat (limited to 'arch/arm/cpu')
-rw-r--r--arch/arm/cpu/armv7/ls102xa/psci.S2
-rw-r--r--arch/arm/cpu/armv7/mx7/psci.S2
-rw-r--r--arch/arm/cpu/armv7/sunxi/psci.c5
3 files changed, 0 insertions, 9 deletions
diff --git a/arch/arm/cpu/armv7/ls102xa/psci.S b/arch/arm/cpu/armv7/ls102xa/psci.S
index 86116e1f..ba043ef 100644
--- a/arch/arm/cpu/armv7/ls102xa/psci.S
+++ b/arch/arm/cpu/armv7/ls102xa/psci.S
@@ -111,6 +111,4 @@ psci_cpu_off:
1: wfi
b 1b
- .globl psci_text_end
-psci_text_end:
.popsection
diff --git a/arch/arm/cpu/armv7/mx7/psci.S b/arch/arm/cpu/armv7/mx7/psci.S
index 12cca7c..d9e9fbf 100644
--- a/arch/arm/cpu/armv7/mx7/psci.S
+++ b/arch/arm/cpu/armv7/mx7/psci.S
@@ -33,6 +33,4 @@ psci_cpu_off:
1: wfi
b 1b
- .globl psci_text_end
-psci_text_end:
.popsection
diff --git a/arch/arm/cpu/armv7/sunxi/psci.c b/arch/arm/cpu/armv7/sunxi/psci.c
index cd0d944..c7d97fe 100644
--- a/arch/arm/cpu/armv7/sunxi/psci.c
+++ b/arch/arm/cpu/armv7/sunxi/psci.c
@@ -271,8 +271,3 @@ void __secure psci_arch_init(void)
reg &= ~BIT(0); /* Secure mode */
cp15_write_scr(reg);
}
-
-/* dummy entry for end of psci text */
-void __secure psci_text_end(void)
-{
-}