aboutsummaryrefslogtreecommitdiff
path: root/platform/ext/target/musca_b1/Device/Source/device_definition.c
diff options
context:
space:
mode:
authorTamas Kaman <tamas.kaman@arm.com>2019-11-17 15:34:47 +0100
committerTamas Kaman <tamas.kaman@arm.com>2019-12-13 15:49:37 +0100
commitd326142f2465ea74b88fcf9ddd23a8285de62f00 (patch)
treec00ca916e764c12a6cbe83978d45522439a7dc9d /platform/ext/target/musca_b1/Device/Source/device_definition.c
parent28d993c7c483966b7d71ac2dd4c691ee6ba29c5d (diff)
downloadtrusted-firmware-m-d326142f2465ea74b88fcf9ddd23a8285de62f00.tar.gz
Platform: Add GPIO platform service for Musca-A and B1
Both on Musca-A and Musca-B1 GPIO is accessible only from the secure world so a secure service is added for these platforms to make it accessible from the non-secure code as well. Signed-off-by: Tamas Kaman <tamas.kaman@arm.com> Change-Id: I0d65d6f43efb31236ea75b5c18d279d7d02e3b91
Diffstat (limited to 'platform/ext/target/musca_b1/Device/Source/device_definition.c')
-rw-r--r--platform/ext/target/musca_b1/Device/Source/device_definition.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/platform/ext/target/musca_b1/Device/Source/device_definition.c b/platform/ext/target/musca_b1/Device/Source/device_definition.c
index 165d2033e..303e41f3e 100644
--- a/platform/ext/target/musca_b1/Device/Source/device_definition.c
+++ b/platform/ext/target/musca_b1/Device/Source/device_definition.c
@@ -302,11 +302,6 @@ static const struct gpio_cmsdk_dev_cfg_t GPIO0_CMSDK_DEV_CFG_S = {
.base = MUSCA_B1_GPIO_S_BASE};
struct gpio_cmsdk_dev_t GPIO0_CMSDK_DEV_S = {&(GPIO0_CMSDK_DEV_CFG_S)};
#endif
-#ifdef GPIO0_CMSDK_NS
-static const struct gpio_cmsdk_dev_cfg_t GPIO0_CMSDK_DEV_CFG_NS = {
- .base = MUSCA_B1_GPIO_NS_BASE};
-struct gpio_cmsdk_dev_t GPIO0_CMSDK_DEV_NS = {&(GPIO0_CMSDK_DEV_CFG_NS)};
-#endif
/** Arm UART PL011 driver structures */
#ifdef UART0_PL011_S