File tree Expand file tree Collapse file tree 4 files changed +6
-5
lines changed
bsp/qemu-vexpress-a9/drivers Expand file tree Collapse file tree 4 files changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -440,14 +440,11 @@ int pl180_init(void)
440440 sdhci -> priv = pdat ;
441441 write32 (pdat -> virt + PL180_POWER , 0xbf );
442442
443- // rt_kprintf("power:0x%08x\n", read32(pdat->virt + PL180_POWER));
444-
445443 host -> ops = & ops ;
446444 host -> freq_min = 400000 ;
447445 host -> freq_max = 50000000 ;
448446 host -> valid_ocr = VDD_32_33 | VDD_33_34 ;
449- // host->flags = MMCSD_MUTBLKWRITE | MMCSD_SUP_HIGHSPEED | MMCSD_SUP_SDIO_IRQ | MMCSD_BUSWIDTH_4;
450- host -> flags = MMCSD_MUTBLKWRITE | MMCSD_SUP_HIGHSPEED | MMCSD_SUP_SDIO_IRQ ;
447+ host -> flags = MMCSD_MUTBLKWRITE | MMCSD_SUP_HIGHSPEED | MMCSD_SUP_SDIO_IRQ | MMCSD_BUSWIDTH_4 ;
451448 host -> max_seg_size = 2048 ;
452449 host -> max_dma_segs = 10 ;
453450 host -> max_blk_size = 512 ;
Original file line number Diff line number Diff line change 1717#include "drv_timer.h"
1818
1919#ifdef RT_USING_SMP
20+ #include <interrupt.h>
21+
2022static void rt_hw_timer2_isr (int vector , void * param )
2123{
2224 rt_tick_increase ();
Original file line number Diff line number Diff line change @@ -264,7 +264,7 @@ static rt_int32_t mmcsd_switch(struct rt_mmcsd_card *card)
264264
265265 if ((buf [16 ] & 0xF ) != 1 )
266266 {
267- LOG_E ("switching card to high speed failed!" );
267+ LOG_I ("switching card to high speed failed!" );
268268 goto err ;
269269 }
270270
Original file line number Diff line number Diff line change 1717#define INT_IRQ 0x00
1818#define INT_FIQ 0x01
1919
20+ void rt_hw_vector_init (void );
21+
2022void rt_hw_interrupt_control (int vector , int priority , int route );
2123
2224void rt_hw_interrupt_init (void );
You can’t perform that action at this time.
0 commit comments