diff --git a/common/board_r.c b/common/board_r.c index 00ba319ca77ba16434a71a29b57febb01acedf4d..bd77d646a1325b959ce8791174b12f40c00c22cd 100644 --- a/common/board_r.c +++ b/common/board_r.c @@ -11,6 +11,7 @@ */ #include <common.h> +#include <api.h> /* TODO: can we just include all these headers whether needed or not? */ #if defined(CONFIG_CMD_BEDBUG) #include <bedbug/type.h> diff --git a/include/api.h b/include/api.h new file mode 100644 index 0000000000000000000000000000000000000000..85817f34003503d03d3fa6e1d88fefe0dbed86db --- /dev/null +++ b/include/api.h @@ -0,0 +1,13 @@ +/* + * Copyright (c) 2017 Google, Inc + * Written by Simon Glass <sjg@chromium.org> + * + * SPDX-License-Identifier: GPL-2.0+ + */ + +#ifndef __API_H +#define __API_H + +void api_init(void); + +#endif diff --git a/include/common.h b/include/common.h index 8b64407fd178ddc8d84a88253718117ca8c4468b..fb4e79bb3974b204428021fe9158acd9d35044cf 100644 --- a/include/common.h +++ b/include/common.h @@ -465,9 +465,6 @@ void jumptable_init(void); /* common/kallsysm.c */ const char *symbol_lookup(unsigned long addr, unsigned long *caddr); -/* api/api.c */ -void api_init (void); - /* common/memsize.c */ long get_ram_size (long *, long); phys_size_t get_effective_memsize(void);