> From: U-Boot <u-boot-boun...@lists.denx.de> On Behalf Of ChiaWei Wang
> Sent: Thursday, October 21, 2021 9:57 AM
> 
> > From: Dhananjay Phadke <dpha...@linux.microsoft.com>
> > Sent: Thursday, October 21, 2021 9:33 AM
> >
> > On Wed, 20 Oct 2021, Chia-Wei Wang wrote:
> >
> > > +static const struct hash_ops aspeed_hace_ops = {
> > > + .hash_init = aspeed_hace_init,
> > > + .hash_update = aspeed_hace_update,
> > > + .hash_finish = aspeed_hace_finish,
> > > + .hash_digest_wd = aspeed_hace_digest_wd,
> > > + .hash_digest = aspeed_hace_digest, };
> > > +
> > > +static const struct udevice_id aspeed_hace_ids[] = {
> > > + { .compatible = "aspeed,ast2600-hace" },
> > > + { }
> > > +};
> > > +
> >
> > Why only ast2600? Is ast2500 engine different or this driver can also
> > support it?
> 
> The HACE of AST2500 has certain HW issues.
> Therefore we don't enable support for it.

Sorry for the misleading information.

It is the driver compatibility issue instead of AST2500 HW issues.
The HACE design has been revised to support scatter-gather mode and more hash 
algorithms in AST2600.
And this driver is implemented based on the new design and does not fully fit 
AST2500.

This patch series currently focus on AST2600 only as secure boot is supported 
since then.

Chiawei

Reply via email to