]> Git Repo - J-u-boot.git/blame - common/exports.c
arm: dts: r8a774b1: Import DTS queued for Linux 5.12-rc1
[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>
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.497646 seconds and 4 git commands to generate.