summaryrefslogtreecommitdiffstats
path: root/drivers/soc/fsl/dpaa2-console.c
Commit message (Collapse)AuthorAgeFilesLines
* soc: fsl: dpaa2-console: free buffer before returning from dpaa2_console_readRobert-Ionut Alexa2021-10-211-0/+1
| | | | | | | | | | | Free the kbuf buffer before returning from the dpaa2_console_read() function. The variable no longer goes out of scope, leaking the storage it points to. Fixes: c93349d8c170 ("soc: fsl: add DPAA2 console support") Signed-off-by: Robert-Ionut Alexa <robert-ionut.alexa@nxp.com> Signed-off-by: Ioana Ciornei <ioana.ciornei@nxp.com> Signed-off-by: Li Yang <leoyang.li@nxp.com>
* soc: fsl: fix spelling mistake "Firmaware" -> "Firmware"Colin Ian King2019-05-291-1/+1
| | | | | | | There is a spelling mistake in a pr_err message. Fix it. Signed-off-by: Colin Ian King <colin.king@canonical.com> Signed-off-by: Li Yang <leoyang.li@nxp.com>
* soc: fsl: add DPAA2 console supportIoana Ciornei2019-05-201-0/+329
This patch adds DPAA2 MC and AIOP console log support. The platform driver probes on the "fsl,dpaa2-console" device tree node which describes the base firmware address needed in order to infer the start address of both firmware logs: MC and AIOP. It then exports two misc char devices which can be used to dump the needed logs. Signed-off-by: Ioana Ciornei <ioana.ciornei@nxp.com> Signed-off-by: Roy Pledge <roy.pledge@nxp.com> Signed-off-by: Li Yang <leoyang.li@nxp.com>