9
0
Fork 0

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:
Jean-Christophe PLAGNIOL-VILLARD 2013-01-22 15:40:37 +01:00 committed by Sascha Hauer
parent 03939c0dfb
commit 172f44651c
1 changed files with 5 additions and 0 deletions

View File

@ -66,4 +66,9 @@ static inline int is_barebox_mips_head(const char *head)
}
#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 */