cd and wp remove from kernel

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

cd and wp remove from kernel

跳至解决方案
3,170 次查看
venkatachilakal
Contributor III

Hello All,

Can any one help how to remove the cd and wp pin logic from kernel. 

As I am using a similar design of SABRE SD board except the cd and wp pins. 

I have did the changes in u-boot and is working fine. But, I need to do the same in kernel also. 

Kernel Version :: 3.14.28 

Please help me .!!!

标签 (4)
0 项奖励
回复
1 解答
2,866 次查看
venkatachilakal
Contributor III

Its very simple 

Find the kernel Source Code .

Navigate to the arch/<architecture type >/boot/dts 

Find your board's device tree file and there keep the below settings in your usdhc block

broken-cd;
disable-wp;

Thats Its!!!

在原帖中查看解决方案

0 项奖励
回复
2 回复数
2,867 次查看
venkatachilakal
Contributor III

Its very simple 

Find the kernel Source Code .

Navigate to the arch/<architecture type >/boot/dts 

Find your board's device tree file and there keep the below settings in your usdhc block

broken-cd;
disable-wp;

Thats Its!!!

0 项奖励
回复
2,858 次查看
igorpadykov
NXP Employee
NXP Employee

Hi VENKATA

for kernel cd and wp pin logic please check sect.32.2.3 Devicetree Binding

attached Linux Manual.

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 项奖励
回复