ARM: boot: Add an implementation of strnlen for libfdt
Recent versions of libfdt add a dependency on strnlen. Copy the implementation in lib/string.c here, so we can update libfdt. Acked-by: NRussell King <rmk+kernel@arm.linux.org.uk> Signed-off-by: NRob Herring <robh@kernel.org>
Showing
想要评论请 注册 或 登录