summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
Diffstat (limited to 'common')
-rw-r--r--common/exports.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/common/exports.c b/common/exports.c
index ec4656b..b3b6e1f 100644
--- a/common/exports.c
+++ b/common/exports.c
@@ -38,4 +38,12 @@ void jumptable_init (void)
gd->jt[XF_i2c_write] = (void *) i2c_write;
gd->jt[XF_i2c_read] = (void *) i2c_read;
#endif
+#ifdef CONFIG_CMD_SPI
+ gd->jt[XF_spi_init] = (void *) spi_init;
+ gd->jt[XF_spi_setup_slave] = (void *) spi_setup_slave;
+ gd->jt[XF_spi_free_slave] = (void *) spi_free_slave;
+ gd->jt[XF_spi_claim_bus] = (void *) spi_claim_bus;
+ gd->jt[XF_spi_release_bus] = (void *) spi_release_bus;
+ gd->jt[XF_spi_xfer] = (void *) spi_xfer;
+#endif
}