]> git.sur5r.net Git - u-boot/commit
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)
commit27a4b3bc4c165695cac65e92a5cb2537367a2392
treeee5177226c4537bf259ba1d7bdf88e2ffe530c98
parentc7d08d80c3e792bfbd239b5aafccd5134e91251d
mmc: omap_hsmmc: make it possible to compile out ADMA support

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>
drivers/mmc/Kconfig
drivers/mmc/omap_hsmmc.c