]> git.dujemihanovic.xyz Git - u-boot.git/commit
fdt: Add INT32_MAX to kernel.h for libfdt
authorSimon Glass <sjg@chromium.org>
Sun, 27 Oct 2019 15:47:39 +0000 (09:47 -0600)
committerSimon Glass <sjg@chromium.org>
Tue, 5 Nov 2019 01:15:32 +0000 (18:15 -0700)
commit865989535038a2e5d11a18f2c3a67974f8328aee
tree3fd53f2e6abb869423c5af1c422960f19709d8d7
parent73b6e6ad254b36763419cdd3fdf406c0094517b7
fdt: Add INT32_MAX to kernel.h for libfdt

Unfortunately libfdt needs this value now, which is present in the
stdint.h header. That file is just a placeholder in U-Boot and these sorts
of constants appear in the linux/kernel.h header instead.

To keep libfdt happy, add INT32_MAX too.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Tom Rini <trini@konsulko.com>
include/linux/kernel.h
include/linux/libfdt_env.h