projects
/
oweals
/
u-boot.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
avr32: use dlmalloc for DMA buffers
[oweals/u-boot.git]
/
common
/
exports.c
1
#include <common.h>
2
#include <exports.h>
3
#include <spi.h>
4
#include <i2c.h>
5
6
DECLARE_GLOBAL_DATA_PTR;
7
8
__attribute__((unused)) static void dummy(void)
9
{
10
}
11
12
unsigned long get_version(void)
13
{
14
return XF_VERSION;
15
}
16
17
#define EXPORT_FUNC(f, a, x, ...) gd->jt->x = f;
18
19
void jumptable_init(void)
20
{
21
gd->jt = malloc(sizeof(struct jt_funcs));
22
#include <_exports.h>
23
}