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 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 smtp.lore.kernel.org (Postfix) with ESMTPS id B2FBDC433FE for ; Fri, 14 Oct 2022 11:50:32 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 54F2384CEC; Fri, 14 Oct 2022 13:50:30 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; unprotected) header.d=konsulko.com header.i=@konsulko.com header.b="c9lSUm4n"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 18ECF84E06; Fri, 14 Oct 2022 13:50:27 +0200 (CEST) Received: from mail-qk1-x72a.google.com (mail-qk1-x72a.google.com [IPv6:2607:f8b0:4864:20::72a]) (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 F3AD084BD2 for ; Fri, 14 Oct 2022 13:50:23 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=trini@konsulko.com Received: by mail-qk1-x72a.google.com with SMTP id s17so1050175qkj.12 for ; Fri, 14 Oct 2022 04:50:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=konsulko.com; s=google; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=vi7ssfc7716/kQhEfFpoMlMrSJXy6dGTj4EDHYGE5P0=; b=c9lSUm4nSpuxuD2W9U2FbC3H/KZKUz5sdE3vIAlmUxv+nU7DZH9BDdCz5TJAetN9uh 520c3TLgFegzROhgRz1z3+Cp4nDrBv/ZdIPQBvV8igq84/RMnzmg2oqmRkawCAW2FprB KKwZdy9Xn4VKGuVxBLOLz9mUDZbDUUHxumw+I= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=vi7ssfc7716/kQhEfFpoMlMrSJXy6dGTj4EDHYGE5P0=; b=fiwXomec1U6zf0cDSckx/IgbAy8rE5pZTOeX1w0Pm2VByywpIg2ve6B0Bx0bPLPN6U LG7GQdL9lcAuL8Ppp3brTSdz/pCuCZdMvLcPhvHapdDiNJZe+WNs/ECSrCrvO1MC95w1 jlWhT2Mi1TR0LzEeQLhpX8bjRjsq88k0UiZgC5b0fQvOb7nP41JZCRndF5q3WWVuEOfJ j7vqC7rF+aAzS1Tp/hKPnGbrK44g/wr9V4uxIjnM73WY0wraTDBd8oKAmlj58f7eWeof AKlD8LiR36qQNMZvFMPAd0IReaNGtmU0IphXjZSSCplKh91EpWr6tcPuMfxCGDRw7ZTO DZrg== X-Gm-Message-State: ACrzQf1J18Ej9A6B7Q5AqB6+T+/znjsw/K6bMbaqCNXbP5Md7w5wfB3M JemKDw96qSDsMnQbcr5PisIVhcTZJO+UQA== X-Google-Smtp-Source: AMsMyM4dbMue9MxmI3oai8M0uQ0v0xRaO5vM48bE9I/+vx9v/XMyrK2wJQpmyCnW60kG8C5rUZoJvg== X-Received: by 2002:a05:620a:858:b0:6ea:8a17:19fd with SMTP id u24-20020a05620a085800b006ea8a1719fdmr3331895qku.397.1665748222476; Fri, 14 Oct 2022 04:50:22 -0700 (PDT) Received: from bill-the-cat.lan (2603-6081-7b00-6400-b049-0e25-0576-9c40.res6.spectrum.com. [2603:6081:7b00:6400:b049:e25:576:9c40]) by smtp.gmail.com with ESMTPSA id i9-20020a05620a404900b006bc192d277csm2353740qko.10.2022.10.14.04.50.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 14 Oct 2022 04:50:21 -0700 (PDT) From: Tom Rini To: u-boot@lists.denx.de Cc: Simon Glass Subject: [PATCH 1/2] core: Enable DM by default Date: Fri, 14 Oct 2022 07:50:19 -0400 Message-Id: <20221014115020.961189-1-trini@konsulko.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 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.6 at phobos.denx.de X-Virus-Status: Clean There are no longer any platforms which do not enable DM, move this to a def_bool y and remove the check in the Makefile. Cc: Simon Glass Signed-off-by: Tom Rini --- Makefile | 8 -------- drivers/core/Kconfig | 2 +- 2 files changed, 1 insertion(+), 9 deletions(-) diff --git a/Makefile b/Makefile index 3866cc62f9a0..7cdd31f772d7 100644 --- a/Makefile +++ b/Makefile @@ -1137,14 +1137,6 @@ ifneq ($(CONFIG_SPL_FIT_GENERATOR),) @echo >&2 "to binman instead, to avoid the proliferation of" @echo >&2 "arch-specific scripts with no tests." @echo >&2 "====================================================" -endif -ifneq ($(CONFIG_DM),y) - @echo >&2 "===================== WARNING ======================" - @echo >&2 "This board does not use CONFIG_DM. CONFIG_DM will be" - @echo >&2 "compulsory starting with the v2020.01 release." - @echo >&2 "Failure to update may result in board removal." - @echo >&2 "See doc/develop/driver-model/migration.rst for more info." - @echo >&2 "====================================================" endif $(call deprecated,CONFIG_WDT,DM watchdog,v2019.10,\ $(CONFIG_WATCHDOG)$(CONFIG_HW_WATCHDOG)) diff --git a/drivers/core/Kconfig b/drivers/core/Kconfig index c9bf5de4332b..0dc442b921c1 100644 --- a/drivers/core/Kconfig +++ b/drivers/core/Kconfig @@ -1,7 +1,7 @@ menu "Generic Driver Options" config DM - bool "Enable Driver Model" + def_bool y help This config option enables Driver Model. This brings in the core support, including scanning of platform data on start-up. If -- 2.25.1