powerpc: mpc85xx: Rename _start_e500 symbol to _start
authorPali Rohár <pali@kernel.org>
Sat, 2 Apr 2022 22:05:09 +0000 (00:05 +0200)
committerPriyanka Jain <priyanka.jain@nxp.com>
Tue, 26 Apr 2022 11:48:39 +0000 (17:18 +0530)
The real entry point is _start_e500. There is no _start symbol at all. So
rename _start_e500 to _start for convension that _start symbol is used as
entry point.

Signed-off-by: Pali Rohár <pali@kernel.org>
Reviewed-by: Priyanka Jain <priyanka.jain@nxp.com>
arch/powerpc/cpu/mpc85xx/resetvec.S
arch/powerpc/cpu/mpc85xx/start.S
arch/powerpc/cpu/mpc85xx/u-boot.lds
doc/README.mpc85xx

index 29555d4..9a552f6 100644 (file)
@@ -1,2 +1,2 @@
        .section .resetvec,"ax"
-       b _start_e500
+       b _start
index 07e855e..2b2ad97 100644 (file)
@@ -70,9 +70,9 @@
  */
 
        .section .bootpg,"ax"
-       .globl _start_e500
+       .globl _start
 
-_start_e500:
+_start:
 /* Enable debug exception */
        li      r1,MSR_DE
        mtmsr   r1
index 22bbac5..17a0e63 100644 (file)
@@ -16,7 +16,7 @@
 #endif
 
 OUTPUT_ARCH(powerpc)
-ENTRY(_start_e500)
+ENTRY(_start)
 
 PHDRS
 {
index 8464e7f..3c6ebbd 100644 (file)
@@ -45,7 +45,7 @@ Note: Sequence number is in order of execution
 A) defined(CONFIG_SYS_RAMBOOT) i.e. SD, SPI, NAND RAMBOOT & NAND_SPL boot
 
    1) TLB entry to overcome e500 v1/v2 debug restriction
-       Location          : Label "_start_e500"
+       Location          : Label "_start"
        TLB Entry  : CONFIG_SYS_PPC_E500_DEBUG_TLB
        EPN -->RPN : CONFIG_SYS_MONITOR_BASE --> CONFIG_SYS_MONITOR_BASE
        Properties : 256K, AS0, I, IPROT
@@ -91,7 +91,7 @@ A) defined(CONFIG_SYS_RAMBOOT) i.e. SD, SPI, NAND RAMBOOT & NAND_SPL boot
 B) !defined(CONFIG_SYS_RAMBOOT) i.e. NOR boot
 
    1) TLB entry to overcome e500 v1/v2 debug restriction
-       Location          : Label "_start_e500"
+       Location          : Label "_start"
        TLB Entry  : CONFIG_SYS_PPC_E500_DEBUG_TLB
 #if defined(CONFIG_NXP_ESBC)
        EPN -->RPN : CONFIG_SYS_MONITOR_BASE --> CONFIG_SYS_PBI_FLASH_WINDOW