aboutsummaryrefslogtreecommitdiff
path: root/plat
diff options
context:
space:
mode:
authorSoby Mathew <soby.mathew@arm.com>2014-03-12 14:52:51 +0000
committerDan Handley <dan.handley@arm.com>2014-03-26 17:36:36 +0000
commitc1df3be7dd61fcc6ff31c4ff0ecc1e822fc5d573 (patch)
tree04f70ba864d43b72526a7d4c6afe0ceb526bef80 /plat
parent08c7ed0fe85fa66f1a0f51e9a6747e38342c66a0 (diff)
downloadarm-trusted-firmware-c1df3be7dd61fcc6ff31c4ff0ecc1e822fc5d573.tar.gz
Move console functions out of pl011.c
This commit isolates the accessor functions in pl011.c and builds a wrapper layer for console functions. This also modifies the console driver to use the pl011 FIFO. Fixes ARM-software/tf-issues#63 Change-Id: I3b402171cd14a927831bf5e5d4bb310b6da0e9a8
Diffstat (limited to 'plat')
-rw-r--r--plat/fvp/platform.mk5
1 files changed, 5 insertions, 0 deletions
diff --git a/plat/fvp/platform.mk b/plat/fvp/platform.mk
index be8dcb3..e8de098 100644
--- a/plat/fvp/platform.mk
+++ b/plat/fvp/platform.mk
@@ -29,10 +29,12 @@
#
PLAT_INCLUDES := -Idrivers/arm/interconnect/cci-400 \
+ -Idrivers/console \
-Idrivers/arm/peripherals/pl011 \
-Idrivers/power
PLAT_BL1_C_VPATH := drivers/arm/interconnect/cci-400 \
+ drivers/console \
drivers/arm/peripherals/pl011 \
lib/arch/${ARCH} \
lib/semihosting \
@@ -42,6 +44,7 @@ PLAT_BL1_C_VPATH := drivers/arm/interconnect/cci-400 \
PLAT_BL1_S_VPATH := lib/semihosting/${ARCH}
PLAT_BL2_C_VPATH := drivers/arm/interconnect/cci-400 \
+ drivers/console \
drivers/arm/peripherals/pl011 \
lib/arch/${ARCH} \
lib/stdlib \
@@ -51,6 +54,7 @@ PLAT_BL2_C_VPATH := drivers/arm/interconnect/cci-400 \
PLAT_BL2_S_VPATH := lib/semihosting/${ARCH}
PLAT_BL31_C_VPATH := drivers/arm/interconnect/cci-400 \
+ drivers/console \
drivers/arm/peripherals/pl011 \
lib/arch/${ARCH} \
lib/semihosting \
@@ -62,6 +66,7 @@ PLAT_BL31_S_VPATH := lib/semihosting/${ARCH}
PLAT_BL_COMMON_SOURCES := semihosting_call.S \
mmio.c \
+ console.c \
pl011.c \
semihosting.c \
sysreg_helpers.S \