summaryrefslogtreecommitdiff
path: root/drivers/cadence
diff options
context:
space:
mode:
authorAntonio Nino Diaz <antonio.ninodiaz@arm.com>2018-10-08 13:26:48 +0100
committerAntonio Nino Diaz <antonio.ninodiaz@arm.com>2018-10-12 14:47:41 +0100
commit65199dc844d66959a71fe92bdd65f70ed6e34c1e (patch)
tree069c13457e8b013760a63c4bad8f55a588d1b50c /drivers/cadence
parent3d3619c6dfcfd79685b92eb1190fbb1968a7d217 (diff)
pl011: cnds: cbmem: 16550: Fix comments
The comments with the prototypes of the register functions of the console drivers are incorrect. The arguments are wrong. This patch fixes them. Change-Id: I38c4b481ee69e840780111c42f03c0752eb6315c Signed-off-by: Antonio Nino Diaz <antonio.ninodiaz@arm.com>
Diffstat (limited to 'drivers/cadence')
-rw-r--r--drivers/cadence/uart/aarch64/cdns_console.S5
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/cadence/uart/aarch64/cdns_console.S b/drivers/cadence/uart/aarch64/cdns_console.S
index 67326319..71359a6d 100644
--- a/drivers/cadence/uart/aarch64/cdns_console.S
+++ b/drivers/cadence/uart/aarch64/cdns_console.S
@@ -54,8 +54,9 @@ endfunc console_cdns_core_init
.globl console_cdns_register
/* -----------------------------------------------
- * int console_cdns_register(console_cdns_t *console,
- uintptr_t base, uint32_t clk, uint32_t baud)
+ * int console_cdns_register(uint64_t baseaddr,
+ * uint32_t clock, uint32_t baud,
+ * console_cdns_t *console);
* Function to initialize and register a new CDNS
* console. Storage passed in for the console struct
* *must* be persistent (i.e. not from the stack).