mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-06 14:31:46 +00:00
of: earlycon: Add options string handling
Pass-through any options string in the 'stdout-path' property to the earlycon "driver" setup. Acked-by: Rob Herring <robh@kernel.org> Signed-off-by: Peter Hurley <peter@hurleysoftware.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
05d961320b
commit
4d118c9a86
3 changed files with 15 additions and 8 deletions
|
@ -359,7 +359,8 @@ extern const struct earlycon_id __earlycon_table_end[];
|
|||
#define EARLYCON_DECLARE(_name, fn) OF_EARLYCON_DECLARE(_name, "", fn)
|
||||
|
||||
extern int setup_earlycon(char *buf);
|
||||
extern int of_setup_earlycon(unsigned long addr, const struct earlycon_id *match);
|
||||
extern int of_setup_earlycon(unsigned long addr, const struct earlycon_id *match,
|
||||
const char *options);
|
||||
|
||||
struct uart_port *uart_get_console(struct uart_port *ports, int nr,
|
||||
struct console *c);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue