]> git.ipfire.org Git - people/ms/u-boot.git/blame_incremental - common/exports.c
Merge branch 'master' of git://www.denx.de/git/u-boot-imx
[people/ms/u-boot.git] / common / exports.c
... / ...
CommitLineData
1#include <common.h>
2#include <exports.h>
3#include <spi.h>
4#include <i2c.h>
5
6DECLARE_GLOBAL_DATA_PTR;
7
8__attribute__((unused)) static void dummy(void)
9{
10}
11
12unsigned long get_version(void)
13{
14 return XF_VERSION;
15}
16
17#define EXPORT_FUNC(f, a, x, ...) gd->jt->x = f;
18
19void jumptable_init(void)
20{
21 gd->jt = malloc(sizeof(struct jt_funcs));
22#include <_exports.h>
23}