1 /******************************************************************************
3 * Filename: loader_prompt.h
5 * Definition of the interactive loader functions.
7 * Revision information:
9 * 20AUG2004 kb_admin initial creation
12 * No warranty, expressed or implied, is included with this software. It is
13 * provided "AS IS" and no warranty of any kind including statutory or aspects
14 * relating to merchantability or fitness for any purpose is provided. All
15 * intellectual property rights of others is maintained with the respective
16 * owners. This software is not copyrighted and is intended for reference
21 *****************************************************************************/
23 #ifndef _LOADER_PROMPT_H_
24 #define _LOADER_PROMPT_H_
26 #define MAX_INPUT_SIZE 256
27 #define MAX_COMMAND_PARAMS 10
44 COMMAND_LOAD_SPI_KERNEL,
45 COMMAND_REPLACE_KERNEL_VIA_XMODEM,
46 COMMAND_REPLACE_FLASH_VIA_XMODEM,
47 COMMAND_REPLACE_FPGA_VIA_XMODEM,
48 COMMAND_REPLACE_ID_EEPROM,
58 void EnterInteractiveBootloader(int(*inputFunction)(int));
59 void Bootloader(int(*inputFunction)(int));
62 #endif /* _LOADER_PROMPT_H_ */