summaryrefslogtreecommitdiff
path: root/core/include/drivers
diff options
context:
space:
mode:
authoregukim <egukim@dignsys.com>2017-10-24 02:49:47 (GMT)
committereunggu kim <egukim@dignsys.com>2017-11-14 13:44:37 (GMT)
commit55074beb232064345583ffa4de3e4e33020fed47 (patch)
tree9608812d66d57ec6c5b3fe88bfaed31fd12fddcf /core/include/drivers
parentade5579e84527ddcac19e324764035b6b81a9ae0 (diff)
downloadtef-optee_os-55074beb232064345583ffa4de3e4e33020fed47.zip
tef-optee_os-55074beb232064345583ffa4de3e4e33020fed47.tar.gz
tef-optee_os-55074beb232064345583ffa4de3e4e33020fed47.tar.bz2
artik710: porting for optee 2.4refs/changes/51/157251/4
This patch rewrote the s5p6818 uart driver for the optee2.4 framework. And revised build config for optee 2.4 build Cryptographic extensions disable as rpi3 Change-Id: Ie31101761bb1b278804824c60e1081666054c021 Signed-off-by: egukim <egukim@dignsys.com>
Diffstat (limited to 'core/include/drivers')
-rw-r--r--core/include/drivers/s5p6818_uart.h15
1 files changed, 7 insertions, 8 deletions
diff --git a/core/include/drivers/s5p6818_uart.h b/core/include/drivers/s5p6818_uart.h
index 6ec928b..e4a4442 100644
--- a/core/include/drivers/s5p6818_uart.h
+++ b/core/include/drivers/s5p6818_uart.h
@@ -30,16 +30,15 @@
#define __S5P6818_UART_H__
#include <types_ext.h>
+#include <drivers/serial.h>
-void s5p6818_uart_init(vaddr_t base, uint32_t uart_clk, uint32_t baud_rate);
+struct s5p6818_uart_data {
+ struct io_pa_va base;
+ struct serial_chip chip;
+};
-void s5p6818_uart_putc(int ch, vaddr_t base);
-
-void s5p6818_uart_flush(vaddr_t base);
-
-bool s5p6818_uart_have_rx_data(vaddr_t base);
-
-int s5p6818_uart_getchar(vaddr_t base);
+void s5p6818_uart_init(struct s5p6818_uart_data *pd, paddr_t base,
+ uint32_t uart_clk, uint32_t baud_rate);
#endif /* __S5P6818_UART_H__ */