diff options
Diffstat (limited to 'utils/mkmpioboot/mkmpioboot.h')
-rw-r--r-- | utils/mkmpioboot/mkmpioboot.h | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/utils/mkmpioboot/mkmpioboot.h b/utils/mkmpioboot/mkmpioboot.h new file mode 100644 index 0000000000..4828ac953e --- /dev/null +++ b/utils/mkmpioboot/mkmpioboot.h | |||
@@ -0,0 +1,46 @@ | |||
1 | /*************************************************************************** | ||
2 | * __________ __ ___. | ||
3 | * Open \______ \ ____ ____ | | _\_ |__ _______ ___ | ||
4 | * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ / | ||
5 | * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < < | ||
6 | * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \ | ||
7 | * \/ \/ \/ \/ \/ | ||
8 | * $Id:$ | ||
9 | * | ||
10 | * Copyright (C) 2010 by Marcin Bukat | ||
11 | * code based mainly on mkboot.h | ||
12 | * Copyright (C) 2008 by Dominik Riebeling | ||
13 | * | ||
14 | * This program is free software; you can redistribute it and/or | ||
15 | * modify it under the terms of the GNU General Public License | ||
16 | * as published by the Free Software Foundation; either version 2 | ||
17 | * of the License, or (at your option) any later version. | ||
18 | * | ||
19 | * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY | ||
20 | * KIND, either express or implied. | ||
21 | * | ||
22 | ****************************************************************************/ | ||
23 | |||
24 | #ifndef MKMPIOBOOT_H | ||
25 | #define MKMPIOBOOT_H | ||
26 | |||
27 | #ifdef __cplusplus | ||
28 | extern "C" { | ||
29 | #endif | ||
30 | |||
31 | /* Supported models */ | ||
32 | enum { | ||
33 | MODEL_UNKNOWN = -1, | ||
34 | MODEL_HD200 = 0, | ||
35 | MODEL_HD300, | ||
36 | |||
37 | NUM_MODELS | ||
38 | }; | ||
39 | |||
40 | int mkmpioboot(const char* infile, const char* bootfile, const char* outfile, int origin); | ||
41 | |||
42 | #ifdef __cplusplus | ||
43 | } | ||
44 | #endif | ||
45 | #endif | ||
46 | |||