diff options
author | Hans de Goede <hdegoede@redhat.com> | 2016-07-09 09:56:56 +0200 |
---|---|---|
committer | Hans de Goede <hdegoede@redhat.com> | 2016-07-15 15:54:56 +0200 |
commit | 4a8c7c1f45a25687e08ff98ab27ba664c8fd7b74 (patch) | |
tree | d1f70cec7f482272e4205f64725a73c72907d37d /arch/arm/mach-zynq | |
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>
Diffstat (limited to 'arch/arm/mach-zynq')
0 files changed, 0 insertions, 0 deletions