blob: 89546a1cbcc05461b9bb2f24149ee2f7decb9b6f [file] [log] [blame]
Przemyslaw Marczak283a3202014-01-22 11:24:12 +01001#ifndef __SAMSUNG_MISC_COMMON_H__
2#define __SAMSUNG_MISC_COMMON_H__
3
Piotr Wilczek1b5c7662014-01-22 15:54:32 +01004#ifdef CONFIG_REVISION_TAG
5u32 get_board_rev(void);
6#endif
7
8#ifdef CONFIG_ENV_VARS_UBOOT_RUNTIME_CONFIG
9void set_board_info(void);
10#endif
11
Przemyslaw Marczak283a3202014-01-22 11:24:12 +010012#ifdef CONFIG_CMD_BMP
13void draw_logo(void);
14#endif
15
Przemyslaw Marczakfa9566f2014-09-01 13:50:46 +020016#ifdef CONFIG_SET_DFU_ALT_INFO
Przemyslaw Marczakd0dd6092015-02-17 12:24:11 +010017char *get_dfu_alt_system(char *interface, char *devstr);
18char *get_dfu_alt_boot(char *interface, char *devstr);
Przemyslaw Marczakfa9566f2014-09-01 13:50:46 +020019#endif
Przemyslaw Marczak4d2a92c2014-09-01 13:50:49 +020020void set_board_type(void);
Krzysztof Kozlowski36476ee2019-03-06 19:37:51 +010021void set_board_revision(void);
Przemyslaw Marczak4d2a92c2014-09-01 13:50:49 +020022const char *get_board_type(void);
Przemyslaw Marczakfa9566f2014-09-01 13:50:46 +020023
Przemyslaw Marczak283a3202014-01-22 11:24:12 +010024#endif /* __SAMSUNG_MISC_COMMON_H__ */