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 AC14EFA3741 for ; Sat, 29 Oct 2022 00:27:37 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id C572D850E8; Sat, 29 Oct 2022 02:27:28 +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="gNwBjjS3"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 5A84D850DF; Sat, 29 Oct 2022 02:27:23 +0200 (CEST) Received: from mail-qk1-x735.google.com (mail-qk1-x735.google.com [IPv6:2607:f8b0:4864:20::735]) (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 20D13850D4 for ; Sat, 29 Oct 2022 02:27:19 +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-x735.google.com with SMTP id k4so1641580qkj.8 for ; Fri, 28 Oct 2022 17:27:19 -0700 (PDT) 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:to:from:from:to:cc:subject:date:message-id :reply-to; bh=p08oPyzLhHi+Yd/JUAE3cpwT25fKvHvhmYkX5g5gXss=; b=gNwBjjS3u0/lx9PWDtpp5kuuGTfeGz6FME88VL8XFfyjrCj2gau0oZZYWcI6tZe3vv mOa8SNSfSzgt+TuZ3zZbGmynqqpQRYUOa8PqYguwZNJa6Om1zgLqYvL79cNPWRWRoLHA DHw7Dv0kxhcWDfRGaLRBqxPKVskhwgKKOMaIQ= 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:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=p08oPyzLhHi+Yd/JUAE3cpwT25fKvHvhmYkX5g5gXss=; b=lUW2oMNwW07e2Zd7jKPTvxV0noa7RcRHdDiwEpb8VFh4j1sZs0ooSXuzDBQ3vygeGo mDTEUe73vnz9Z5KlOyZ0DrfZcFrNaOmgqRfl6XTXiNS33ZZe+i9QNcg4lszuK5EKV6ER o1XQpSaiH466AsbHI719C//4H+V1P9JQtB/FC2VrA9YayfAYmNMc1GxsumyGYvwxLnvH 1r9MnanhTmD0BC2t5S8Cnxe64Rlt7DFlEm72qjTpaOxhCgX0UJn3ta2rNF7ZS/nwVuiY O63i7TnjArsppgAHo/TnhUt+AarwpeyrbS3jLTl4ly5x/YtepBqfI5IzsWMnzxIomk9Y hRyQ== X-Gm-Message-State: ACrzQf0mDb5ZgDKgYmltD3DMkRa5bDlJz32bQsqjO4OTCcCEGNc0Gl7V ThMiaNvdkFxj5ZuDMJjRjws9x+9LDjGajg== X-Google-Smtp-Source: AMsMyM4ROf8HGDo0NE3WPOMe8LbccOD+DIErLzmp/XFfObK61ezFNhDK0s0xtHrtyS9ZzkJ7aRbrqQ== X-Received: by 2002:a05:620a:448c:b0:6ee:d075:2078 with SMTP id x12-20020a05620a448c00b006eed0752078mr1506403qkp.273.1667003237706; Fri, 28 Oct 2022 17:27:17 -0700 (PDT) Received: from bill-the-cat.lan (2603-6081-7b00-6400-21a2-cb17-4547-06d4.res6.spectrum.com. [2603:6081:7b00:6400:21a2:cb17:4547:6d4]) by smtp.gmail.com with ESMTPSA id v7-20020a05622a144700b00398313f286dsm65130qtx.40.2022.10.28.17.27.17 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 28 Oct 2022 17:27:17 -0700 (PDT) From: Tom Rini To: u-boot@lists.denx.de Subject: [PATCH 04/21] Convert CONFIG_SYS_INTERLAKEN et al to Kconfig Date: Fri, 28 Oct 2022 20:26:57 -0400 Message-Id: <20221029002714.1598153-4-trini@konsulko.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20221029002714.1598153-1-trini@konsulko.com> References: <20221029002714.1598153-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 converts the following to Kconfig: CONFIG_SYS_INTERLAKEN CONFIG_SYS_ISA_IO CONFIG_SYS_ISA_IO_BASE_ADDRESS Signed-off-by: Tom Rini --- drivers/rtc/mc146818.c | 2 +- include/configs/T208xQDS.h | 1 - include/configs/T208xRDB.h | 1 - include/configs/T4240RDB.h | 1 - include/configs/edison.h | 3 --- include/configs/malta.h | 2 -- include/configs/x86-common.h | 6 ------ include/mk48t59.h | 4 ++-- 8 files changed, 3 insertions(+), 17 deletions(-) diff --git a/drivers/rtc/mc146818.c b/drivers/rtc/mc146818.c index 71f96e282e82..122691b97842 100644 --- a/drivers/rtc/mc146818.c +++ b/drivers/rtc/mc146818.c @@ -22,7 +22,7 @@ /* Set this to 1 to clear the CMOS RAM */ #define CLEAR_CMOS 0 -#define RTC_PORT_MC146818 CONFIG_SYS_ISA_IO_BASE_ADDRESS + 0x70 +#define RTC_PORT_MC146818 0x70 #define RTC_SECONDS 0x00 #define RTC_SECONDS_ALARM 0x01 #define RTC_MINUTES 0x02 diff --git a/include/configs/T208xQDS.h b/include/configs/T208xQDS.h index 7c83423f99ff..6700560123b7 100644 --- a/include/configs/T208xQDS.h +++ b/include/configs/T208xQDS.h @@ -405,7 +405,6 @@ #define CONFIG_SYS_PMAN #define CONFIG_SYS_DPAA_DCE #define CONFIG_SYS_DPAA_RMAN /* RMan */ -#define CONFIG_SYS_INTERLAKEN #endif /* CONFIG_NOBQFMAN */ #ifdef CONFIG_SYS_DPAA_FMAN diff --git a/include/configs/T208xRDB.h b/include/configs/T208xRDB.h index 78ff50196c2f..4de4a72999e9 100644 --- a/include/configs/T208xRDB.h +++ b/include/configs/T208xRDB.h @@ -359,7 +359,6 @@ #define CONFIG_SYS_PMAN #define CONFIG_SYS_DPAA_DCE #define CONFIG_SYS_DPAA_RMAN /* RMan */ -#define CONFIG_SYS_INTERLAKEN #endif /* CONFIG_NOBQFMAN */ #ifdef CONFIG_SYS_DPAA_FMAN diff --git a/include/configs/T4240RDB.h b/include/configs/T4240RDB.h index 53641fad543a..dc507473b259 100644 --- a/include/configs/T4240RDB.h +++ b/include/configs/T4240RDB.h @@ -366,7 +366,6 @@ #define CONFIG_SYS_PMAN #define CONFIG_SYS_DPAA_DCE #define CONFIG_SYS_DPAA_RMAN -#define CONFIG_SYS_INTERLAKEN #endif /* CONFIG_NOBQFMAN */ #ifdef CONFIG_SYS_DPAA_FMAN diff --git a/include/configs/edison.h b/include/configs/edison.h index 34536ecf8505..c71ef25233bd 100644 --- a/include/configs/edison.h +++ b/include/configs/edison.h @@ -14,7 +14,4 @@ #define CONFIG_SYS_MONITOR_LEN (256 * 1024) -/* RTC */ -#define CONFIG_SYS_ISA_IO_BASE_ADDRESS 0 - #endif diff --git a/include/configs/malta.h b/include/configs/malta.h index 5a42ceef2121..8ffd1f372044 100644 --- a/include/configs/malta.h +++ b/include/configs/malta.h @@ -13,8 +13,6 @@ #define CONFIG_MEMSIZE_IN_BYTES -#define CONFIG_SYS_ISA_IO_BASE_ADDRESS 0 - /* * CPU Configuration */ diff --git a/include/configs/x86-common.h b/include/configs/x86-common.h index 42b2cb2fc85a..8e22d6e5d876 100644 --- a/include/configs/x86-common.h +++ b/include/configs/x86-common.h @@ -18,12 +18,6 @@ /* Generic TPM interfaced through LPC bus */ #define CONFIG_TPM_TIS_BASE_ADDRESS 0xfed40000 -/*----------------------------------------------------------------------- - * Real Time Clock Configuration - */ -#define CONFIG_SYS_ISA_IO_BASE_ADDRESS 0 -#define CONFIG_SYS_ISA_IO CONFIG_SYS_ISA_IO_BASE_ADDRESS - /*----------------------------------------------------------------------- * Serial Configuration */ diff --git a/include/mk48t59.h b/include/mk48t59.h index 5d863ef94160..f95d349c17fb 100644 --- a/include/mk48t59.h +++ b/include/mk48t59.h @@ -11,9 +11,9 @@ #if defined(CONFIG_RTC_MK48T59) && defined(CONFIG_CMD_DATE) -#define RTC_PORT_ADDR0 CONFIG_SYS_ISA_IO + 0x70 +#define RTC_PORT_ADDR0 0x70 #define RTC_PORT_ADDR1 RTC_PORT_ADDR0 + 0x1 -#define RTC_PORT_DATA CONFIG_SYS_ISA_IO + 0x76 +#define RTC_PORT_DATA 0x76 /* RTC Offsets */ #define RTC_SECONDS 0x1FF9 -- 2.25.1