mirror of
https://github.com/u-boot/u-boot.git
synced 2024-11-25 21:24:21 +08:00
09bc3d2eac
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>
15 lines
314 B
C
15 lines
314 B
C
/* SPDX-License-Identifier: GPL-2.0+ */
|
|
/*
|
|
* Dummy file to allow libraries linked with U-Boot to include stdint.h without
|
|
* getting the system version.
|
|
*
|
|
* U-Boot uses linux types (linux/types.h) so does not make use of stdint.h
|
|
*/
|
|
|
|
#ifndef __UB_STDINT_H
|
|
#define __UB_STDINT_H
|
|
|
|
#define UINT8_MAX 0xff
|
|
|
|
#endif
|