]> git.ipfire.org Git - people/ms/u-boot.git/blame - common/exports.c
dwc3: core: added an API to invoke irq handlers
[people/ms/u-boot.git] / common / exports.c
CommitLineData
27b207fd
WD
1#include <common.h>
2#include <exports.h>
80729a54 3#include <spi.h>
49cad547 4#include <i2c.h>
27b207fd 5
d87080b7
WD
6DECLARE_GLOBAL_DATA_PTR;
7
c0c15379 8__attribute__((unused)) static void dummy(void)
27b207fd
WD
9{
10}
11
12unsigned long get_version(void)
13{
14 return XF_VERSION;
15}
16
49cad547 17#define EXPORT_FUNC(f, a, x, ...) gd->jt->x = f;
bf44f3f3
MF
18
19void jumptable_init(void)
20{
49cad547 21 gd->jt = malloc(sizeof(struct jt_funcs));
bf44f3f3 22#include <_exports.h>
27b207fd 23}