projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0dc1fc2
)
API: Provide dummy halt() in the glue layer.
author
Rafal Jaworowski
<raj@semihalf.com>
Tue, 29 Jan 2008 16:00:34 +0000
(17:00 +0100)
committer
Rafal Jaworowski
<raj@semihalf.com>
Tue, 29 Jan 2008 16:00:34 +0000
(17:00 +0100)
This fixes a demo app link failure on platforms configured with CONFIG_PANIC_HANG.
Signed-off-by: Rafal Jaworowski <raj@semihalf.com>
api_examples/libgenwrap.c
patch
|
blob
|
history
diff --git
a/api_examples/libgenwrap.c
b/api_examples/libgenwrap.c
index df62633ca70b40d6d6bcb3ce281269fa4efa22e3..2b62badfb88e32b8162d6410cb7423b2cf404f00 100644
(file)
--- a/
api_examples/libgenwrap.c
+++ b/
api_examples/libgenwrap.c
@@
-84,7
+84,12
@@
void do_reset (void)
ub_reset();
}
-void *malloc(size_t len)
+void *malloc
(size_t len)
{
return NULL;
}
+
+void hang (void)
+{
+ while (1) ;
+}