Fixed red build
[kugel-rb.git] / firmware / hwcompat.h
blob2a5be147ea91442ae6f1569d5fc3ed4b4ccddb30
1 /***************************************************************************
2 * __________ __ ___.
3 * Open \______ \ ____ ____ | | _\_ |__ _______ ___
4 * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
5 * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
6 * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
7 * \/ \/ \/ \/ \/
8 * $Id$
10 * Copyright (C) 2002 by Linus Nielsen Feltzing
12 * All files in this archive are subject to the GNU General Public License.
13 * See the file COPYING in the source tree root for full license agreement.
15 * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
16 * KIND, either express or implied.
18 ****************************************************************************/
19 #ifndef HWCOMPAT_H
20 #define HWCOMPAT_H
22 #include <stdbool.h>
23 #include "config.h"
25 /* Bit mask values for HW compatibility */
26 #define ATA_ADDRESS_300 0x0100
27 #define USB_ACTIVE_HIGH 0x0100
28 #define PR_ACTIVE_HIGH 0x0100
30 int read_rom_version(void);
31 int read_hw_mask(void);
33 #ifdef HAVE_LCD_CHARCELLS
34 bool has_new_lcd(void);
35 #endif
37 #endif