Skip to contentSkip to conversation

mips: Allow overriding start.S in SPL

PATCH New Marek Vasut 2 participants 2 messages May 25, 2016 MIPS

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 mips: Allow overriding start.S in SPL

Certain chips, like the JZ47xx, have extreme size constraints on the SPL size and require custom start.S . Allow overriding the start.S the same way ARM MXS does it.

Cc Daniel Schwierzeck <[email protected]>
Cc Paul Burton <[email protected]>
---
 arch/mips/Makefile | 6 ++++++
 1 file changed, 6 insertions(+)
arch/mips/Makefile +6 -0
index 655a493..0b5dbb6 100644
@@ -4,6 +4,12 @@
 
 head-y := arch/mips/cpu/start.o
 
+ifeq ($(CONFIG_SPL_BUILD),y)
+ifneq ($(CONFIG_SPL_START_S_PATH),)
+head-y := $(CONFIG_SPL_START_S_PATH:"%"=%)/start.o
+endif
+endif
+
 libs-y += arch/mips/cpu/
 libs-y += arch/mips/lib/
 
Signature · 1 line
2.7.0
#1 lore raw

PATCH 1/1 mips: Allow overriding start.S in SPL

Am 25.05.2016 um 02:17 schrieb Marek Vasut:

Quoted 11 lines

Certain chips, like the JZ47xx, have extreme size constraints on the SPL size and require custom start.S . Allow overriding the start.S the same way ARM MXS does it.

Cc Daniel Schwierzeck <[email protected]>
Cc Paul Burton <[email protected]>
---
 arch/mips/Makefile | 6 ++++++
 1 file changed, 6 insertions(+)

applied to u-boot-mips, thanks.

Signature · 9 lines
- Daniel

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: OpenPGP digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20160526/dbf1fdf8/attachment.sig>