diff options
author | Simon Glass <sjg@chromium.org> | 2016-05-01 20:36:11 +0300 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2016-05-17 18:54:43 +0300 |
commit | d97dc8a0e6d38d11848ee78669639324edc0df01 (patch) | |
tree | a0053e748cc2d8fddf9ca615033547c81ca43930 /common/Makefile | |
parent | e9be1ee75ed27c4281cad5168b6c51d26b2e8a15 (diff) | |
download | u-boot-d97dc8a0e6d38d11848ee78669639324edc0df01.tar.xz |
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/Makefile | 1 |
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 |