Nico Huber has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/33823 )
Change subject: src: Use standard <inttypes.h> ......................................................................
Patch Set 7:
- Adding all the standard types even if we don't use all of them increases the maintenance burden for naught. e.g. why add *int_fast*/*int_least* if nobody is ever going to use them?
It's taken verbatim from a project that maintains it, including a version string even for simple updates (yay CVS ;-) ), so I'm not seeing much of a maintenance issue unless we need to diverge from its upstream.
I was more thinking about what this may become if we can't use an exact copy. But it seems we can, with the following assumptions:
* Only the size of pointers and (unsigned) long int differs between our supported data models, and * pointers have the same size as long int.
But, if we make these assumptions, then we also don't need stdint.h to be arch specific :)