X-Git-Url: https://git.kernelconcepts.de/?a=blobdiff_plain;f=include%2F_exports.h;h=f3df56827e12897d631607dde863283d59a47f79;hb=d43bc3d2d09022bcffa1302b8f51e7fabe2dc68a;hp=2b8ec3d3f91d288b52b4f77f7811c20ef7db80cb;hpb=afa98843e4665add11b69496341053b268156e3a;p=karo-tx-uboot.git diff --git a/include/_exports.h b/include/_exports.h index 2b8ec3d3f9..f3df56827e 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) @@ -14,8 +18,15 @@ EXPORT_FUNC(vprintf) EXPORT_FUNC(do_reset) EXPORT_FUNC(getenv) EXPORT_FUNC(setenv) +EXPORT_FUNC(forceenv) EXPORT_FUNC(simple_strtoul) -#if (CONFIG_COMMANDS & CFG_CMD_I2C) +EXPORT_FUNC(simple_strtol) +EXPORT_FUNC(strcmp) EXPORT_FUNC(i2c_write) EXPORT_FUNC(i2c_read) -#endif /* CFG_CMD_I2C */ +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)