From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-16.8 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id C79ABC2B9F2 for ; Sat, 22 May 2021 12:48:55 +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 955BD611AD for ; Sat, 22 May 2021 12:48:54 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 955BD611AD Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=konsulko.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 0424A82E6A; Sat, 22 May 2021 14:48:44 +0200 (CEST) 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 71E1482D5E; Sat, 22 May 2021 14:48:37 +0200 (CEST) Received: from mail-qk1-f179.google.com (mail-qk1-f179.google.com [209.85.222.179]) (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 2114082AF3 for ; Sat, 22 May 2021 14:48:33 +0200 (CEST) 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-qk1-f179.google.com with SMTP id 76so22531749qkn.13 for ; Sat, 22 May 2021 05:48:33 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=mFE87vqZMPnIRzG2Xxmyl4ipD8x/eFYY9refYSKkrdg=; b=Lky/HOOupgkNvtHsLScY91tnfQnWK7bGi2/Xnkq/5dxgxy4tYD9jvf5SBoMNTIMgJR K85rvcatdFBFzgi9kQDZA1BNBKDOkpUlyBIkTwC47adtG26c81RTbeC/F/AT4f0U8/7z qvJ36lzgk8vleHBNUDl5E0SOA+zBTue7QOOuH4RNdN+aEYDhVjtJnxPn5+hx+EAXdKBv jgsW39R1LAIcQ/kDsAZ2bQIW+FvjAKqAL5RvvVmA1/E8kAtUVuk27fAPlCDOPGEbIIqT pLyScLInVMY9rR3MSax01x4ybICnC2Jr5KJYPXK6BMSvWgLq3Ic962nhk1t5z0H58L3w PHhw== X-Gm-Message-State: AOAM5322VhCiwsMn4dLpjyku1EtAcC/hNgyFBfXixLsWWquBoOj/rJN/ jmvLO42gi02ag8yo27oqdktlFwoZ1Q== X-Google-Smtp-Source: ABdhPJwkj5WMZl9tHuMxIl35ERun2TrVjvKVLNbRvUKjHyKibi3JbyARQ0BGAOP+kcsgG3mCa4AK1A== X-Received: by 2002:a37:e113:: with SMTP id c19mr19823846qkm.329.1621687711421; Sat, 22 May 2021 05:48:31 -0700 (PDT) Received: from bill-the-cat.lan (2603-6081-7b01-cbda-11dd-dc5c-4409-3388.res6.spectrum.com. [2603:6081:7b01:cbda:11dd:dc5c:4409:3388]) by smtp.gmail.com with ESMTPSA id z18sm6576940qki.55.2021.05.22.05.48.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 22 May 2021 05:48:30 -0700 (PDT) From: Tom Rini To: u-boot@lists.denx.de Cc: Stefan Roese Subject: [PATCH 02/18] openrd: Perform base CONFIG_DM enablement Date: Sat, 22 May 2021 08:47:01 -0400 Message-Id: <20210522124757.18639-3-trini@konsulko.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20210522124757.18639-1-trini@konsulko.com> References: <20210522124757.18639-1-trini@konsulko.com> 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.102.4 at phobos.denx.de X-Virus-Status: Clean As these boards support CONFIG_OF_CONTROL today, perform a basic CONFIG_DM migration. Cc: Stefan Roese Signed-off-by: Tom Rini --- Checking this on some form of the real hardware would be good, along with likely enabling a bunch of other DM subsystems. --- configs/openrd_base_defconfig | 2 ++ configs/openrd_client_defconfig | 2 ++ configs/openrd_ultimate_defconfig | 2 ++ 3 files changed, 6 insertions(+) diff --git a/configs/openrd_base_defconfig b/configs/openrd_base_defconfig index 3d83b2e80001..b4c7b5dc139e 100644 --- a/configs/openrd_base_defconfig +++ b/configs/openrd_base_defconfig @@ -10,6 +10,7 @@ CONFIG_ENV_SIZE=0x20000 CONFIG_ENV_OFFSET=0x80000 CONFIG_IDENT_STRING="\nOpenRD-Base" CONFIG_DEFAULT_DEVICE_TREE="kirkwood-openrd-base" +# CONFIG_SYS_MALLOC_F is not set CONFIG_SYS_EXTRA_OPTIONS="BOARD_IS_OPENRD_BASE" CONFIG_BOOTDELAY=3 CONFIG_USE_PREBOOT=y @@ -37,6 +38,7 @@ CONFIG_ENV_OVERWRITE=y CONFIG_ENV_IS_IN_NAND=y CONFIG_SYS_RELOC_GD_ENV_ADDR=y CONFIG_NETCONSOLE=y +CONFIG_DM=y # CONFIG_MMC_HW_PARTITIONING is not set CONFIG_MTD=y CONFIG_MTD_RAW_NAND=y diff --git a/configs/openrd_client_defconfig b/configs/openrd_client_defconfig index 4e943b3787c3..e584fd94954d 100644 --- a/configs/openrd_client_defconfig +++ b/configs/openrd_client_defconfig @@ -10,6 +10,7 @@ CONFIG_ENV_SIZE=0x20000 CONFIG_ENV_OFFSET=0x80000 CONFIG_IDENT_STRING="\nOpenRD-Client" CONFIG_DEFAULT_DEVICE_TREE="kirkwood-openrd-client" +# CONFIG_SYS_MALLOC_F is not set CONFIG_SYS_EXTRA_OPTIONS="BOARD_IS_OPENRD_CLIENT" CONFIG_BOOTDELAY=3 CONFIG_USE_PREBOOT=y @@ -37,6 +38,7 @@ CONFIG_ENV_OVERWRITE=y CONFIG_ENV_IS_IN_NAND=y CONFIG_SYS_RELOC_GD_ENV_ADDR=y CONFIG_NETCONSOLE=y +CONFIG_DM=y # CONFIG_MMC_HW_PARTITIONING is not set CONFIG_MTD=y CONFIG_MTD_RAW_NAND=y diff --git a/configs/openrd_ultimate_defconfig b/configs/openrd_ultimate_defconfig index 8c77f2ae1acb..0f569638b151 100644 --- a/configs/openrd_ultimate_defconfig +++ b/configs/openrd_ultimate_defconfig @@ -10,6 +10,7 @@ CONFIG_ENV_SIZE=0x20000 CONFIG_ENV_OFFSET=0x80000 CONFIG_IDENT_STRING="\nOpenRD-Ultimate" CONFIG_DEFAULT_DEVICE_TREE="kirkwood-openrd-ultimate" +# CONFIG_SYS_MALLOC_F is not set CONFIG_SYS_EXTRA_OPTIONS="BOARD_IS_OPENRD_ULTIMATE" CONFIG_BOOTDELAY=3 CONFIG_USE_PREBOOT=y @@ -37,6 +38,7 @@ CONFIG_ENV_OVERWRITE=y CONFIG_ENV_IS_IN_NAND=y CONFIG_SYS_RELOC_GD_ENV_ADDR=y CONFIG_NETCONSOLE=y +CONFIG_DM=y # CONFIG_MMC_HW_PARTITIONING is not set CONFIG_MTD=y CONFIG_MTD_RAW_NAND=y -- 2.17.1