]> git.baikalelectronics.ru Git - uboot.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)
commit111c3fb963cc435b1db1885778479c1846aaf007
tree3fd53f2e6abb869423c5af1c422960f19709d8d7
parent830226adaf3e59e758dddd9bbe6a4c7c9b3c1f40
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