X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=include%2F_exports.h;h=d89b65be661772ab84d0209a3a4b29f9efce58eb;hb=d0e6665a24c2c2a3d333db169fcd1261a0903146;hp=a0fbf2aba3621cbf92c9c697174e457982a8e8aa;hpb=068b60a0eb7e73b243ca55399f2a7df76e2c3f3d;p=u-boot diff --git a/include/_exports.h b/include/_exports.h index a0fbf2aba3..d89b65be66 100644 --- a/include/_exports.h +++ b/include/_exports.h @@ -1,3 +1,7 @@ +/* + * You do not need to use #ifdef around functions that may not exist + * in the final configuration (such as i2c). + */ EXPORT_FUNC(get_version) EXPORT_FUNC(getc) EXPORT_FUNC(tstc) @@ -15,7 +19,13 @@ EXPORT_FUNC(do_reset) EXPORT_FUNC(getenv) EXPORT_FUNC(setenv) EXPORT_FUNC(simple_strtoul) -#if defined(CONFIG_CMD_I2C) +EXPORT_FUNC(simple_strtol) +EXPORT_FUNC(strcmp) EXPORT_FUNC(i2c_write) EXPORT_FUNC(i2c_read) -#endif +EXPORT_FUNC(spi_init) +EXPORT_FUNC(spi_setup_slave) +EXPORT_FUNC(spi_free_slave) +EXPORT_FUNC(spi_claim_bus) +EXPORT_FUNC(spi_release_bus) +EXPORT_FUNC(spi_xfer)