recovery: update is modified to support various image
[kernel/u-boot.git] / recovery / recovery.h
1 /*
2  * Copyright (C) 2010 Samsung Electronics
3  * Sanghee Kim <sh0130.kim@samsung.com>
4  *
5  * Common header for Recovery Block
6  */
7
8 #ifndef _RECOVERY_H
9 #define _RECOVERY_H
10
11 #define DEBUG_MARK      "Recovery: "
12
13 /* board/.../... */
14
15 int board_check_condition(void);
16 int board_load_bootloader(unsigned char *buf);
17 int board_lock_recoveryblock(void);
18 void board_update_init(void);
19 int board_update_image(u32 *buf, u32 len);
20 void board_recovery_init(void);
21
22 #endif