siemens/mc_apl1/variants/mc_apl*: Remove unneeded PTN read
An additional read of PTN configuration data at the end of the ptn3460_init function is not necessary. Change-Id: I5f7f647242e94b1af13757d00e80ed9813d435d0 Signed-off-by: Mario Scheithauer <mario.scheithauer@siemens.com> Reviewed-on: https://review.coreboot.org/c/29799 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Werner Zeh <werner.zeh@siemens.com> Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
This commit is contained in:
parent
9df0440c6c
commit
016cc4296e
|
@ -109,12 +109,6 @@ int ptn3460_init(const char *hwi_block)
|
||||||
return (PTN_BUS_ERROR | status);
|
return (PTN_BUS_ERROR | status);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Read PTN configuration data. */
|
|
||||||
status = i2c_read_bytes(PTN_I2C_CONTROLLER, PTN_SLAVE_ADR,
|
|
||||||
PTN_CONFIG_OFF, (uint8_t *)&cfg, sizeof(cfg));
|
|
||||||
if (status)
|
|
||||||
return (PTN_BUS_ERROR | status);
|
|
||||||
|
|
||||||
return PTN_NO_ERROR;
|
return PTN_NO_ERROR;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -110,12 +110,6 @@ int ptn3460_init(const char *hwi_block)
|
||||||
return (PTN_BUS_ERROR | status);
|
return (PTN_BUS_ERROR | status);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Read PTN configuration data. */
|
|
||||||
status = i2c_read_bytes(PTN_I2C_CONTROLLER, PTN_SLAVE_ADR,
|
|
||||||
PTN_CONFIG_OFF, (uint8_t *)&cfg, sizeof(cfg));
|
|
||||||
if (status)
|
|
||||||
return (PTN_BUS_ERROR | status);
|
|
||||||
|
|
||||||
return PTN_NO_ERROR;
|
return PTN_NO_ERROR;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue