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