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:
parent
f7c268c253
commit
0e545b252d
|
@ -64,16 +64,13 @@ static void mainboard_enable(struct device *dev)
|
|||
printk(BIOS_DEBUG, "Chassis type: ");
|
||||
switch (pin_sts) {
|
||||
case 0:
|
||||
case 4:
|
||||
printk(BIOS_DEBUG, "MT\n");
|
||||
break;
|
||||
case 3:
|
||||
case 11:
|
||||
printk(BIOS_DEBUG, "USFF\n");
|
||||
break;
|
||||
case 4:
|
||||
/* As per table in schematics, but don't know what this is */
|
||||
printk(BIOS_DEBUG, "Comoros\n");
|
||||
break;
|
||||
case 1:
|
||||
case 9:
|
||||
case 5:
|
||||
|
|
|
@ -547,6 +547,7 @@ static uint8_t get_chassis_type(void)
|
|||
/* This mapping will determine which EC init sequence to use */
|
||||
switch (chassis_id) {
|
||||
case 0x0:
|
||||
case 0x4:
|
||||
return 5;
|
||||
case 0x8:
|
||||
return 4;
|
||||
|
|
Loading…
Reference in New Issue