blob: 9a6eee337b146f44e0c5be4ea6d4c8c4f83aab9c [file] [log] [blame]
Daniel Stenberg86bff1c2006-08-03 20:18:31 +00001/***************************************************************************
2 * __________ __ ___.
3 * Open \______ \ ____ ____ | | _\_ |__ _______ ___
4 * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
5 * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
6 * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
7 * \/ \/ \/ \/ \/
8 * $Id$
9 *
10 * Copyright (C) 2006 by Barry Wardell
11 *
Daniel Stenberg2acc0ac2008-06-28 18:10:04 +000012 * This program is free software; you can redistribute it and/or
13 * modify it under the terms of the GNU General Public License
14 * as published by the Free Software Foundation; either version 2
15 * of the License, or (at your option) any later version.
Daniel Stenberg86bff1c2006-08-03 20:18:31 +000016 *
17 * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
18 * KIND, either express or implied.
19 *
20 ****************************************************************************/
Tomasz Malesinski29d8b912006-11-10 07:43:36 +000021#include "config.h"
22#include "cpu.h"
23#include "kernel.h"
24#include "thread.h"
25#include "system.h"
26#include "debug.h"
27#include "ata.h"
28#include "fat.h"
29#include "disk.h"
30#include "panic.h"
31#include "lcd.h"
32#include "adc.h"
33#include "usb.h"
34#include "button.h"
35#include "sprintf.h"
36#include "string.h"
Daniel Stenberg86bff1c2006-08-03 20:18:31 +000037
Tomasz Malesinski29d8b912006-11-10 07:43:36 +000038void usb_init_device(void)
39{
40}
Daniel Stenberg86bff1c2006-08-03 20:18:31 +000041
Dave Chapman16723502007-09-04 08:03:07 +000042int usb_detect(void)
Tomasz Malesinski29d8b912006-11-10 07:43:36 +000043{
44 /* TODO: Implement USB_ISP1582 */
Dave Chapman16723502007-09-04 08:03:07 +000045 return USB_EXTRACTED;
Tomasz Malesinski29d8b912006-11-10 07:43:36 +000046}
47
48void usb_enable(bool on)
49{
50 /* TODO: Implement USB_ISP1582 */
51 (void)on;
52}