crypto: ccp - move setting PSP master to earlier in the init
authorMario Limonciello <mario.limonciello@amd.com>
Fri, 23 Jun 2023 13:49:54 +0000 (08:49 -0500)
committerHerbert Xu <herbert@gondor.apana.org.au>
Thu, 20 Jul 2023 10:13:16 +0000 (22:13 +1200)
commitb8440d55f7d4ad2b669902301c87c482faf9a8f4
treee2a3f329a66c2d7e6a3af59a1e61638fb5b08800
parente938b08ad8cd7b757b7b37e8fb1c20897dd3ec09
crypto: ccp - move setting PSP master to earlier in the init

Dynamic boost control needs to use platform access symbols
that look for the PSP master as part of initialization.

So move the PSP master before psp_init() so that dynamic boost
control can be initialized properly.

Acked-by: Tom Lendacky <thomas.lendacky@amd.com>
Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/ccp/psp-dev.c