diff options
author | Damien Le Moal <damien.lemoal@wdc.com> | 2020-12-13 16:50:35 +0300 |
---|---|---|
committer | Palmer Dabbelt <palmerdabbelt@google.com> | 2021-01-08 05:02:13 +0300 |
commit | 1f1496a923b6ba16679074fe77100e1b53cdb880 (patch) | |
tree | 268c82161fcf45e55a866d9e158ef748827214e0 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 11f4c2e940e2f317c9d8fb5a79702f2a4a02ff98 (diff) | |
download | linux-1f1496a923b6ba16679074fe77100e1b53cdb880.tar.xz |
riscv: Fix sifive serial driver
Setup the port uartclk in sifive_serial_probe() so that the base baud
rate is correctly printed during device probe instead of always showing
"0". I.e. the probe message is changed from
38000000.serial: ttySIF0 at MMIO 0x38000000 (irq = 1,
base_baud = 0) is a SiFive UART v0
to the correct:
38000000.serial: ttySIF0 at MMIO 0x38000000 (irq = 1,
base_baud = 115200) is a SiFive UART v0
Signed-off-by: Damien Le Moal <damien.lemoal@wdc.com>
Reviewed-by: Palmer Dabbelt <palmerdabbelt@google.com>
Acked-by: Palmer Dabbelt <palmerdabbelt@google.com>
Signed-off-by: Palmer Dabbelt <palmerdabbelt@google.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions