rpi: advertise correct default speed of miniuart
Does not implement setting the baud rate yet, but correctly advertises that we set it to 921600 by default.
This commit is contained in:
parent
4eec1e07c7
commit
afcf36de70
@ -128,6 +128,7 @@ static void miniuart_thread(void * arg) {
|
|||||||
pty->slave->gid = 2; /* dialout group */
|
pty->slave->gid = 2; /* dialout group */
|
||||||
pty->slave->mask = 0660;
|
pty->slave->mask = 0660;
|
||||||
pty->_private = arg;
|
pty->_private = arg;
|
||||||
|
pty->tios.c_cflag = CREAD | CS8 | B921600;
|
||||||
vfs_mount("/dev/ttyUART1", pty->slave);
|
vfs_mount("/dev/ttyUART1", pty->slave);
|
||||||
|
|
||||||
/* Enable interrupts */
|
/* Enable interrupts */
|
||||||
|
Loading…
Reference in New Issue
Block a user