X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=include%2Fconfig_fsl_chain_trust.h;h=4f522dbeccb2208b12d63640a5c9e2fe9a802847;hb=f47d1968f794ac11ac9ec63ca15d72d86e99b5cc;hp=40d323e0044c4c8fd4cc21bbcac85e1fdcfa175f;hpb=3c476d841daa491f87c8f07851038afbdf4d90a8;p=oweals%2Fu-boot.git diff --git a/include/config_fsl_chain_trust.h b/include/config_fsl_chain_trust.h index 40d323e004..4f522dbecc 100644 --- a/include/config_fsl_chain_trust.h +++ b/include/config_fsl_chain_trust.h @@ -1,28 +1,11 @@ +/* SPDX-License-Identifier: GPL-2.0+ */ /* * Copyright 2015 Freescale Semiconductor, Inc. - * - * SPDX-License-Identifier: GPL-2.0+ */ #ifndef __CONFIG_FSL_CHAIN_TRUST_H #define __CONFIG_FSL_CHAIN_TRUST_H -/* For secure boot, since ENVIRONMENT in flash/external memories is - * not verified, undef CONFIG_ENV_xxx and set default env - * (CONFIG_ENV_IS_NOWHERE) - */ -#ifdef CONFIG_SECURE_BOOT - -#undef CONFIG_ENV_IS_IN_EEPROM -#undef CONFIG_ENV_IS_IN_NAND -#undef CONFIG_ENV_IS_IN_MMC -#undef CONFIG_ENV_IS_IN_SPI_FLASH -#undef CONFIG_ENV_IS_IN_FLASH - -#define CONFIG_ENV_IS_NOWHERE - -#endif - #ifdef CONFIG_CHAIN_OF_TRUST #ifndef CONFIG_EXTRA_ENV @@ -44,7 +27,7 @@ * "41066b564c6ffcef40ccbc1e0a5d0d519604000c785d97bbefd25e4d288d1c8b" */ -#ifdef CONFIG_BOOTARGS +#ifdef CONFIG_USE_BOOTARGS #define CONFIG_SET_BOOTARGS "setenv bootargs \'" CONFIG_BOOTARGS" \';" #else #define CONFIG_SET_BOOTARGS "setenv bootargs \'root=/dev/ram " \