dm: sunxi: sata: Don't build sata support into SPL
authorSimon Glass <sjg@chromium.org>
Tue, 4 Jul 2017 19:31:30 +0000 (13:31 -0600)
committerJaehoon Chung <jh80.chung@samsung.com>
Tue, 1 Aug 2017 02:58:01 +0000 (11:58 +0900)
commit74daf94a2305a7b70fc24511d2ca7dc3358e746d
tree3129c69990da23e1b9d172d9aa0679830172fd3c
parent8620f384098bcc33bbde74b41f37c364552f30c4
dm: sunxi: sata: Don't build sata support into SPL

This is not used in SPL so we do not need to compile it. Make this change
before adding driver-model support to the driver, to avoid build errors.
With driver model we define a U_BOOT_DRIVER() which would otherwise be
present in SPL and not be garbage-collected when building.

Signed-off-by: Simon Glass <sjg@chromium.org>
Acked-by: Maxime Ripard <maxime.ripard@free-electrons.com>
board/sunxi/Makefile