Skip to content

exports overhaul

Rasmus Villemoes u-boot 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest9 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/9malloc.h: be a bit more consistent with macro definitionsinclude/malloc.h+3 -30 replies
2/9_exports.h: drop creating dummy i2c entries and fixup config dependencyinclude/_exports.h+1 -50 replies
3/9_exports.h: simplify condition for including spi functionsinclude/_exports.h+1 -100 replies
4/9_exports.h: drop the last dummy entriesinclude/_exports.h+0 -30 replies
5/9exports.c: drop unused dummy functioncommon/exports.c+0 -110 replies
6/9exports.h: make sure declarations are in sync with the actual exportsinclude/exports.h+3 -330 replies
7/9_exports.h: reorganize a bitinclude/_exports.h+8 -80 replies
8/9_exports.h: export standard memory/string handling functionsinclude/_exports.h+14 -00 replies
9/9exports.h: bump XF_VERSIONinclude/exports.h+1 -10 replies

Reviews trailers per patch

None of the 9 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchTom Rini
SeriesR-b
1/9
2/9
3/9
4/9
5/9
6/9
7/9
8/9
9/9

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/9] exports overhaul

This all started from me wondering "why does this standalone app end up being so huge"? Oh, it essentially links in its own standard C library to get strlen() and snprintf(). Which then led to asking "why don't we export all those standard C functions when we have them anyway?".

CI has chewed on these and seem happy - it was CI which told me about the necessity of [1/9]: https://github.com/u-boot/u-boot/pull/813

Rasmus Villemoes (9):
malloc.h: be a bit more consistent with macro definitions _exports.h: drop creating dummy i2c entries and fixup config
dependency
_exports.h: simplify condition for including spi functions _exports.h: drop the last dummy entries
exports.c: drop unused dummy function
exports.h: make sure declarations are in sync with the actual exports _exports.h: reorganize a bit
_exports.h: export standard memory/string handling functions exports.h: bump XF_VERSION

 common/exports.c   | 11 ----------
 include/_exports.h | 50 ++++++++++++++++++++++------------------------
 include/exports.h  | 38 ++++-------------------------------
 include/malloc.h   |  6 +++---
 4 files changed, 31 insertions(+), 74 deletions(-)
Signature · 1 line
2.51.0