Skip to content

Commit

Permalink
haha, N800/N810 also use the musb controller, so no need for magic co…
Browse files Browse the repository at this point in the history
…de to handle them
  • Loading branch information
Youness Alaoui committed Sep 4, 2010
1 parent 8f1f529 commit 8344509
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 8 deletions.
16 changes: 8 additions & 8 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -25,14 +25,14 @@ N900: KDIR := ~/kernel-2.6.28/
N900:
$(MAKE) -C $(KDIR) M=$(PWD) EXTRA_CFLAGS="${EXTRA_CFLAGS}" EXTRAVERSION=-omap1 modules

n810: N810
N810:
@echo "Not yet supported"
n800: N800
N800:
@echo "Not yet supported"


n810: N8x0
N810: N8x0
n800: N8x0
N800: N8x0
N8x0: EXTRA_CFLAGS += -DENABLE_MUSB_CONTROLLER
N8x0: KDIR := /usr/src/kernel-source-diablo
N8x0:
$(MAKE) -C $(KDIR) M=$(PWD) EXTRA_CFLAGS="${EXTRA_CFLAGS}" EXTRAVERSION=-omap1 modules

clean:
rm -f *.o *~ core .depend .*.cmd *.ko *.mod.c
Expand Down
3 changes: 3 additions & 0 deletions psfreedom_machine.c
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@

#ifdef ENABLE_MUSB_CONTROLLER

/* Kernel 2.6.21 (N800/N900) needs this to compile */
#define MUSB_DEBUG 0

#include "../drivers/usb/musb/musb_core.h"
#include "../drivers/usb/musb/musb_gadget.h"

Expand Down

0 comments on commit 8344509

Please sign in to comment.