1 /* SPDX-License-Identifier: GPL-2.0-or-later */
3 #include <baseboard/variants.h>
4 #include <device/device.h>
5 #include <soc/pci_devs.h>
6 #include <ec/google/chromeec/ec.h>
8 void variant_devtree_update(void)
11 * Enable eMMC if eMMC bit is set in FW_CONFIG or device is unprovisioned.
13 if (!(variant_has_emmc() || boot_is_factory_unprovisioned()))
14 DEV_PTR(emmc
)->enabled
= 0;