[PATCH 10/21] MIPS: malta: remove duplicated barebox magic code
Denis Orlov
denorl2009 at gmail.com
Mon Jul 24 22:05:11 PDT 2023
Use 'mips_barebox_10h' macro instead. Remove the comment about the same
address being reserved for a Board ID as we don't really do anything
about it anyway.
Signed-off-by: Denis Orlov <denorl2009 at gmail.com>
---
arch/mips/boards/qemu-malta/lowlevel.S | 11 +----------
1 file changed, 1 insertion(+), 10 deletions(-)
diff --git a/arch/mips/boards/qemu-malta/lowlevel.S b/arch/mips/boards/qemu-malta/lowlevel.S
index 09087ad916..d5d7480e21 100644
--- a/arch/mips/boards/qemu-malta/lowlevel.S
+++ b/arch/mips/boards/qemu-malta/lowlevel.S
@@ -31,17 +31,8 @@
#define GT_HD(x) (GT_CPU_TO_LE32(((x) >> 21) & 0x7f))
ENTRY_FUNCTION(BOARD_PBL_START)
- b __start
- nop
- /*
- On MIPS Technologies boards
- 0x1fc00010 address is reserved for BoardID
- */
- .org 0x10
- .asciiz "barebox"
-
-__start:
+ mips_barebox_10h
mips_disable_interrupts
/* cpu specific setup ... */
--
2.41.0
More information about the barebox
mailing list