mirror of
https://github.com/u-boot/u-boot.git
synced 2025-04-25 06:46:00 +00:00
API: Provide dummy halt() in the glue layer.
This fixes a demo app link failure on platforms configured with CONFIG_PANIC_HANG. Signed-off-by: Rafal Jaworowski <raj@semihalf.com>
This commit is contained in:
parent
0dc1fc22af
commit
63f732d3d3
1 changed files with 6 additions and 1 deletions
|
@ -88,3 +88,8 @@ void *malloc(size_t len)
|
||||||
{
|
{
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void hang (void)
|
||||||
|
{
|
||||||
|
while (1) ;
|
||||||
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue