summaryrefslogtreecommitdiff
path: root/include/debug_ll
Commit message (Collapse)AuthorAgeFilesLines
* debug_ll ns16550: Use CONFIG_BAUDRATESascha Hauer2023-03-071-1/+1
| | | | | | | | the ns16550 debug_ll helper hardcodes a baudrate of 115200 baud. The desired baudrate is specified in CONFIG_BAUDRATE, so use that instead. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* debug_ll ns16550: Do not define PUTC_LL()Sascha Hauer2023-03-071-1/+1
| | | | | | | | The ns16550 debug_ll helper always defines PUTC_LL() when included. This is not always desired, so rename it to debug_ll_ns16550_putc() and let the user define PUTC_LL() when desired. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* include: add SPDX-License-IdentifierAhmad Fatoum2022-01-052-0/+4
| | | | | | | | | All these files lack a license statement, so add the default GPL-2.0-only. Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Link: https://lore.barebox.org/20220103120539.1730644-7-a.fatoum@pengutronix.de Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* debug_ll: ns16550: Fix interrupt disable on initJules Maselbas2021-11-221-1/+1
| | | | | | | | | | The debug_ll_write_reg function takes first the register and secondly the value to write, which in this call were inverted. Fix the argument order. Signed-off-by: Jules Maselbas <jmaselbas@kalray.eu> Link: https://lore.barebox.org/20211004073842.14809-1-jmaselbas@kalray.eu Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* debug_ll: Add ns16550 early debugging functionsSascha Hauer2019-03-061-0/+56
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* debug_ll: Move pl011 header file to architecture independent placeSascha Hauer2019-03-061-0/+25
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>