diff options
-rw-r--r-- | common/board_r.c | 1 | ||||
-rw-r--r-- | include/common.h | 3 | ||||
-rw-r--r-- | include/exports.h | 3 |
3 files changed, 4 insertions, 3 deletions
diff --git a/common/board_r.c b/common/board_r.c index e7c2594..2f5e534 100644 --- a/common/board_r.c +++ b/common/board_r.c @@ -12,6 +12,7 @@ #include <common.h> #include <api.h> #include <cpu_func.h> +#include <exports.h> #include <irq_func.h> #include <u-boot/crc.h> /* TODO: can we just include all these headers whether needed or not? */ diff --git a/include/common.h b/include/common.h index 82228e2..6b7b199 100644 --- a/include/common.h +++ b/include/common.h @@ -80,9 +80,6 @@ extern ulong load_addr; /* Default Load Address */ extern ulong save_addr; /* Default Save Address */ extern ulong save_size; /* Default Save Size */ -/* common/exports.c */ -void jumptable_init(void); - /* common/kallsysm.c */ const char *symbol_lookup(unsigned long addr, unsigned long *caddr); diff --git a/include/exports.h b/include/exports.h index 35f4632..cbd16fc 100644 --- a/include/exports.h +++ b/include/exports.h @@ -13,6 +13,9 @@ struct spi_slave; +/* Set up the jump table for use by the API */ +void jumptable_init(void); + /* These are declarations of exported functions available in C code */ unsigned long get_version(void); int getc(void); |