mirror of
https://github.com/ARM-software/arm-trusted-firmware.git
synced 2025-04-16 01:24:27 +00:00
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>
This commit is contained in:
parent
3d3619c6df
commit
65199dc844
5 changed files with 14 additions and 10 deletions
|
@ -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).
|
||||
|
|
|
@ -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).
|
||||
|
|
|
@ -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).
|
||||
|
|
|
@ -19,8 +19,8 @@
|
|||
.globl console_cbmc_flush
|
||||
|
||||
/* -----------------------------------------------
|
||||
* int console_cbmc_register(console_cbmc_t *console,
|
||||
* uintptr_t base)
|
||||
* int console_cbmc_register(uintptr_t base,
|
||||
* console_cbmc_t *console);
|
||||
* Registers a new CBMEM console instance. Reads
|
||||
* the size field from the buffer header structure
|
||||
* and stores it in our console_cbmc_t struct, so
|
||||
|
|
|
@ -87,8 +87,9 @@ endfunc console_16550_core_init
|
|||
.globl console_16550_register
|
||||
|
||||
/* -----------------------------------------------
|
||||
* int console_16550_register(console_16550_t *console,
|
||||
uintptr_t base, uint32_t clk, uint32_t baud)
|
||||
* int console_16550_register(uintptr_t baseaddr,
|
||||
* uint32_t clock, uint32_t baud,
|
||||
* console_16550_t *console);
|
||||
* Function to initialize and register a new 16550
|
||||
* console. Storage passed in for the console struct
|
||||
* *must* be persistent (i.e. not from the stack).
|
||||
|
|
Loading…
Add table
Reference in a new issue