[PATCH v2 0/3] integer limit macro consolidation

Tom Rini trini at konsulko.com
Mon Jul 14 23:10:47 CEST 2025


On Mon, 07 Jul 2025 22:36:52 +0200, Rasmus Villemoes wrote:

> I was bitten by our limit macros not being usable in #if conditionals
> when building a standalone app. It turns out that the work to fix that
> had already been started by the inclusion of the mbedtls library, so
> it's something that people do hit.
> 
> Let's finish the job by providing suitable limit macros for all three families:
> 
> [...]

Applied to u-boot/master, thanks!

[1/3] move more limits from kernel.h to limits.h and standardize their definitions
      commit: dc323f3bee318514af9d7c6fed1e01c712bc71ae
[2/3] move limits for sNN/uNN types from kernel.h to limits.h
      commit: 0604595c16a6bf3c0aed131b80d1a25d5d74057d
[3/3] limits.h: provide all limit macros for standard [u]intNN_t types
      commit: dd260d95fd26deedc64f076b554759d09420f006
-- 
Tom




More information about the U-Boot mailing list