Re: [U-Boot] [PATCH v2 13/15] dm: sunxi: sata: Don't build sata support into SPL

2017-07-05 Thread Maxime Ripard
On Tue, Jul 04, 2017 at 01:31:30PM -0600, Simon Glass wrote: > 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 S

[U-Boot] [PATCH v2 13/15] dm: sunxi: sata: Don't build sata support into SPL

2017-07-04 Thread Simon Glass
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