mb/dell/optiplex_9010: Fix chassis types

Discovered this chassis identification number on Dell Precision
T1650 which is much OptiPlex 9010 alike. Precision T1650 is a Mid
Tower (MT) chassis.

Signed-off-by: Michał Żygowski <michal.zygowski@3mdeb.com>
Change-Id: I2266fe39606b947a3d30a9462377fd56c39c2fa7
Reviewed-on: https://review.coreboot.org/c/coreboot/+/62209
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Martin Roth <martinroth@google.com>
This commit is contained in:
Michał Żygowski 2022-02-20 23:17:19 +01:00
parent f7c268c253
commit 0e545b252d
2 changed files with 2 additions and 4 deletions

View File

@ -64,16 +64,13 @@ static void mainboard_enable(struct device *dev)
printk(BIOS_DEBUG, "Chassis type: "); printk(BIOS_DEBUG, "Chassis type: ");
switch (pin_sts) { switch (pin_sts) {
case 0: case 0:
case 4:
printk(BIOS_DEBUG, "MT\n"); printk(BIOS_DEBUG, "MT\n");
break; break;
case 3: case 3:
case 11: case 11:
printk(BIOS_DEBUG, "USFF\n"); printk(BIOS_DEBUG, "USFF\n");
break; break;
case 4:
/* As per table in schematics, but don't know what this is */
printk(BIOS_DEBUG, "Comoros\n");
break;
case 1: case 1:
case 9: case 9:
case 5: case 5:

View File

@ -547,6 +547,7 @@ static uint8_t get_chassis_type(void)
/* This mapping will determine which EC init sequence to use */ /* This mapping will determine which EC init sequence to use */
switch (chassis_id) { switch (chassis_id) {
case 0x0: case 0x0:
case 0x4:
return 5; return 5;
case 0x8: case 0x8:
return 4; return 4;