summaryrefslogtreecommitdiffstats
path: root/bsps/arm/raspberrypi/include/bsp/usart.h
diff options
context:
space:
mode:
authorG S Niteesh <gsnb.gn@gmail.com>2020-01-05 01:20:46 +0530
committerChristian Mauderer <christian.mauderer@embedded-brains.de>2020-01-07 18:21:16 +0100
commit362cf319d44e7e64987f12aa36ea030e6298c586 (patch)
tree6313963fea4b89859adf6219a3860fe245e44afa /bsps/arm/raspberrypi/include/bsp/usart.h
parentbsp/raspberrypi: Enable FDT support. (diff)
downloadrtems-362cf319d44e7e64987f12aa36ea030e6298c586.tar.bz2
bsp/raspberrypi: Updated the console API.
Replaces the legacy termios API with new termios API (#3034) Replaces the custom PL011 serial driver with RTEMS arm-pl011. Update #3034
Diffstat (limited to '')
-rw-r--r--bsps/arm/raspberrypi/include/bsp/usart.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/bsps/arm/raspberrypi/include/bsp/usart.h b/bsps/arm/raspberrypi/include/bsp/usart.h
index d3e710c5e9..abbf53626c 100644
--- a/bsps/arm/raspberrypi/include/bsp/usart.h
+++ b/bsps/arm/raspberrypi/include/bsp/usart.h
@@ -32,9 +32,8 @@
extern "C" {
#endif /* __cplusplus */
-#define USART0_DEFAULT_BAUD 115000
-
-extern const console_fns bcm2835_usart_fns;
+#define PL011_DEFAULT_BAUD 115000
+#define BCM2835_PL011_BASE (RPI_PERIPHERAL_BASE + 0x201000)
#ifdef __cplusplus
}