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, |
| 18 | BOOT_MODE_EXIT, |
| 19 | }; |
| 20 | |
Przemyslaw Marczak | a8da551 | 2014-01-22 11:24:17 +0100 | [diff] [blame] | 21 | void keys_init(void); |
| 22 | void check_boot_mode(void); |
| 23 | #endif /* CONFIG_LCD_MENU */ |
| 24 | |
Przemyslaw Marczak | 283a320 | 2014-01-22 11:24:12 +0100 | [diff] [blame] | 25 | #ifdef CONFIG_CMD_BMP |
| 26 | void draw_logo(void); |
| 27 | #endif |
| 28 | |
| 29 | #endif /* __SAMSUNG_MISC_COMMON_H__ */ |