| * (C) Copyright 2007 Semihalf |
| * Written by: Rafal Jaworowski <raj@semihalf.com> |
| * SPDX-License-Identifier: GPL-2.0+ |
| * This is is a set of wrappers/stubs that allow to use certain routines from |
| * U-Boot's lib in the standalone app. This way way we can re-use |
| * existing code e.g. operations on strings and similar. |
| * printf() and vprintf() are stolen from u-boot/common/console.c |
| int printf (const char *fmt, ...) |
| /* For this to work, printbuffer must be larger than |
| * anything we ever want to print. |
| i = vsprintf (printbuffer, fmt, args); |
| int vprintf (const char *fmt, va_list args) |
| /* For this to work, printbuffer must be larger than |
| * anything we ever want to print. |
| i = vsprintf (printbuffer, fmt, args); |
| void __udelay(unsigned long usec) |
| int do_reset(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[]) |
| void *malloc (size_t len) |