powerpc: Clean up CHAIN_OF_TRUST related options
authorTom Rini <trini@konsulko.com>
Fri, 17 Jun 2022 20:24:34 +0000 (16:24 -0400)
committerTom Rini <trini@konsulko.com>
Tue, 5 Jul 2022 21:04:15 +0000 (17:04 -0400)
commitf4cd75e96a461e1b138c3af85a4085e2772e4f7c
tree1196eb9c81aa8e2b016764efd5043586eec600c9
parent52aaa1840d226ab9863fd9b64c0a8623abb60706
powerpc: Clean up CHAIN_OF_TRUST related options

As things stand currently, there is only one PowerPC platform that
enables the options for CHAIN_OF_TRUST.  From the board header files,
remove a number of never-set options.  Remove board specific values from
arch/powerpc/include/asm/fsl_secure_boot.h as well.  Rework
include/config_fsl_chain_trust.h to not abuse the CONFIG namespace for
constructing CHAIN_BOOT_CMD.  Migrate all of the configurable addresses
to Kconfig.

If any platforms are re-introduced with secure boot support, everything
required should still be here, but now in Kconfig, or requires migration
of an option to Kconfig.

Cc: Peng Fan <peng.fan@nxp.com>
Signed-off-by: Tom Rini <trini@konsulko.com>
arch/Kconfig.nxp
arch/powerpc/include/asm/fsl_secure_boot.h
board/freescale/common/fsl_chain_of_trust.c
configs/T2080QDS_SECURE_BOOT_defconfig
include/config_fsl_chain_trust.h
include/configs/P1010RDB.h
include/configs/T104xRDB.h
include/configs/corenet_ds.h