[PATCH next v7 04/12] crypto: aspeed: Add AST2600 HACE support

ChiaWei Wang chiawei_wang at aspeedtech.com
Mon Oct 25 04:40:33 CEST 2021


> From: U-Boot <u-boot-bounces at lists.denx.de> On Behalf Of ChiaWei Wang
> Sent: Thursday, October 21, 2021 9:57 AM
> 
> > From: Dhananjay Phadke <dphadke at 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


More information about the U-Boot mailing list