commit | 4a8c7c1f45a25687e08ff98ab27ba664c8fd7b74 | [log] [tgz] |
---|---|---|
author | Hans de Goede <hdegoede@redhat.com> | Sat Jul 09 09:56:56 2016 +0200 |
committer | Hans de Goede <hdegoede@redhat.com> | Fri Jul 15 15:54:56 2016 +0200 |
tree | d1f70cec7f482272e4205f64725a73c72907d37d | |
parent | f221961e963fcfa5ceab6455c24d6532877ca923 [diff] |
sunxi: Remove some unnecessary #ifdefs 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 <hdegoede@redhat.com> Acked-by: Ian Campbell <ijc@hellion.org.uk>