Revert "ec/dell/mec5035: Hook up radio enables to option API"

This reverts commit bb5fa6419d.

Reason for revert: accidentally committed out of order; reverting to
unbreak tree

Change-Id: I36aa1fd3a0befe49b7e9e34198676f16fb08cf73
Signed-off-by: Matt DeVillier <matt.devillier@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/78524
Reviewed-by: Martin L Roth <gaumless@gmail.com>
Tested-by: Martin L Roth <gaumless@gmail.com>
This commit is contained in:
Matt DeVillier
2023-10-20 17:10:45 +00:00
committed by Martin L Roth
parent bb5fa6419d
commit 8ea8940e39

View File

@@ -4,7 +4,6 @@
#include <console/console.h> #include <console/console.h>
#include <device/device.h> #include <device/device.h>
#include <device/pnp.h> #include <device/pnp.h>
#include <option.h>
#include <pc80/keyboard.h> #include <pc80/keyboard.h>
#include <stdint.h> #include <stdint.h>
#include "mec5035.h" #include "mec5035.h"
@@ -100,10 +99,6 @@ static void mec5035_init(struct device *dev)
mec5035_mouse_touchpad(TP_PS2_MOUSE); mec5035_mouse_touchpad(TP_PS2_MOUSE);
pc_keyboard_init(NO_AUX_DEVICE); pc_keyboard_init(NO_AUX_DEVICE);
mec5035_radio_enable(RADIO_WLAN, get_uint_option("wlan", 1));
mec5035_radio_enable(RADIO_WWAN, get_uint_option("wwan", 1));
mec5035_radio_enable(RADIO_WPAN, get_uint_option("bluetooth", 1));
} }
static struct device_operations ops = { static struct device_operations ops = {