]> git.ipfire.org Git - people/ms/u-boot.git/commitdiff
mmc: omap_hsmmc: make it possible to compile out ADMA support
authorJean-Jacques Hiblot <jjhiblot@ti.com>
Fri, 23 Feb 2018 09:40:18 +0000 (10:40 +0100)
committerJaehoon Chung <jh80.chung@samsung.com>
Mon, 26 Feb 2018 01:52:15 +0000 (10:52 +0900)
Some platforms don't have ADMA controllers. For those platforms, compiling
it out reduces the size of the binary by about 600 bytes.
Leaving the support in doesn't break things as the driver checks at runtime
if the ADMA2 controller is present.

Signed-off-by: Jean-Jacques Hiblot <jjhiblot@ti.com>
Tested-by: Adam Ford <aford173@gmail.com>
Reviewed-by: Tom Rini <trini@konsulko.com>

No differences found