forked from Imagelibrary/rtems
dev/serial: Refactor the pl011 driver
- Refactor the pl011 driver to be extensible. - Add IRQ support and baudrate configuration support for pl011 driver. - Modify related BSP. - Add doxygen comments for arm-pl011. Close #5026 Co-authored-by: Ning Yang <yangn0@qq.com>
This commit is contained in:
committed by
Gedare Bloom
parent
d304a817db
commit
0f42153959
@@ -37,9 +37,10 @@
|
||||
|
||||
arm_pl011_context xen_vpl011_context = {
|
||||
.base = RTEMS_TERMIOS_DEVICE_CONTEXT_INITIALIZER("PL011"),
|
||||
.regs = (volatile pl011 *) BSP_XEN_VPL011_BASE,
|
||||
.regs = (arm_pl011_uart *) BSP_XEN_VPL011_BASE,
|
||||
.irq = GUEST_VPL011_SPI,
|
||||
.initial_baud = 115200
|
||||
.initial_baud = 115200,
|
||||
.clock = 24000000
|
||||
};
|
||||
|
||||
const console_device console_device_table[] = {
|
||||
|
||||
Reference in New Issue
Block a user