1 // SPDX-License-Identifier: GPL-2.0+
3 * (C) Copyright 2007 Semihalf
5 * Written by: Rafal Jaworowski <raj@semihalf.com>
7 * This is is a set of wrappers/stubs that allow to use certain routines from
8 * U-Boot's lib in the standalone app. This way way we can re-use
9 * existing code e.g. operations on strings and similar.
15 #include <linux/delay.h>
16 #include <linux/types.h>
17 #include <api_public.h>
21 void putc(const char c)
26 void puts(const char *s)
31 void __udelay(unsigned long usec)
36 int do_reset(struct cmd_tbl *cmdtp, int flag, int argc, char *const argv[])
42 void *malloc (size_t len)