mb/google/octopus/var/fleex: Add ssfc codec cs42l42 support

Add cs42l42 codec support in fleex.

BUG=b:184103445
TEST=boot to check cs42l42 is functional.

Signed-off-by: Eric Lai <ericr_lai@compal.corp-partner.google.com>
Change-Id: I1571003f8b272a573e6ab9fb525f17659bae8c4c
Reviewed-on: https://review.coreboot.org/c/coreboot/+/52363
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Karthik Ramasubramanian <kramasub@google.com>
diff --git a/src/mainboard/google/octopus/mainboard.c b/src/mainboard/google/octopus/mainboard.c
index 5bf87e23..65bf286 100644
--- a/src/mainboard/google/octopus/mainboard.c
+++ b/src/mainboard/google/octopus/mainboard.c
@@ -25,6 +25,7 @@
 #include <variant/gpio.h>
 
 extern struct chip_operations drivers_i2c_generic_ops;
+extern struct chip_operations drivers_i2c_cs42l42_ops;
 extern struct chip_operations drivers_i2c_da7219_ops;
 
 static bool is_cnvi_held_in_reset(void)
@@ -201,6 +202,13 @@
 				continue;
 			}
 		}
+
+		if ((audio_dev->chip_ops == &drivers_i2c_cs42l42_ops) &&
+			(codec == SSFC_AUDIO_CODEC_CS42L42)) {
+			printk(BIOS_INFO, "enable CS42L42.\n");
+			continue;
+		}
+
 		printk(BIOS_INFO, "%s has been disabled\n", audio_dev->chip_ops->name);
 		audio_dev->enabled = 0;
 	}