]> git.ipfire.org Git - people/ms/u-boot.git/commit
armv7: Mark the default lowlevel_init function as weak
authorTom Rini <trini@konsulko.com>
Tue, 16 May 2017 18:46:34 +0000 (14:46 -0400)
committerTom Rini <trini@konsulko.com>
Mon, 5 Jun 2017 15:02:23 +0000 (11:02 -0400)
commitffb56568626be636f0256795df5322633f50cde3
treeb125ef6112b0126e0d3a294db4cf85c79be5537c
parent7c0c6be52c05a7c1518ee403ee35ddf1eb93974a
armv7: Mark the default lowlevel_init function as weak

Rather than have a long and if check in the Makefile, mark the default
lowlevel_init function as weak (as we do on armv8) so that SoCs can
override it if needed, and it will still be discarded if unused.
Provide a weak s_init as well to allow for this to link and be
discarded.

Signed-off-by: Tom Rini <trini@konsulko.com>
arch/arm/cpu/armv7/Makefile
arch/arm/cpu/armv7/lowlevel_init.S