cd and wp remove from kernel

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

cd and wp remove from kernel

Jump to solution
1,196 Views
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 .!!!

Labels (4)
0 Kudos
1 Solution
892 Views
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!!!

View solution in original post

0 Kudos
2 Replies
893 Views
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 Kudos
892 Views
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 Kudos