summaryrefslogtreecommitdiffstats
path: root/arch/mips
diff options
context:
space:
mode:
authorAhmad Fatoum <ahmad@a3f.at>2021-02-28 20:07:07 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2021-03-01 16:57:11 +0100
commitd124b1437fbce91d50395111d0eff4adbce0165c (patch)
treed42144930fad5b1f164a9bae7f8eb5626853946a /arch/mips
parentb530c244deb552b29c2d2f107f7d858b29e644a6 (diff)
downloadbarebox-d124b1437fbce91d50395111d0eff4adbce0165c.tar.gz
barebox-d124b1437fbce91d50395111d0eff4adbce0165c.tar.xz
MIPS: qemu-malta: make barebox Malta images detectable
is_barebox_mips_head checks whether 0x10-0x16 is "barebox". Have the Malta images provide this signature like other MIPS boards already do. This makes bootm work. Cc: Antony Pavlov <antonynpavlov@gmail.com> Signed-off-by: Ahmad Fatoum <ahmad@a3f.at> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/mips')
-rw-r--r--arch/mips/boards/qemu-malta/lowlevel.S3
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/mips/boards/qemu-malta/lowlevel.S b/arch/mips/boards/qemu-malta/lowlevel.S
index e4ecde45cf..98821e0426 100644
--- a/arch/mips/boards/qemu-malta/lowlevel.S
+++ b/arch/mips/boards/qemu-malta/lowlevel.S
@@ -40,8 +40,7 @@ ENTRY_FUNCTION(BOARD_PBL_START)
0x1fc00010 address is reserved for BoardID
*/
.org 0x10
- .word 0xffffffff
- .word 0xffffffff
+ .asciiz "barebox"
__start:
mips_disable_interrupts