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 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 92341C43217 for ; Sun, 27 Nov 2022 15:26:46 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 46A1784F24; Sun, 27 Nov 2022 16:26:03 +0100 (CET) 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="WBVJWAx6"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 2CFEA84E45; Sun, 27 Nov 2022 16:25:48 +0100 (CET) Received: from mail-ed1-x52b.google.com (mail-ed1-x52b.google.com [IPv6:2a00:1450:4864:20::52b]) (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 EBC4284508 for ; Sun, 27 Nov 2022 16:25:45 +0100 (CET) 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-ed1-x52b.google.com with SMTP id s5so12344716edc.12 for ; Sun, 27 Nov 2022 07:25:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=konsulko.com; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=zXDvR6evgcLvtfklXOM1Qumx0a3Ipi1lYgm89KuIorc=; b=WBVJWAx6yUUr7TT3Lv+MGIBV1nL26egl4lzAG9NU3z4193yeqRQHCOtiwFPeSL+BsK 7pdkzJ966LV6h/POZWXJdTJ9UWevSk3Fulec8IQY+kg2WDR0F/2xIYF9ZQc1INdkVDko ETpbRcuUEjzN2/eQoerqO5aZd4DHbzpRCLnz4= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=zXDvR6evgcLvtfklXOM1Qumx0a3Ipi1lYgm89KuIorc=; b=l1rN+BgfOu3VUc6nIrDM51F3/hcww6hEUmnbQYrpGRA3RfbtuoW7Rud3/OkBvr3F4H dPWPXjXucBvBAkgNCgKhETKFSTvovgzIYhVzXm1fyhC4PclB7x/7KtuT8Nhsa37yua1g CQJXhkl4OI48Tpajn9wT7mhpk3ctuqWjErVCXKodtTbGa2J/awoIe7CCY0ODZ2VL41rd Eiszz0uESCXBeEAvOOYxOI1oKktF4KJRiP7JObvtTH+pijcNVzR0+7zZ4L90gKa//ViY fkfQ5kEGC4UzUhLFLL0HjZvzdaZmbJM/sgxk9aSmlWUBnjtpyrc4hRkca07HjFj2kGbb NJ5w== X-Gm-Message-State: ANoB5plYP9KezSMepJeiYswBLZgtPggmr5iHdxYToyq0nS7qK3uQo0cO oiF4HRR4ctQIIizaOT+6qbE3xNHz0mTFFQ== X-Google-Smtp-Source: AA0mqf4rphE1SzTEqAx7XUsCCbtQZQbPrZCWkAKkspnEzsxEtET6L+WtGYMZvbkLVM/F/9iR1wO+wQ== X-Received: by 2002:a05:6402:71a:b0:46b:1231:5f77 with SMTP id w26-20020a056402071a00b0046b12315f77mr3241326edx.244.1669562745359; Sun, 27 Nov 2022 07:25:45 -0800 (PST) Received: from bill-the-cat.lan (2603-6081-7b00-6400-dc2c-1c0a-ea3e-04dc.res6.spectrum.com. [2603:6081:7b00:6400:dc2c:1c0a:ea3e:4dc]) by smtp.gmail.com with ESMTPSA id tb6-20020a1709078b8600b007b47749838asm3853036ejc.45.2022.11.27.07.25.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 27 Nov 2022 07:25:45 -0800 (PST) From: Tom Rini To: u-boot@lists.denx.de Cc: Andre Przywara Subject: [PATCH 06/41] sunxi: Move MMC_SUNXI_SLOT to Kconfig Date: Sun, 27 Nov 2022 10:25:01 -0500 Message-Id: <20221127152536.1556469-6-trini@konsulko.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20221127152536.1556469-1-trini@konsulko.com> References: <20221119234545.404563-38-trini@konsulko.com> <20221127152536.1556469-1-trini@konsulko.com> 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 This value is always defined to 0, so move it to Kconfig as being set to always 0. Cc: Andre Przywara C: Icenowy Zheng Signed-off-by: Tom Rini --- arch/arm/mach-sunxi/Kconfig | 4 ++++ include/configs/sunxi-common.h | 3 --- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/arch/arm/mach-sunxi/Kconfig b/arch/arm/mach-sunxi/Kconfig index dbe6005daab1..c311a6d03523 100644 --- a/arch/arm/mach-sunxi/Kconfig +++ b/arch/arm/mach-sunxi/Kconfig @@ -685,6 +685,10 @@ config MMC1_PINS_PH ---help--- Select this option for boards where mmc1 uses the Port H pinmux. +config MMC_SUNXI_SLOT + int + default 0 + config MMC_SUNXI_SLOT_EXTRA int "mmc extra slot number" default -1 diff --git a/include/configs/sunxi-common.h b/include/configs/sunxi-common.h index 1677aafad03b..496139f34635 100644 --- a/include/configs/sunxi-common.h +++ b/include/configs/sunxi-common.h @@ -69,9 +69,6 @@ #define PHYS_SDRAM_0 CFG_SYS_SDRAM_BASE #define PHYS_SDRAM_0_SIZE 0x80000000 /* 2 GiB */ -/* mmc config */ -#define CONFIG_MMC_SUNXI_SLOT 0 - /* * Miscellaneous configurable options */ -- 2.25.1