2003-07-24 23:38:38 +00:00
|
|
|
#include <common.h>
|
|
|
|
#include <exports.h>
|
2011-12-06 19:31:32 +00:00
|
|
|
#include <spi.h>
|
2015-01-26 22:22:54 +00:00
|
|
|
#include <i2c.h>
|
2003-07-24 23:38:38 +00:00
|
|
|
|
2006-03-31 16:32:53 +00:00
|
|
|
DECLARE_GLOBAL_DATA_PTR;
|
|
|
|
|
2010-06-20 21:33:02 +00:00
|
|
|
__attribute__((unused)) static void dummy(void)
|
2003-07-24 23:38:38 +00:00
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
unsigned long get_version(void)
|
|
|
|
{
|
|
|
|
return XF_VERSION;
|
|
|
|
}
|
|
|
|
|
2015-01-26 22:22:54 +00:00
|
|
|
#define EXPORT_FUNC(f, a, x, ...) gd->jt->x = f;
|
2009-11-04 21:34:42 +00:00
|
|
|
|
|
|
|
void jumptable_init(void)
|
|
|
|
{
|
2015-01-26 22:22:54 +00:00
|
|
|
gd->jt = malloc(sizeof(struct jt_funcs));
|
2009-11-04 21:34:42 +00:00
|
|
|
#include <_exports.h>
|
2003-07-24 23:38:38 +00:00
|
|
|
}
|