filetype: add is_barebox_head
to detect if it's a barebox for the current running arch Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
This commit is contained in:
parent
03939c0dfb
commit
172f44651c
|
@ -66,4 +66,9 @@ static inline int is_barebox_mips_head(const char *head)
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
static inline int is_barebox_head(const char *head)
|
||||||
|
{
|
||||||
|
return is_barebox_arm_head(head) || is_barebox_mips_head(head);
|
||||||
|
}
|
||||||
|
|
||||||
#endif /* __FILE_TYPE_H */
|
#endif /* __FILE_TYPE_H */
|
||||||
|
|
Loading…
Reference in New Issue