]>
git.ipfire.org Git - thirdparty/u-boot.git/blob - examples/api/libgenwrap.c
bfd88e100d6ed7d5029dfa42028a5f3e4b3f1938
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.
14 #include <linux/delay.h>
15 #include <linux/types.h>
16 #include <api_public.h>
20 void putc(const char c
)
25 void puts(const char *s
)
30 void __udelay(unsigned long usec
)
35 int do_reset(struct cmd_tbl
*cmdtp
, int flag
, int argc
, char *const argv
[])
41 void *malloc (size_t len
)