]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - common/ft_build.c
[PCS440EP] - The DIAG LEDs are now blinking, if an error occur
[people/ms/u-boot.git] / common / ft_build.c
index 980e40f55d55f639219775c120a125e17804dd09..5a0575e89aa4036a6b1af7bf82d01c9426669a19 100644 (file)
@@ -29,6 +29,7 @@
 #include <stddef.h>
 
 #include <ft_build.h>
+#include <linux/ctype.h>
 
 #undef DEBUG
 
@@ -180,11 +181,6 @@ void ft_finalize_tree(struct ft_cxt *cxt) {
        bph->dt_strings_size = cxt->p_end - cxt->p;
 }
 
-static inline int isprint(int c)
-{
-       return c >= 0x20 && c <= 0x7e;
-}
-
 static int is_printable_string(const void *data, int len)
 {
        const char *s = data;