summaryrefslogtreecommitdiff
path: root/drivers/arm
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/arm
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/arm')
-rw-r--r--drivers/arm/pl011/aarch32/pl011_console.S5
-rw-r--r--drivers/arm/pl011/aarch64/pl011_console.S5
2 files changed, 6 insertions, 4 deletions
diff --git a/drivers/arm/pl011/aarch32/pl011_console.S b/drivers/arm/pl011/aarch32/pl011_console.S
index b7892e12..841ea446 100644
--- a/drivers/arm/pl011/aarch32/pl011_console.S
+++ b/drivers/arm/pl011/aarch32/pl011_console.S
@@ -89,8 +89,9 @@ endfunc console_pl011_core_init
.globl console_pl011_register
/* -------------------------------------------------------
- * init console_pl011_register(console_pl011_t *console,
- * uintptr_t base, uint32_t clk, uint32_t baud)
+ * int console_pl011_register(uintptr_t baseaddr,
+ * uint32_t clock, uint32_t baud,
+ * console_pl011_t *console);
* Function to initialize and register a new PL011
* console. Storage passed in for the console struct
* *must* be persistent (i.e. not from the stack).
diff --git a/drivers/arm/pl011/aarch64/pl011_console.S b/drivers/arm/pl011/aarch64/pl011_console.S
index 448501a2..d6a2d6b8 100644
--- a/drivers/arm/pl011/aarch64/pl011_console.S
+++ b/drivers/arm/pl011/aarch64/pl011_console.S
@@ -85,8 +85,9 @@ endfunc console_pl011_core_init
.globl console_pl011_register
/* -----------------------------------------------
- * int console_pl011_register(console_pl011_t *console,
- uintptr_t base, uint32_t clk, uint32_t baud)
+ * int console_pl011_register(uintptr_t baseaddr,
+ * uint32_t clock, uint32_t baud,
+ * console_pl011_t *console);
* Function to initialize and register a new PL011
* console. Storage passed in for the console struct
* *must* be persistent (i.e. not from the stack).