summaryrefslogtreecommitdiff
path: root/chip/g/build.mk
diff options
context:
space:
mode:
authorMary Ruthven <mruthven@chromium.org>2016-03-17 16:43:12 -0700
committerchrome-bot <chrome-bot@chromium.org>2016-03-31 14:53:54 -0700
commit59c03bc4c644b0f0bbf3c6807a97755b7509b319 (patch)
tree63e3c44d863b615ccf8dce25e567ba4cc6cdf2a0 /chip/g/build.mk
parent9e0c450f726d3d6dfd3486d7b816fd90621a6321 (diff)
downloadchrome-ec-59c03bc4c644b0f0bbf3c6807a97755b7509b319.tar.gz
cr50: enable use of multiple UARTs
cr50 has three UARTs that it will be using. This change modifies the uart api to specify which uart to use. BUG=chrome-os-partner:50702 BRANCH=none TEST=change the interrupts and CONFIG_UART_CONSOLE to see that the different UARTs can be used. Change-Id: I754a69159103b48bc3f2f8ab1b9c8b86cea6bea5 Signed-off-by: Mary Ruthven <mruthven@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/333402 Tested-by: Bill Richardson <wfrichar@chromium.org> Reviewed-by: Bill Richardson <wfrichar@chromium.org>
Diffstat (limited to 'chip/g/build.mk')
-rw-r--r--chip/g/build.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/chip/g/build.mk b/chip/g/build.mk
index d6df5d228c..a98f2e3e8f 100644
--- a/chip/g/build.mk
+++ b/chip/g/build.mk
@@ -23,6 +23,7 @@ ifeq ($(CONFIG_POLLING_UART),y)
chip-y += polling_uart.o
else
chip-y += uart.o
+chip-y += uartn.o
endif
chip-$(CONFIG_DCRYPTO)+= dcrypto/aes.o
@@ -66,6 +67,7 @@ custom-ro_objs-y += chip/g/pmu.o
custom-ro_objs-y += chip/g/system.o
custom-ro_objs-y += chip/g/trng.o
custom-ro_objs-y += chip/g/uart.o
+custom-ro_objs-y += chip/g/uartn.o
custom-ro_objs-y += common/printf.o
custom-ro_objs-y += common/util.o
custom-ro_objs-y += core/cortex-m/init.o