X-Git-Url: https://git.kernelconcepts.de/?a=blobdiff_plain;f=include%2F_exports.h;h=349a3c5522ff876f5fba77731a53a56a15371e84;hb=009067c3b756de0f94f4a0d03718873614e756f1;hp=2b8ec3d3f91d288b52b4f77f7811c20ef7db80cb;hpb=64cd52efd1dc51a4a5a0cf10efe5362fab27de29;p=karo-tx-uboot.git diff --git a/include/_exports.h b/include/_exports.h index 2b8ec3d3f9..349a3c5522 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,14 @@ EXPORT_FUNC(do_reset) EXPORT_FUNC(getenv) EXPORT_FUNC(setenv) EXPORT_FUNC(simple_strtoul) -#if (CONFIG_COMMANDS & CFG_CMD_I2C) +EXPORT_FUNC(strict_strtoul) +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)