Sfoglia il codice sorgente

PPC 85xx: Add ELF entry point

We want to be able to directly execute the ELF binary without going
through the u-boot.bin one.

To know where we have to start executing this ELF binary  we have to
tell the linker where our entry point is.

Signed-off-by: Alexander Graf <agraf@suse.de>
Acked-by: Scott Wood <scottwood@freescale.com>
Reviewed-by: York Sun <yorksun@freescale.com>
Alexander Graf 11 anni fa
parent
commit
fd96ea4dd9
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  1. 1 0
      arch/powerpc/cpu/mpc85xx/u-boot.lds

+ 1 - 0
arch/powerpc/cpu/mpc85xx/u-boot.lds

@@ -13,6 +13,7 @@
 #endif
 
 OUTPUT_ARCH(powerpc)
+ENTRY(_start_e500)
 
 PHDRS
 {