From 79d2f079aa21e1ebf64560cb040056612e147ae3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Markus=20Fr=C3=B6schle?= Date: Thu, 2 May 2013 05:24:16 +0000 Subject: [PATCH] removed setting of _drvbits (does not work anyway) --- sources/xhdi_sd.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/sources/xhdi_sd.c b/sources/xhdi_sd.c index f1a17be..6c8cf72 100644 --- a/sources/xhdi_sd.c +++ b/sources/xhdi_sd.c @@ -34,7 +34,6 @@ static xhdi_call_fun old_vector = NULL; __attribute__((__interrupt__)) xhdi_call_fun xhdi_sd_install(xhdi_call_fun ov) { old_vector = ov; - uint32_t *_drvbits = (uint32_t *) 0x4c2; /* THIS does not work: return (xhdi_call_fun) &xhdi_call; */ __asm__ __volatile__ ( @@ -44,8 +43,6 @@ __attribute__((__interrupt__)) xhdi_call_fun xhdi_sd_install(xhdi_call_fun ov) : [xhdi_call]"g"(xhdi_call) : "d1","memory"); - *_drvbits |= (1 << ('S' - 'A')); - return (xhdi_call_fun) xhdi_call; }