mirror of
https://github.com/genodelabs/genode.git
synced 2025-02-20 17:52:52 +00:00
dde_linux: USB SOF IRQ filter for Raspberry Pi
This commit is contained in:
parent
58a1e42201
commit
85362ba0b9
@ -1 +1 @@
|
||||
c7aac790191e7e38e4fcbbc52f3c4abfad4b345e
|
||||
9d0720c26d3b4d92101bbc115d5ae3d73975d2b9
|
||||
|
@ -31,7 +31,7 @@ HASH_INPUT += $(REP_DIR)/lxip_header.list
|
||||
# Raspberry Pi USB controller
|
||||
#
|
||||
URL(dwc_otg) := https://github.com/nfeske/dwc_otg.git
|
||||
REV(dwc_otg) := r1
|
||||
REV(dwc_otg) := r2
|
||||
DIR(dwc_otg) := $(SRC_DIR)/drivers/usb/host/dwc_otg
|
||||
|
||||
PATCHES := patches/*.patch
|
||||
|
@ -129,10 +129,6 @@ DUMMY(-1, printk_once);
|
||||
** Prevent use of FIQ fix, need to resolve FIQ-related symbols anyway **
|
||||
************************************************************************/
|
||||
|
||||
int fiq_fix_enable = false;
|
||||
|
||||
extern int fiq_split_enable;
|
||||
|
||||
void local_fiq_disable() { }
|
||||
void local_fiq_enable() { }
|
||||
int claim_fiq(struct fiq_handler *f) { return 0; }
|
||||
@ -142,6 +138,14 @@ void enable_fiq() { }
|
||||
|
||||
void __FIQ_Branch(unsigned long *regs) { TRACE; }
|
||||
|
||||
extern "C" int fiq_fsm_too_late(struct fiq_state *st, int n) { TRACE; return 0; }
|
||||
extern "C" void dwc_otg_fiq_nop(struct fiq_state *state) { TRACE; }
|
||||
extern "C" void dwc_otg_fiq_fsm(struct fiq_state *state, int num_channels) { TRACE; }
|
||||
|
||||
unsigned char _dwc_otg_fiq_stub, _dwc_otg_fiq_stub_end;
|
||||
|
||||
extern int fiq_enable, fiq_fsm_enable;
|
||||
|
||||
|
||||
/***********************
|
||||
** linux/workqueue.h **
|
||||
@ -197,8 +201,9 @@ void platform_hcd_init(Services *services)
|
||||
module_smsc95xx_driver_init();
|
||||
}
|
||||
|
||||
/* disable split-enable fix, otherwise, fiq_fix will be implied */
|
||||
fiq_split_enable = false;
|
||||
/* disable fiq optimization */
|
||||
fiq_enable = false;
|
||||
fiq_fsm_enable = false;
|
||||
|
||||
bool const verbose = false;
|
||||
if (verbose)
|
||||
|
@ -80,6 +80,7 @@ void print_hex_dump(const char *level, const char *prefix_str,
|
||||
int prefix_type, int rowsize, int groupsize,
|
||||
const void *buf, size_t len, bool ascii) { TRACE; }
|
||||
int printk_ratelimit() { TRACE; return 0; }
|
||||
int printk_ratelimited() { TRACE; return 0; }
|
||||
bool printk_timed_ratelimit(unsigned long *caller_jiffies,
|
||||
unsigned int interval_msec) { TRACE; return false; }
|
||||
|
||||
|
@ -249,6 +249,11 @@ typedef uint8_t u_int8_t;
|
||||
typedef uint16_t u_int16_t;
|
||||
typedef uint32_t u_int32_t;
|
||||
|
||||
/*
|
||||
* Needed by 'dwc_otg/dwc_otg/dwc_otg_fiq_fsm.h'
|
||||
*/
|
||||
typedef unsigned short ushort;
|
||||
|
||||
|
||||
#define DIV_ROUND_UP(n,d) (((n) + (d) - 1) / (d))
|
||||
#define BITS_TO_LONGS(nr) DIV_ROUND_UP(nr, 8 * sizeof(long))
|
||||
@ -689,6 +694,7 @@ void print_hex_dump(const char *level, const char *prefix_str,
|
||||
#define pr_warn pr_warning
|
||||
|
||||
bool printk_ratelimit();
|
||||
bool printk_ratelimited();
|
||||
bool printk_timed_ratelimit(unsigned long *, unsigned int);
|
||||
|
||||
struct va_format
|
||||
@ -3859,6 +3865,7 @@ struct pt_regs { unsigned long dummy; };
|
||||
#define ARM_r8 dummy
|
||||
#define ARM_r9 dummy
|
||||
#define ARM_sp dummy
|
||||
#define ARM_fp dummy
|
||||
|
||||
|
||||
/************************
|
||||
|
Loading…
x
Reference in New Issue
Block a user