projects
/
profile
/
mobile
/
platform
/
kernel
/
u-boot-tm1.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4221f77
)
console: remove build warning in ram console
41/165441/1
author
Seung-Woo Kim
<sw0312.kim@samsung.com>
Fri, 29 Dec 2017 02:32:30 +0000
(11:32 +0900)
committer
Seung-Woo Kim
<sw0312.kim@samsung.com>
Fri, 29 Dec 2017 02:32:33 +0000
(11:32 +0900)
Remove build warning in ram console.
Change-Id: I1b783345c081fbd9d24c727fc1ec00f9d16eb38c
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
common/console.c
patch
|
blob
|
history
diff --git
a/common/console.c
b/common/console.c
index
31146cc
..
aca0d77
100644
(file)
--- a/
common/console.c
+++ b/
common/console.c
@@
-207,7
+207,7
@@
void ram_puts(const char* s)
uint *p = NULL;
uint wlen = strlen(s);
- p = (u
nsigned char
*)CONFIG_RAM_CONSOLE_START + used_size;
+ p = (u
int
*)CONFIG_RAM_CONSOLE_START + used_size;
if (used_size >= CONFIG_RAM_CONSOLE_SIZE) {
serial_puts("ram console: space overflow!\n");