Przemyslaw Marczak | 283a320 | 2014-01-22 11:24:12 +0100 | [diff] [blame] | 1 | #ifndef __SAMSUNG_MISC_COMMON_H__ |
| 2 | #define __SAMSUNG_MISC_COMMON_H__ |
| 3 | |
Piotr Wilczek | 1b5c766 | 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 | a8da551 | 2014-01-22 11:24:17 +0100 | [diff] [blame] | 12 | #ifdef CONFIG_LCD_MENU |
| 13 | enum { |
| 14 | BOOT_MODE_INFO, |
| 15 | BOOT_MODE_THOR, |
| 16 | BOOT_MODE_UMS, |
| 17 | BOOT_MODE_DFU, |
Przemyslaw Marczak | 713f223 | 2014-04-30 13:28:07 +0200 | [diff] [blame] | 18 | BOOT_MODE_GPT, |
Inha Song | 88bc5f7 | 2014-04-30 13:28:08 +0200 | [diff] [blame] | 19 | BOOT_MODE_ENV, |
Przemyslaw Marczak | a8da551 | 2014-01-22 11:24:17 +0100 | [diff] [blame] | 20 | BOOT_MODE_EXIT, |
| 21 | }; |
| 22 | |
Przemyslaw Marczak | a8da551 | 2014-01-22 11:24:17 +0100 | [diff] [blame] | 23 | void keys_init(void); |
| 24 | void check_boot_mode(void); |
| 25 | #endif /* CONFIG_LCD_MENU */ |
| 26 | |
Przemyslaw Marczak | 283a320 | 2014-01-22 11:24:12 +0100 | [diff] [blame] | 27 | #ifdef CONFIG_CMD_BMP |
| 28 | void draw_logo(void); |
| 29 | #endif |
| 30 | |
Przemyslaw Marczak | fa9566f | 2014-09-01 13:50:46 +0200 | [diff] [blame] | 31 | #ifdef CONFIG_SET_DFU_ALT_INFO |
Przemyslaw Marczak | d0dd609 | 2015-02-17 12:24:11 +0100 | [diff] [blame] | 32 | char *get_dfu_alt_system(char *interface, char *devstr); |
| 33 | char *get_dfu_alt_boot(char *interface, char *devstr); |
Przemyslaw Marczak | fa9566f | 2014-09-01 13:50:46 +0200 | [diff] [blame] | 34 | #endif |
Przemyslaw Marczak | 4d2a92c | 2014-09-01 13:50:49 +0200 | [diff] [blame] | 35 | #ifdef CONFIG_BOARD_TYPES |
| 36 | void set_board_type(void); |
| 37 | const char *get_board_type(void); |
| 38 | #endif |
Przemyslaw Marczak | fa9566f | 2014-09-01 13:50:46 +0200 | [diff] [blame] | 39 | |
Przemyslaw Marczak | 283a320 | 2014-01-22 11:24:12 +0100 | [diff] [blame] | 40 | #endif /* __SAMSUNG_MISC_COMMON_H__ */ |