Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
Arm Trusted Firmware
Commits
c2c5ee2d
Commit
c2c5ee2d
authored
Jun 23, 2014
by
danh-arm
Browse files
Merge pull request #142 from athoelke/at/fix-console_putc
Remove broken assertion in console_putc()
parents
e869310f
0695dc49
Changes
1
Hide whitespace changes
Inline
Side-by-side
drivers/arm/pl011/pl011_console.c
View file @
c2c5ee2d
...
...
@@ -71,7 +71,12 @@ void console_init(unsigned long base_addr)
int
console_putc
(
int
c
)
{
assert
(
uart_base
);
/* If the console has not been initialized then return an error
* code. Asserting here would result in recursion and stack
* exhaustion
*/
if
(
!
uart_base
)
return
-
1
;
if
(
c
==
'\n'
)
{
WAIT_UNTIL_UART_FREE
(
uart_base
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment