summaryrefslogtreecommitdiffstats
path: root/common/Makefile
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2016-05-01 11:36:11 -0600
committerSimon Glass <sjg@chromium.org>2016-05-17 09:54:43 -0600
commitd97dc8a0e6d38d11848ee78669639324edc0df01 (patch)
treea0053e748cc2d8fddf9ca615033547c81ca43930 /common/Makefile
parente9be1ee75ed27c4281cad5168b6c51d26b2e8a15 (diff)
downloadtalos-obmc-uboot-d97dc8a0e6d38d11848ee78669639324edc0df01.tar.gz
talos-obmc-uboot-d97dc8a0e6d38d11848ee78669639324edc0df01.zip
dm: sata: Separate the non-command code into its own file
At present the SATA command code includes both the command-processing code and the core SATA functions and data structures. Separate the latter into its own file, adding functions as needed to avoid the command code accessing data structures directly. With this commit: - All CONFIG option are referenced from the non-command code - The concept of a 'current SATA device' is confined to the command code This will make it easier to convert this code to driver model. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'common/Makefile')
-rw-r--r--common/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/common/Makefile b/common/Makefile
index 1df5add325..f9b26b7bbe 100644
--- a/common/Makefile
+++ b/common/Makefile
@@ -84,6 +84,7 @@ obj-$(CONFIG_LCD_ROTATION) += lcd_console_rotation.o
obj-$(CONFIG_LCD_DT_SIMPLEFB) += lcd_simplefb.o
obj-$(CONFIG_LYNXKDI) += lynxkdi.o
obj-$(CONFIG_MENU) += menu.o
+obj-$(CONFIG_CMD_SATA) += sata.o
obj-$(CONFIG_SCSI) += scsi.o
obj-$(CONFIG_UPDATE_TFTP) += update.o
obj-$(CONFIG_DFU_TFTP) += update.o
OpenPOWER on IntegriCloud