From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ian Campbell Date: Sun, 10 Jul 2016 09:12:52 +0100 Subject: [U-Boot] [PATCH] sunxi: Remove some unnecessary #ifdefs In-Reply-To: <1468069529-28442-1-git-send-email-hdegoede@redhat.com> References: <1468069529-28442-1-git-send-email-hdegoede@redhat.com> Message-ID: <1468138372.10653.0.camel@hellion.org.uk> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Sat, 2016-07-09 at 15:05 +0200, Hans de Goede wrote: > We always define CONFIG_MISC_INIT_R on sunxi and misc_init_r is never > called in the spl, so the linker will optimize it and > parse_spl_header(), > of which it is the only caller, away. > > On the tests I've done (Orange Pi PC build) the SPL actually becomes > 8 bytes smaller with this patch. > > Signed-off-by: Hans de Goede Acked-by: Ian Campbell