summaryrefslogtreecommitdiff
path: root/common/Makefile
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2016-05-01 17:36:10 (GMT)
committerSimon Glass <sjg@chromium.org>2016-05-17 15:54:43 (GMT)
commite9be1ee75ed27c4281cad5168b6c51d26b2e8a15 (patch)
treeb3d1b8c693f2b4032bb26e3d0e2db63b10dc4434 /common/Makefile
parent11f610edf01abc96ca10e82e1752648ee911705b (diff)
downloadu-boot-e9be1ee75ed27c4281cad5168b6c51d26b2e8a15.tar.xz
dm: ide: Separate the non-command code into its own file
At present the IDE command code includes both the command-processing code and the core IDE 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: - Most CONFIG option are referenced from the non-command code - The concept of a 'current IDE 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 397df61..1df5add 100644
--- a/common/Makefile
+++ b/common/Makefile
@@ -134,6 +134,7 @@ obj-y += dlmalloc.o
ifdef CONFIG_SYS_MALLOC_F_LEN
obj-y += malloc_simple.o
endif
+obj-$(CONFIG_CMD_IDE) += ide.o
obj-y += image.o
obj-$(CONFIG_ANDROID_BOOT_IMAGE) += image-android.o
obj-$(CONFIG_$(SPL_)OF_LIBFDT) += image-fdt.o