diff options
author | Dan Handley <dan.handley@arm.com> | 2014-05-14 17:44:19 +0100 |
---|---|---|
committer | Achin Gupta <achin.gupta@arm.com> | 2014-05-23 15:52:29 +0100 |
commit | 5f0cdb059d7d5c3a8a834074a7f236b85d014dde (patch) | |
tree | 9d249567a958eb8417b08f095813ecde6bb2435b /drivers | |
parent | 7a9a5f2d22c4f76ae95300fe52129603d29bccc1 (diff) |
Split platform.h into separate headers
Previously, platform.h contained many declarations and definitions
used for different purposes. This file has been split so that:
* Platform definitions used by common code that must be defined
by the platform are now in platform_def.h. The exact include
path is exported through $PLAT_INCLUDES in the platform makefile.
* Platform definitions specific to the FVP platform are now in
/plat/fvp/fvp_def.h.
* Platform API declarations specific to the FVP platform are now
in /plat/fvp/fvp_private.h.
* The remaining platform API declarations that must be ported by
each platform are still in platform.h but this file has been
moved to /include/plat/common since this can be shared by all
platforms.
Change-Id: Ieb3bb22fbab3ee8027413c6b39a783534aee474a
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/arm/cci400/cci400.c | 2 | ||||
-rw-r--r-- | drivers/arm/pl011/pl011.c | 1 | ||||
-rw-r--r-- | drivers/arm/pl011/pl011_console.c | 1 | ||||
-rw-r--r-- | drivers/io/io_fip.c | 2 |
4 files changed, 3 insertions, 3 deletions
diff --git a/drivers/arm/cci400/cci400.c b/drivers/arm/cci400/cci400.c index 02f7f95..af10f21 100644 --- a/drivers/arm/cci400/cci400.c +++ b/drivers/arm/cci400/cci400.c @@ -30,7 +30,7 @@ #include <cci400.h> #include <mmio.h> -#include <platform.h> +#include <platform_def.h> static inline unsigned long get_slave_iface_base(unsigned long mpidr) { diff --git a/drivers/arm/pl011/pl011.c b/drivers/arm/pl011/pl011.c index f12bd23..e296c23 100644 --- a/drivers/arm/pl011/pl011.c +++ b/drivers/arm/pl011/pl011.c @@ -29,7 +29,6 @@ */ #include <assert.h> -#include <platform.h> #include <pl011.h> void pl011_setbaudrate(unsigned long base_addr, unsigned int baudrate) diff --git a/drivers/arm/pl011/pl011_console.c b/drivers/arm/pl011/pl011_console.c index 06e357f..0e82aa2 100644 --- a/drivers/arm/pl011/pl011_console.c +++ b/drivers/arm/pl011/pl011_console.c @@ -30,7 +30,6 @@ #include <assert.h> #include <console.h> -#include <platform.h> #include <pl011.h> static unsigned long uart_base; diff --git a/drivers/io/io_fip.c b/drivers/io/io_fip.c index 8ed7f47..36788a2 100644 --- a/drivers/io/io_fip.c +++ b/drivers/io/io_fip.c @@ -29,6 +29,7 @@ */ #include <assert.h> +#include <bl_common.h> #include <debug.h> #include <errno.h> #include <firmware_image_package.h> @@ -36,6 +37,7 @@ #include <io_fip.h> #include <io_storage.h> #include <platform.h> +#include <platform_def.h> #include <stdint.h> #include <string.h> #include <uuid.h> |