summaryrefslogtreecommitdiff
path: root/arch/powerpc
diff options
context:
space:
mode:
authorAlexander Graf <agraf@suse.de>2014-04-11 17:09:44 +0200
committerYork Sun <yorksun@freescale.com>2014-04-22 17:58:45 -0700
commitfd96ea4dd9a22ee380f1c59939a42744aa196ad0 (patch)
treea2f9746af2d12b84e86efc0e41a944d9b26bf1ae /arch/powerpc
parentf29f804a93e87c17670607641d120f431a3b0633 (diff)
downloadu-boot-imx-fd96ea4dd9a22ee380f1c59939a42744aa196ad0.zip
u-boot-imx-fd96ea4dd9a22ee380f1c59939a42744aa196ad0.tar.gz
u-boot-imx-fd96ea4dd9a22ee380f1c59939a42744aa196ad0.tar.bz2
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>
Diffstat (limited to 'arch/powerpc')
-rw-r--r--arch/powerpc/cpu/mpc85xx/u-boot.lds1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/powerpc/cpu/mpc85xx/u-boot.lds b/arch/powerpc/cpu/mpc85xx/u-boot.lds
index 2af4c80..b34d212 100644
--- a/arch/powerpc/cpu/mpc85xx/u-boot.lds
+++ b/arch/powerpc/cpu/mpc85xx/u-boot.lds
@@ -13,6 +13,7 @@
#endif
OUTPUT_ARCH(powerpc)
+ENTRY(_start_e500)
PHDRS
{