]> Git Repo - J-u-boot.git/blame - common/exports.c
configs: Resync with savedefconfig
[J-u-boot.git] / common / exports.c
CommitLineData
27b207fd 1#include <common.h>
09140113 2#include <command.h>
27b207fd 3#include <exports.h>
1f6510c4 4#include <malloc.h>
80729a54 5#include <spi.h>
49cad547 6#include <i2c.h>
401d1c4f 7#include <asm/global_data.h>
27b207fd 8
d87080b7
WD
9DECLARE_GLOBAL_DATA_PTR;
10
c0c15379 11__attribute__((unused)) static void dummy(void)
27b207fd
WD
12{
13}
14
15unsigned long get_version(void)
16{
17 return XF_VERSION;
18}
19
49cad547 20#define EXPORT_FUNC(f, a, x, ...) gd->jt->x = f;
bf44f3f3 21
95279315
PK
22#ifndef CONFIG_PHY_AQUANTIA
23# define mdio_get_current_dev dummy
24# define phy_find_by_mask dummy
25# define mdio_phydev_for_ethname dummy
26# define miiphy_set_current_dev dummy
27#endif
28
01548580 29int jumptable_init(void)
bf44f3f3 30{
49cad547 31 gd->jt = malloc(sizeof(struct jt_funcs));
bf44f3f3 32#include <_exports.h>
01548580
OP
33
34 return 0;
27b207fd 35}
This page took 0.533859 seconds and 4 git commands to generate.