* [U-Boot] [PATCH] mips: Allow overriding start.S in SPL
@ 2016-05-25 0:17 Marek Vasut
2016-05-25 23:25 ` Daniel Schwierzeck
0 siblings, 1 reply; 2+ messages in thread
From: Marek Vasut @ 2016-05-25 0:17 UTC (permalink / raw)
To: u-boot
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.
Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
Cc: Paul Burton <paul.burton@imgtec.com>
---
arch/mips/Makefile | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/arch/mips/Makefile b/arch/mips/Makefile
index 655a493..0b5dbb6 100644
--- a/arch/mips/Makefile
+++ b/arch/mips/Makefile
@@ -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/
--
2.7.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [U-Boot] [PATCH] mips: Allow overriding start.S in SPL
2016-05-25 0:17 [U-Boot] [PATCH] mips: Allow overriding start.S in SPL Marek Vasut
@ 2016-05-25 23:25 ` Daniel Schwierzeck
0 siblings, 0 replies; 2+ messages in thread
From: Daniel Schwierzeck @ 2016-05-25 23:25 UTC (permalink / raw)
To: u-boot
Am 25.05.2016 um 02:17 schrieb Marek Vasut:
> 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.
>
> Signed-off-by: Marek Vasut <marex@denx.de>
> Cc: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
> Cc: Paul Burton <paul.burton@imgtec.com>
> ---
> arch/mips/Makefile | 6 ++++++
> 1 file changed, 6 insertions(+)
>
applied to u-boot-mips, thanks.
--
- 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>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2016-05-25 23:25 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-05-25 0:17 [U-Boot] [PATCH] mips: Allow overriding start.S in SPL Marek Vasut
2016-05-25 23:25 ` Daniel Schwierzeck
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.