Przemyslaw Marczak | 679549d | 2014-01-22 11:24:12 +0100 | [diff] [blame] | 1 | #ifndef __SAMSUNG_MISC_COMMON_H__ |
| 2 | #define __SAMSUNG_MISC_COMMON_H__ |
| 3 | |
Piotr Wilczek | eee2fab | 2014-01-22 15:54:32 +0100 | [diff] [blame] | 4 | #ifdef CONFIG_REVISION_TAG |
| 5 | u32 get_board_rev(void); |
| 6 | #endif |
| 7 | |
| 8 | #ifdef CONFIG_ENV_VARS_UBOOT_RUNTIME_CONFIG |
| 9 | void set_board_info(void); |
| 10 | #endif |
| 11 | |
Przemyslaw Marczak | 679549d | 2014-01-22 11:24:12 +0100 | [diff] [blame] | 12 | #ifdef CONFIG_CMD_BMP |
| 13 | void draw_logo(void); |
| 14 | #endif |
| 15 | |
Przemyslaw Marczak | 1d07c10 | 2014-09-01 13:50:46 +0200 | [diff] [blame] | 16 | #ifdef CONFIG_SET_DFU_ALT_INFO |
Przemyslaw Marczak | 899a528 | 2015-02-17 12:24:11 +0100 | [diff] [blame] | 17 | char *get_dfu_alt_system(char *interface, char *devstr); |
| 18 | char *get_dfu_alt_boot(char *interface, char *devstr); |
Przemyslaw Marczak | 1d07c10 | 2014-09-01 13:50:46 +0200 | [diff] [blame] | 19 | #endif |
Przemyslaw Marczak | d50c41e | 2014-09-01 13:50:49 +0200 | [diff] [blame] | 20 | void set_board_type(void); |
Krzysztof Kozlowski | e3ee4be | 2019-03-06 19:37:51 +0100 | [diff] [blame] | 21 | void set_board_revision(void); |
Przemyslaw Marczak | d50c41e | 2014-09-01 13:50:49 +0200 | [diff] [blame] | 22 | const char *get_board_type(void); |
Przemyslaw Marczak | 1d07c10 | 2014-09-01 13:50:46 +0200 | [diff] [blame] | 23 | |
Przemyslaw Marczak | 679549d | 2014-01-22 11:24:12 +0100 | [diff] [blame] | 24 | #endif /* __SAMSUNG_MISC_COMMON_H__ */ |