]> git.sur5r.net Git - u-boot/commitdiff
ARM: PSCI: Remove unused psci_text_end symbol
authorChen-Yu Tsai <wens@csie.org>
Sun, 19 Jun 2016 04:38:38 +0000 (12:38 +0800)
committerHans de Goede <hdegoede@redhat.com>
Fri, 15 Jul 2016 13:54:57 +0000 (15:54 +0200)
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>
arch/arm/cpu/armv7/ls102xa/psci.S
arch/arm/cpu/armv7/mx7/psci.S
arch/arm/cpu/armv7/sunxi/psci.c
arch/arm/mach-tegra/psci.S

index 86116e1fcc6568080b074c4e9f4f5bf1201dc70b..ba043efed02134c9a071285ffc81360dad74bcbb 100644 (file)
@@ -111,6 +111,4 @@ psci_cpu_off:
 1:     wfi
        b       1b
 
-       .globl psci_text_end
-psci_text_end:
        .popsection
index 12cca7cc6deb4f2f1d29ce96d2e135625c0386ee..d9e9fbfb9ebdd565505a7685d18810512edda2a4 100644 (file)
@@ -33,6 +33,4 @@ psci_cpu_off:
 1:     wfi
        b 1b
 
-       .globl psci_text_end
-psci_text_end:
        .popsection
index cd0d94462b182cb3bfe502d9b455f8ac37ab1c16..c7d97fe2c92d111d1cd00db007f6e19eb9c19516 100644 (file)
@@ -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)
-{
-}
index 75068f34c052689670dcbe8e4424c959b18acde5..85d5b6b59de4d9dee3585d902a436a3dde14722f 100644 (file)
@@ -106,6 +106,4 @@ ENTRY(psci_cpu_on)
        pop     {pc}
 ENDPROC(psci_cpu_on)
 
-       .globl psci_text_end
-psci_text_end:
        .popsection