File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed 
src/mainboard/lenovo/m900_tiny Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 11/* SPDX-License-Identifier: GPL-2.0-only */ 
22
33#include  <console/console.h> 
4+ #include  <dasharo/options.h> 
45#include  <device/device.h> 
56#include  <device/pci_def.h> 
67#include  <drivers/intel/gma/int15.h> 
@@ -51,7 +52,7 @@ static void devtree_update(void)
5152	struct  device  * ssd_dev  =  DEV_PTR (pcie_rp17 );
5253	struct  device  * ps2_dev  =  dev_find_slot_pnp (0x2e , NCT6687D_KBC );
5354
54- 	if  (get_uint_option ("wifi_slot_enable" , 1 ) ==  0 ) {
55+ 	if  (get_uint_option ("wifi_slot_enable" , get_wireless_option () ) ==  0 ) {
5556		cfg -> usb2_ports [8 ].enable  =  0 ;
5657		wifi_dev -> enabled  =  0 ;
5758	}
@@ -66,7 +67,7 @@ static void devtree_update(void)
6667		cfg -> SataPortsEnable [1 ] =  0 ;
6768	}
6869
69- 	if  (get_uint_option ("ps2_enable" , 1 ) ==  0 )
70+ 	if  (get_uint_option ("ps2_enable" , get_ps2_option () ) ==  0 )
7071		ps2_dev -> enabled  =  0 ;
7172}
7273
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments