lib: fdt: define INT32_MAX for in-barebox use
The upcoming v1.5.1 version of libfdt adds a dependency on the C99
INT32_MAX symbol.
This is ok for use in the host tool, but libfdt can also be embedded
into barebox, where it would fail as we don't define this anywhere.

Fix this by providing an appropriate definition.

Reported-by: Rouven Czerwinski <r.czerwinski@pengutronix.de>
Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent 24a8655 commit 00dc4d90b9486ffc443c66625c6c7e30514174f8
@Ahmad Fatoum Ahmad Fatoum authored on 1 Oct 2019
Sascha Hauer committed on 2 Oct 2019
Showing 1 changed file
View
include/linux/libfdt_env.h