stdint: Add a definition of UINT8_MAX
authorSimon Glass <sjg@chromium.org>
Mon, 28 Feb 2022 19:08:32 +0000 (12:08 -0700)
committerTom Rini <trini@konsulko.com>
Wed, 6 Apr 2022 18:03:17 +0000 (14:03 -0400)
commit09bc3d2eacc31bd36ae092f8bc6795a8b9276192
tree6d9436446dd34560abadd0e38f0854c708ad35e4
parentb7463f198da65257a3e0308f920ff8b3631c955b
stdint: Add a definition of UINT8_MAX

This is normally defined in stdint.h but is not used in U-Boot. When
libraries (such as Chromium OS vboot) are built against U-Boot they may
expect this value to be available. Add it to avoid build errors in this
case.

Signed-off-by: Simon Glass <sjg@chromium.org>
include/stdint.h