[U-Boot] [PATCH v2 09/19] tpm: add TPM2_Startup command support
Miquel Raynal
miquel.raynal at bootlin.com
Fri Apr 27 13:45:36 UTC 2018
Hi Simon,
> > enum tpm_physical_presence {
> > TPM_PHYSICAL_PRESENCE_HW_DISABLE = 0x0200,
> > TPM_PHYSICAL_PRESENCE_CMD_DISABLE = 0x0100,
> > @@ -445,7 +469,7 @@ int tpm_get_specification(void);
> > * @param mode TPM startup mode
> > * @return return code of the operation
> > */
> > -uint32_t tpm_startup(enum tpm_startup_type mode);
> > +int tpm_startup(enum tpm_startup_type mode);
>
> How come the change to an int? It's fine, I just want to understand it.
>
Good catch, that is a mistake and has no interest. In the new version I
moved all the functions to be aligned by returning an u32.
Thanks,
Miquèl
--
Miquel Raynal, Bootlin (formerly Free Electrons)
Embedded Linux and Kernel engineering
https://bootlin.com
More information about the U-Boot
mailing list