forked from Imagelibrary/rtems
arm/raspberrypi: Specify an initial baud rate during startup
* Fixes #5256.
* Specify an initial baud rate to use during startup.
After the PL011 code refactor in
0f42153959, an initial baud rate
is required. arm_pl011_first_open is called from boot_card and
will fail without a baud rate specified. This can cause certain
future uses of /dev/console, such as opening a shell, to fail.
This commit is contained in:
@@ -47,7 +47,8 @@
|
||||
#define FBCONS "/dev/fbcons"
|
||||
|
||||
arm_pl011_context pl011_context = {
|
||||
.clock = 48000000
|
||||
.clock = 48000000,
|
||||
.initial_baud = PL011_DEFAULT_BAUD,
|
||||
};
|
||||
ns16550_context mini_uart_context;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user