Marcin Bukat | 28d54c6 | 2010-04-26 21:40:16 +0000 | [diff] [blame] | 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 | |
Marcin Bukat | d130294 | 2010-11-15 20:42:58 +0000 | [diff] [blame] | 31 | /* Supported models */ |
| 32 | enum { |
| 33 | MODEL_UNKNOWN = -1, |
| 34 | MODEL_HD200 = 0, |
| 35 | MODEL_HD300, |
| 36 | |
| 37 | NUM_MODELS |
| 38 | }; |
| 39 | |
Marcin Bukat | 28d54c6 | 2010-04-26 21:40:16 +0000 | [diff] [blame] | 40 | int mkmpioboot(const char* infile, const char* bootfile, const char* outfile, int origin); |
| 41 | |
| 42 | #ifdef __cplusplus |
| 43 | } |
| 44 | #endif |
| 45 | #endif |
| 46 | |