Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
码匠许师傅
rt-thread
提交
ec6cb9f2
R
rt-thread
项目概览
码匠许师傅
/
rt-thread
与 Fork 源项目一致
Fork自
RT-Thread / rt-thread
通知
1
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
R
rt-thread
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
ec6cb9f2
编写于
5月 12, 2019
作者:
B
Bernard Xiong
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
[BSP][qemu-vexpress-a9] code cleaup for compiling warning.
上级
6e981106
变更
4
隐藏空白更改
内联
并排
Showing
4 changed file
with
6 addition
and
5 deletion
+6
-5
bsp/qemu-vexpress-a9/drivers/drv_sdio.c
bsp/qemu-vexpress-a9/drivers/drv_sdio.c
+1
-4
bsp/qemu-vexpress-a9/drivers/secondary_cpu.c
bsp/qemu-vexpress-a9/drivers/secondary_cpu.c
+2
-0
components/drivers/sdio/sd.c
components/drivers/sdio/sd.c
+1
-1
libcpu/arm/cortex-a/interrupt.h
libcpu/arm/cortex-a/interrupt.h
+2
-0
未找到文件。
bsp/qemu-vexpress-a9/drivers/drv_sdio.c
浏览文件 @
ec6cb9f2
...
...
@@ -440,14 +440,11 @@ int pl180_init(void)
sdhci
->
priv
=
pdat
;
write32
(
pdat
->
virt
+
PL180_POWER
,
0xbf
);
// rt_kprintf("power:0x%08x\n", read32(pdat->virt + PL180_POWER));
host
->
ops
=
&
ops
;
host
->
freq_min
=
400000
;
host
->
freq_max
=
50000000
;
host
->
valid_ocr
=
VDD_32_33
|
VDD_33_34
;
// host->flags = MMCSD_MUTBLKWRITE | MMCSD_SUP_HIGHSPEED | MMCSD_SUP_SDIO_IRQ | MMCSD_BUSWIDTH_4;
host
->
flags
=
MMCSD_MUTBLKWRITE
|
MMCSD_SUP_HIGHSPEED
|
MMCSD_SUP_SDIO_IRQ
;
host
->
flags
=
MMCSD_MUTBLKWRITE
|
MMCSD_SUP_HIGHSPEED
|
MMCSD_SUP_SDIO_IRQ
|
MMCSD_BUSWIDTH_4
;
host
->
max_seg_size
=
2048
;
host
->
max_dma_segs
=
10
;
host
->
max_blk_size
=
512
;
...
...
bsp/qemu-vexpress-a9/drivers/secondary_cpu.c
浏览文件 @
ec6cb9f2
...
...
@@ -17,6 +17,8 @@
#include "drv_timer.h"
#ifdef RT_USING_SMP
#include <interrupt.h>
static
void
rt_hw_timer2_isr
(
int
vector
,
void
*
param
)
{
rt_tick_increase
();
...
...
components/drivers/sdio/sd.c
浏览文件 @
ec6cb9f2
...
...
@@ -264,7 +264,7 @@ static rt_int32_t mmcsd_switch(struct rt_mmcsd_card *card)
if
((
buf
[
16
]
&
0xF
)
!=
1
)
{
LOG_
E
(
"switching card to high speed failed!"
);
LOG_
I
(
"switching card to high speed failed!"
);
goto
err
;
}
...
...
libcpu/arm/cortex-a/interrupt.h
浏览文件 @
ec6cb9f2
...
...
@@ -17,6 +17,8 @@
#define INT_IRQ 0x00
#define INT_FIQ 0x01
void
rt_hw_vector_init
(
void
);
void
rt_hw_interrupt_control
(
int
vector
,
int
priority
,
int
route
);
void
rt_hw_interrupt_init
(
void
);
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录