arm: socfpga: Fix bootcounter located at the end of internal SRAM
[oweals/u-boot.git] / include / samsung / misc.h
1 #ifndef __SAMSUNG_MISC_COMMON_H__
2 #define __SAMSUNG_MISC_COMMON_H__
3
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
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_GPT,
19         BOOT_MODE_ENV,
20         BOOT_MODE_EXIT,
21 };
22
23 void keys_init(void);
24 void check_boot_mode(void);
25 #endif /* CONFIG_LCD_MENU */
26
27 #ifdef CONFIG_CMD_BMP
28 void draw_logo(void);
29 #endif
30
31 #ifdef CONFIG_SET_DFU_ALT_INFO
32 char *get_dfu_alt_system(char *interface, char *devstr);
33 char *get_dfu_alt_boot(char *interface, char *devstr);
34 #endif
35 #ifdef CONFIG_BOARD_TYPES
36 void set_board_type(void);
37 const char *get_board_type(void);
38 #endif
39
40 #endif /* __SAMSUNG_MISC_COMMON_H__ */