mirror of
https://github.com/ARM-software/arm-trusted-firmware.git
synced 2025-04-17 10:04:26 +00:00
skeletton: Use generic console_t data structure
Since now the generic console_t structure holds the UART base address as well, let's use that generic location and drop the UART driver specific data structure at all. Change-Id: I347849424782333149e5912a25cc0ab9d277a201 Signed-off-by: Andre Przywara <andre.przywara@arm.com>
This commit is contained in:
parent
78b40dce64
commit
e8ada80a84
2 changed files with 8 additions and 8 deletions
|
@ -50,7 +50,7 @@ func console_xxx_register
|
|||
* by later console callback (e.g. putc).
|
||||
* Example:
|
||||
*/
|
||||
str r1, [r0, #CONSOLE_T_XXX_BASE]
|
||||
str r1, [r0, #CONSOLE_T_BASE]
|
||||
str r2, [r0, #CONSOLE_T_XXX_SOME_OTHER_VALUE]
|
||||
|
||||
/*
|
||||
|
@ -87,7 +87,7 @@ func console_xxx_putc
|
|||
* console_xxx_t structure pointed to by r1.
|
||||
* Example:
|
||||
*/
|
||||
ldr r1, [r1, #CONSOLE_T_XXX_BASE]
|
||||
ldr r1, [r1, #CONSOLE_T_BASE]
|
||||
|
||||
/*
|
||||
* Write r0 to hardware.
|
||||
|
@ -125,7 +125,7 @@ func console_xxx_getc
|
|||
* console_xxx_t structure pointed to by r0.
|
||||
* Example:
|
||||
*/
|
||||
ldr r1, [r0, #CONSOLE_T_XXX_BASE]
|
||||
ldr r1, [r0, #CONSOLE_T_BASE]
|
||||
|
||||
/*
|
||||
* Try to read character into r0 from hardware.
|
||||
|
@ -159,7 +159,7 @@ func console_xxx_flush
|
|||
* console_xxx_t structure pointed to by r0.
|
||||
* Example:
|
||||
*/
|
||||
ldr r1, [r0, #CONSOLE_T_XXX_BASE]
|
||||
ldr r1, [r0, #CONSOLE_T_BASE]
|
||||
|
||||
/*
|
||||
* Flush all remaining output from hardware FIFOs. Do not return until
|
||||
|
|
|
@ -50,7 +50,7 @@ func console_xxx_register
|
|||
* by later console callback (e.g. putc).
|
||||
* Example:
|
||||
*/
|
||||
str x1, [x0, #CONSOLE_T_XXX_BASE]
|
||||
str x1, [x0, #CONSOLE_T_BASE]
|
||||
str x2, [x0, #CONSOLE_T_XXX_SOME_OTHER_VALUE]
|
||||
|
||||
/*
|
||||
|
@ -87,7 +87,7 @@ func console_xxx_putc
|
|||
* console_xxx_t structure pointed to by x1.
|
||||
* Example:
|
||||
*/
|
||||
ldr x1, [x1, #CONSOLE_T_XXX_BASE]
|
||||
ldr x1, [x1, #CONSOLE_T_BASE]
|
||||
|
||||
/*
|
||||
* Write w0 to hardware.
|
||||
|
@ -125,7 +125,7 @@ func console_xxx_getc
|
|||
* console_xxx_t structure pointed to by x0.
|
||||
* Example:
|
||||
*/
|
||||
ldr x1, [x0, #CONSOLE_T_XXX_BASE]
|
||||
ldr x1, [x0, #CONSOLE_T_BASE]
|
||||
|
||||
/*
|
||||
* Try to read character into w0 from hardware.
|
||||
|
@ -159,7 +159,7 @@ func console_xxx_flush
|
|||
* console_xxx_t structure pointed to by x0.
|
||||
* Example:
|
||||
*/
|
||||
ldr x1, [x0, #CONSOLE_T_XXX_BASE]
|
||||
ldr x1, [x0, #CONSOLE_T_BASE]
|
||||
|
||||
/*
|
||||
* Flush all remaining output from hardware FIFOs. Do not return until
|
||||
|
|
Loading…
Add table
Reference in a new issue