summaryrefslogtreecommitdiff
path: root/drivers/mmc/sunxi_mmc.c
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2016-07-09 09:56:56 +0200
committerHans de Goede <hdegoede@redhat.com>2016-07-15 15:54:56 +0200
commit4a8c7c1f45a25687e08ff98ab27ba664c8fd7b74 (patch)
treed1f70cec7f482272e4205f64725a73c72907d37d /drivers/mmc/sunxi_mmc.c
parentf221961e963fcfa5ceab6455c24d6532877ca923 (diff)
downloadu-boot-imx-4a8c7c1f45a25687e08ff98ab27ba664c8fd7b74.zip
u-boot-imx-4a8c7c1f45a25687e08ff98ab27ba664c8fd7b74.tar.gz
u-boot-imx-4a8c7c1f45a25687e08ff98ab27ba664c8fd7b74.tar.bz2
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 'drivers/mmc/sunxi_mmc.c')
0 files changed, 0 insertions, 0 deletions