brcmutil: add helper function to format board revision
The board revision that is available in hardware can be translated so it matches the labelling on the board. This is accomplished by this helper function. Reviewed-by: Hante Meuleman <meuleman@broadcom.com> Reviewed-by: Pieter-Paul Giesberts <pieterpg@broadcom.com> Signed-off-by: Arend van Spriel <arend@broadcom.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:
parent
87dd2d76a9
commit
56f0b750fc
2 changed files with 18 additions and 0 deletions
|
@ -218,4 +218,6 @@ void brcmu_dbg_hex_dump(const void *data, size_t size, const char *fmt, ...)
|
|||
}
|
||||
#endif
|
||||
|
||||
char *brcmu_boardrev_str(u32 brev, char *buf);
|
||||
|
||||
#endif /* _BRCMU_UTILS_H_ */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue