mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-07-11 13:46:17 +09:00
![Przemyslaw Marczak](/assets/img/avatar_default.png)
This menu option allows restore gpt. This is usefull and no needs access to the u-boot console. For proper operation: - each partition uuid should be set in environment or - CONFIG_RANDOM_UUID should be defined for automatically uuid setting After operation success device is going to be reset. Signed-off-by: Przemyslaw Marczak <p.marczak@samsung.com> Cc: Minkyu Kang <mk7.kang@samsung.com> Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
31 lines
512 B
C
31 lines
512 B
C
#ifndef __SAMSUNG_MISC_COMMON_H__
|
|
#define __SAMSUNG_MISC_COMMON_H__
|
|
|
|
#ifdef CONFIG_REVISION_TAG
|
|
u32 get_board_rev(void);
|
|
#endif
|
|
|
|
#ifdef CONFIG_ENV_VARS_UBOOT_RUNTIME_CONFIG
|
|
void set_board_info(void);
|
|
#endif
|
|
|
|
#ifdef CONFIG_LCD_MENU
|
|
enum {
|
|
BOOT_MODE_INFO,
|
|
BOOT_MODE_THOR,
|
|
BOOT_MODE_UMS,
|
|
BOOT_MODE_DFU,
|
|
BOOT_MODE_GPT,
|
|
BOOT_MODE_EXIT,
|
|
};
|
|
|
|
void keys_init(void);
|
|
void check_boot_mode(void);
|
|
#endif /* CONFIG_LCD_MENU */
|
|
|
|
#ifdef CONFIG_CMD_BMP
|
|
void draw_logo(void);
|
|
#endif
|
|
|
|
#endif /* __SAMSUNG_MISC_COMMON_H__ */
|