summaryrefslogtreecommitdiff
path: root/src/mainboard/starlabs/starbook/variants/rpl/devtree.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainboard/starlabs/starbook/variants/rpl/devtree.c')
-rw-r--r--src/mainboard/starlabs/starbook/variants/rpl/devtree.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/mainboard/starlabs/starbook/variants/rpl/devtree.c b/src/mainboard/starlabs/starbook/variants/rpl/devtree.c
index 4c1f3cada9..f645f7cc35 100644
--- a/src/mainboard/starlabs/starbook/variants/rpl/devtree.c
+++ b/src/mainboard/starlabs/starbook/variants/rpl/devtree.c
@@ -58,6 +58,14 @@ void devtree_update(void)
if (get_uint_option("webcam", 1) == 0)
cfg->usb2_ports[CONFIG_CCD_PORT].enable = 0;
+ /* Enable/Disable Fingerprint Reader based on CMOS Settings */
+ if (get_uint_option("fingerprint_reader", 1) == 0)
+ cfg->usb2_ports[5].enable = 0;
+
+ /* Enable/Disable Card Reader based on CMOS Settings */
+ if (get_uint_option("card_reader", 1) == 0)
+ cfg->usb2_ports[3].enable = 0;
+
/* Enable/Disable Thunderbolt based on CMOS settings */
if (get_uint_option("thunderbolt", 1) == 0) {
tbt_pci_dev->enabled = 0;