]> git.baikalelectronics.ru Git - uboot.git/commit
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)
commit7a9371c3867db50332b2446dd11fcc5f34a8bcf3
tree3129c69990da23e1b9d172d9aa0679830172fd3c
parent0d8cd0c009cd8e1b3c14a6ab706dd1199c8bd882
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