Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 6CAD5C433F5 for ; Sun, 31 Oct 2021 03:05:52 +0000 (UTC) Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id BB3C060F92 for ; Sun, 31 Oct 2021 03:05:51 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org BB3C060F92 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=konsulko.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=lists.denx.de Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id C55FC835FD; Sun, 31 Oct 2021 04:05:32 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Received: by phobos.denx.de (Postfix, from userid 109) id 788D28314B; Sun, 31 Oct 2021 04:04:23 +0100 (CET) Received: from mail-qv1-f53.google.com (mail-qv1-f53.google.com [209.85.219.53]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 1DE9982128 for ; Sun, 31 Oct 2021 04:04:11 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=tom.rini@gmail.com Received: by mail-qv1-f53.google.com with SMTP id t1so9107335qvb.1 for ; Sat, 30 Oct 2021 20:04:11 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=QOnyjFgGlYnca9zF3IH8172zbXwUEMuqCis/f+eERck=; b=V2d04W8vRYIgXcmyyvUsx64nsRN3KmqIxAMVGWUYeALrs2oeOKEQV0LML9YkzwFqwa OHxKlBftctue+ZHhJtGTkt4UXVMidHgHtLf3vtabd2N2t1E++5fcE2BAG+QeIzQtXyNv ELIhnPqYz7maZC4CWX2n1rGSghqoDgTTpDkF1wkV6wpyzkU6oTTm8mHnJHwh/WyUV6hF sGlpJ5YpoBv8UH1t/W/W4dTNJxwxGsFGN4bJXGWhN4FdUmQchVLkUxObiueSy0YnM8hR ZsJ+oUutyHBeWwDlNg2jWs/Kb9c93plRqt6Iw5qzfS2TyaTL/ZvracG12ZGTWnL96Mct AANA== X-Gm-Message-State: AOAM533zv7RWSwLzYs1PWMd6gJFeUSd1JOO2hOjcNrZ1X70mEyO5zQQG ZzfEkaUR9sgv3AShn7n+rRQpWsBMcg== X-Google-Smtp-Source: ABdhPJxvIS49WjFDzJ8CBREfgC7A595yV+Dx0ywsPJgyCC44XdvBPG0WSIOFEUkx7Lwwew3a1jsHJg== X-Received: by 2002:ad4:40c6:: with SMTP id x6mr3091323qvp.32.1635649449553; Sat, 30 Oct 2021 20:04:09 -0700 (PDT) Received: from bill-the-cat.lan (2603-6081-7b01-cbda-69ae-7072-bc75-c5b7.res6.spectrum.com. [2603:6081:7b01:cbda:69ae:7072:bc75:c5b7]) by smtp.gmail.com with ESMTPSA id g10sm7565291qko.38.2021.10.30.20.04.08 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 30 Oct 2021 20:04:08 -0700 (PDT) From: Tom Rini To: u-boot@lists.denx.de Subject: [PATCH 07/10] Convert CONFIG_OF_EMBED to Kconfig Date: Sat, 30 Oct 2021 23:03:54 -0400 Message-Id: <20211031030357.1240731-7-trini@konsulko.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20211031030357.1240731-1-trini@konsulko.com> References: <20211031030357.1240731-1-trini@konsulko.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.2 at phobos.denx.de X-Virus-Status: Clean This converts the following to Kconfig: CONFIG_OF_EMBED Signed-off-by: Tom Rini --- README | 7 ------- configs/adp-ae3xx_defconfig | 1 + configs/adp-ag101p_defconfig | 1 + include/configs/adp-ae3xx.h | 1 - include/configs/adp-ag101p.h | 1 - include/configs/cgtqmx8.h | 2 -- include/configs/imx8qm_mek.h | 2 -- include/configs/imx8qxp_mek.h | 2 -- 8 files changed, 2 insertions(+), 15 deletions(-) diff --git a/README b/README index 840b192aae50..420513f1bf14 100644 --- a/README +++ b/README @@ -673,13 +673,6 @@ The following options need to be configured: U-Boot needs to get its device tree from somewhere. This can be done using one of the three options below: - CONFIG_OF_EMBED - If this variable is defined, U-Boot will embed a device tree - binary in its image. This device tree file should be in the - board directory and called -.dts. The binary file - is then picked up in board_init_f() and made available through - the global data structure as gd->fdt_blob. - CONFIG_OF_SEPARATE If this variable is defined, U-Boot will build a device tree binary. It will be called u-boot.dtb. Architecture-specific diff --git a/configs/adp-ae3xx_defconfig b/configs/adp-ae3xx_defconfig index cf2535ed6f8e..4b81cdc1c21c 100644 --- a/configs/adp-ae3xx_defconfig +++ b/configs/adp-ae3xx_defconfig @@ -24,6 +24,7 @@ CONFIG_CMD_DATE=y CONFIG_CMD_EXT2=y CONFIG_CMD_FAT=y CONFIG_OF_CONTROL=y +CONFIG_OF_EMBED=y CONFIG_ENV_OVERWRITE=y CONFIG_ENV_IS_IN_SPI_FLASH=y CONFIG_SYS_RELOC_GD_ENV_ADDR=y diff --git a/configs/adp-ag101p_defconfig b/configs/adp-ag101p_defconfig index c1cdb11a7c46..ee87154dadd5 100644 --- a/configs/adp-ag101p_defconfig +++ b/configs/adp-ag101p_defconfig @@ -22,6 +22,7 @@ CONFIG_CMD_DATE=y CONFIG_CMD_EXT2=y CONFIG_CMD_FAT=y CONFIG_OF_CONTROL=y +CONFIG_OF_EMBED=y CONFIG_ENV_OVERWRITE=y CONFIG_ENV_IS_IN_FLASH=y CONFIG_ENV_ADDR=0x80140000 diff --git a/include/configs/adp-ae3xx.h b/include/configs/adp-ae3xx.h index b6a78b1370ef..973033d6b4d5 100644 --- a/include/configs/adp-ae3xx.h +++ b/include/configs/adp-ae3xx.h @@ -24,7 +24,6 @@ #ifdef CONFIG_SKIP_LOWLEVEL_INIT #ifdef CONFIG_OF_CONTROL #undef CONFIG_OF_SEPARATE -#define CONFIG_OF_EMBED #endif #endif diff --git a/include/configs/adp-ag101p.h b/include/configs/adp-ag101p.h index 3e78d5ce1705..f533ada73f47 100644 --- a/include/configs/adp-ag101p.h +++ b/include/configs/adp-ag101p.h @@ -26,7 +26,6 @@ #ifdef CONFIG_SKIP_LOWLEVEL_INIT #ifdef CONFIG_OF_CONTROL #undef CONFIG_OF_SEPARATE -#define CONFIG_OF_EMBED #endif #endif diff --git a/include/configs/cgtqmx8.h b/include/configs/cgtqmx8.h index df9bd90450ee..11b186a3ab7c 100644 --- a/include/configs/cgtqmx8.h +++ b/include/configs/cgtqmx8.h @@ -30,8 +30,6 @@ #define CONFIG_SPL_RAW_IMAGE_ARM_TRUSTED_FIRMWARE #define CONFIG_SPL_ABORT_ON_RAW_IMAGE - -#define CONFIG_OF_EMBED #endif #define CONFIG_REMAKE_ELF diff --git a/include/configs/imx8qm_mek.h b/include/configs/imx8qm_mek.h index 451140ea99dd..d3c3e580acb1 100644 --- a/include/configs/imx8qm_mek.h +++ b/include/configs/imx8qm_mek.h @@ -30,8 +30,6 @@ #define CONFIG_SPL_RAW_IMAGE_ARM_TRUSTED_FIRMWARE #define CONFIG_SPL_ABORT_ON_RAW_IMAGE - -#define CONFIG_OF_EMBED #endif #define CONFIG_REMAKE_ELF diff --git a/include/configs/imx8qxp_mek.h b/include/configs/imx8qxp_mek.h index a7ca48f1f6b9..3b1f957364c9 100644 --- a/include/configs/imx8qxp_mek.h +++ b/include/configs/imx8qxp_mek.h @@ -28,8 +28,6 @@ #define CONFIG_SPL_RAW_IMAGE_ARM_TRUSTED_FIRMWARE #define CONFIG_SPL_ABORT_ON_RAW_IMAGE - -#define CONFIG_OF_EMBED #endif #define CONFIG_REMAKE_ELF -- 2.25.1