summaryrefslogtreecommitdiff
path: root/src/drivers
diff options
context:
space:
mode:
Diffstat (limited to 'src/drivers')
-rw-r--r--src/drivers/i2c/max98390/max98390.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/drivers/i2c/max98390/max98390.c b/src/drivers/i2c/max98390/max98390.c
index 12c8c9da9d..9786e2bc13 100644
--- a/src/drivers/i2c/max98390/max98390.c
+++ b/src/drivers/i2c/max98390/max98390.c
@@ -6,6 +6,7 @@
#include <device/i2c.h>
#include <device/device.h>
#include <device/path.h>
+#include <identity.h>
#include <stdint.h>
#include <vendorcode/google/chromeos/chromeos.h>
#include "chip.h"
@@ -68,8 +69,8 @@ static void max98390_fill_ssdt(const struct device *dev)
dp = acpi_dp_new_table("_DSD");
size_t chars = snprintf(dsm_name, sizeof(dsm_name), "%s_%s_%s.bin",
- config->dsm_param_file_name, CONFIG_MAINBOARD_VENDOR,
- CONFIG_MAINBOARD_PART_NUMBER);
+ config->dsm_param_file_name, mainboard_vendor,
+ mainboard_part_number);
if (chars >= sizeof(dsm_name))
printk(BIOS_ERR, "String too long in %s\n", __func__);