sunxi: Remove some unnecessary #ifdefs
authorHans de Goede <hdegoede@redhat.com>
Sat, 9 Jul 2016 07:56:56 +0000 (09:56 +0200)
committerHans de Goede <hdegoede@redhat.com>
Fri, 15 Jul 2016 13:54:56 +0000 (15:54 +0200)
commit4a8c7c1f45a25687e08ff98ab27ba664c8fd7b74
treed1f70cec7f482272e4205f64725a73c72907d37d
parentf221961e963fcfa5ceab6455c24d6532877ca923
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>
board/sunxi/board.c