diff options
author | Stafford Horne <shorne@gmail.com> | 2021-03-04 05:19:04 +0900 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2021-03-04 12:12:19 +0100 |
commit | 43a513fa841b3dd38dd93444cf42d77f7d1a3e51 (patch) | |
tree | e3b29ac764e2ebb14d3ba37910a2c4c74ae84d7a | |
parent | db6acc08ec78cd019da87b22ef925ba78028abf4 (diff) | |
download | barebox-master.tar.gz |
Entry is used by qemu to find where to start booting, we define
this to the 0x100 reset vector as is done by default when the CPU
resets. This fixes the qemu boot issue.
Signed-off-by: Stafford Horne <shorne@gmail.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
-rw-r--r-- | arch/openrisc/cpu/barebox.lds.S | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/openrisc/cpu/barebox.lds.S b/arch/openrisc/cpu/barebox.lds.S index adb0c22..45c5f25 100644 --- a/arch/openrisc/cpu/barebox.lds.S +++ b/arch/openrisc/cpu/barebox.lds.S @@ -17,6 +17,7 @@ #include <asm-generic/barebox.lds.h> OUTPUT_FORMAT("elf32-or1k", "elf32-or1k", "elf32-or1k") +ENTRY(__reset) __DYNAMIC = 0; MEMORY |