blob: c3d844bc109c03ab99272a2c4b0d4856a59b0b6f [file] [log] [blame]
Przemyslaw Marczak679549d2014-01-22 11:24:12 +01001#ifndef __SAMSUNG_MISC_COMMON_H__
2#define __SAMSUNG_MISC_COMMON_H__
3
Piotr Wilczekeee2fab2014-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 Marczak9d29a682014-01-22 11:24:17 +010012#ifdef CONFIG_LCD_MENU
13enum {
14 BOOT_MODE_INFO,
15 BOOT_MODE_THOR,
16 BOOT_MODE_UMS,
17 BOOT_MODE_DFU,
Przemyslaw Marczak5c7b8a32014-04-30 13:28:07 +020018 BOOT_MODE_GPT,
Przemyslaw Marczak9d29a682014-01-22 11:24:17 +010019 BOOT_MODE_EXIT,
20};
21
Przemyslaw Marczak9d29a682014-01-22 11:24:17 +010022void keys_init(void);
23void check_boot_mode(void);
24#endif /* CONFIG_LCD_MENU */
25
Przemyslaw Marczak679549d2014-01-22 11:24:12 +010026#ifdef CONFIG_CMD_BMP
27void draw_logo(void);
28#endif
29
30#endif /* __SAMSUNG_MISC_COMMON_H__ */