1
2
3
4
5
6
7
8
9
10
11
12#include <common.h>
13#include <linux/types.h>
14#include <api_public.h>
15
16#include "glue.h"
17
18void putc(const char c)
19{
20 ub_putc(c);
21}
22
23void puts(const char *s)
24{
25 ub_puts(s);
26}
27
28void __udelay(unsigned long usec)
29{
30 ub_udelay(usec);
31}
32
33int do_reset(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
34{
35 ub_reset();
36 return 0;
37}
38
39void *malloc (size_t len)
40{
41 return NULL;
42}
43
44void hang (void)
45{
46 while (1) ;
47}
48