commit | 7b83c44a81aeebb97130da0ba678a6fc59e07caf | [log] [tgz] |
---|---|---|
author | Dan Handley <dan.handley@arm.com> | Tue Aug 12 14:20:28 2014 +0100 |
committer | Dan Handley <dan.handley@arm.com> | Thu Aug 14 11:17:03 2014 +0100 |
tree | 5441c41bf5bc9d1a28984e3791787eb06f24b0c8 | |
parent | 3aa92165b6b8c924cad3a3b502ac4b7346602479 [diff] |
Move IO storage source to drivers directory Move the remaining IO storage source file (io_storage.c) from the lib to the drivers directory. This requires that platform ports explicitly add this file to the list of source files. Also move the IO header files to a new sub-directory, include/io. Change-Id: I862b1252a796b3bcac0d93e50b11e7fb2ded93d6
diff --git a/Makefile b/Makefile index fcbf773..89e882a 100644 --- a/Makefile +++ b/Makefile
@@ -102,7 +102,6 @@ lib/aarch64/misc_helpers.S \ lib/aarch64/xlat_helpers.c \ lib/stdlib/std.c \ - lib/io_storage.c \ plat/common/aarch64/platform_helpers.S BUILD_BASE := ./build @@ -180,6 +179,7 @@ -Iinclude/common \ -Iinclude/drivers \ -Iinclude/drivers/arm \ + -Iinclude/drivers/io \ -Iinclude/lib \ -Iinclude/lib/aarch64 \ -Iinclude/plat/common \
diff --git a/lib/io_storage.c b/drivers/io/io_storage.c similarity index 100% rename from lib/io_storage.c rename to drivers/io/io_storage.c
diff --git a/include/drivers/io_driver.h b/include/drivers/io/io_driver.h similarity index 100% rename from include/drivers/io_driver.h rename to include/drivers/io/io_driver.h
diff --git a/include/drivers/io_fip.h b/include/drivers/io/io_fip.h similarity index 100% rename from include/drivers/io_fip.h rename to include/drivers/io/io_fip.h
diff --git a/include/drivers/io_memmap.h b/include/drivers/io/io_memmap.h similarity index 100% rename from include/drivers/io_memmap.h rename to include/drivers/io/io_memmap.h
diff --git a/include/drivers/io_semihosting.h b/include/drivers/io/io_semihosting.h similarity index 100% rename from include/drivers/io_semihosting.h rename to include/drivers/io/io_semihosting.h
diff --git a/include/lib/io_storage.h b/include/drivers/io/io_storage.h similarity index 100% rename from include/lib/io_storage.h rename to include/drivers/io/io_storage.h
diff --git a/plat/fvp/platform.mk b/plat/fvp/platform.mk index 8a33a60..ffed7e4 100644 --- a/plat/fvp/platform.mk +++ b/plat/fvp/platform.mk
@@ -66,6 +66,7 @@ drivers/io/io_fip.c \ drivers/io/io_memmap.c \ drivers/io/io_semihosting.c \ + drivers/io/io_storage.c \ lib/aarch64/xlat_tables.c \ lib/semihosting/semihosting.c \ lib/semihosting/aarch64/semihosting_call.S \