mirror of
https://xff.cz/git/u-boot/
synced 2025-09-02 17:22:22 +02: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:
@@ -84,7 +84,12 @@ void do_reset (void)
|
|||||||
ub_reset();
|
ub_reset();
|
||||||
}
|
}
|
||||||
|
|
||||||
void *malloc(size_t len)
|
void *malloc (size_t len)
|
||||||
{
|
{
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void hang (void)
|
||||||
|
{
|
||||||
|
while (1) ;
|
||||||
|
}
|
||||||
|
Reference in New Issue
Block a user