add new dfboot loader - a complete revison of romboot code.
[openwrt/staging/florian.git] / target / linux / at91-2.6 / image / dfboot / src / com.h
1 /*----------------------------------------------------------------------------
2 * ATMEL Microcontroller Software Support - ROUSSET -
3 *----------------------------------------------------------------------------
4 * The software is delivered "AS IS" without warranty or condition of any
5 * kind, either express, implied or statutory. This includes without
6 * limitation any warranty or condition with respect to merchantability or
7 * fitness for any particular purpose, or against the infringements of
8 * intellectual property rights of others.
9 *----------------------------------------------------------------------------
10 * File Name : com.h
11 * Object :
12 *
13 * 1.0 27/03/03 HIi : Creation
14 *----------------------------------------------------------------------------
15 */
16 #ifndef com_h
17 #define com_h
18
19 #define AT91C_CB_SIZE 20 /* size of the console buffer */
20
21 /* Escape sequences */
22 #define ESC \033
23
24 extern int AT91F_ReadLine (const char *const prompt, char *console_buffer);
25 extern void AT91F_WaitKeyPressed(void);
26
27 #endif
28