From: Simon Glass <sjg@chromium.org>
To: U-Boot Mailing List <u-boot@lists.denx.de>
Cc: Tom Rini <trini@konsulko.com>, Heiko Schocher <hs@denx.de>,
Simon Glass <sjg@chromium.org>,
Markus Niebel <Markus.Niebel@tq-group.com>,
Martyn Welch <martyn.welch@collabora.com>,
Paul Kocialkowski <contact@paulk.fr>,
Philip Richard Oberfichtner <pro@denx.de>,
Rasmus Villemoes <rasmus.villemoes@prevas.dk>,
Sean Anderson <seanga2@gmail.com>,
Svyatoslav Ryhel <clamor95@gmail.com>
Subject: [PATCH 04/20] i2c: Remove CFG_I2C_MULTI_BUS
Date: Thu, 18 Jul 2024 18:35:55 +0100 [thread overview]
Message-ID: <20240718173611.4014274-5-sjg@chromium.org> (raw)
In-Reply-To: <20240718173611.4014274-1-sjg@chromium.org>
This is used by a few boards but we are years past the migration date,
so let's drop it now.
Signed-off-by: Simon Glass <sjg@chromium.org>
---
README | 7 -------
include/configs/omap3_beagle.h | 3 ---
include/configs/sniper.h | 14 --------------
include/configs/tqma6.h | 3 ---
include/i2c.h | 2 +-
5 files changed, 1 insertion(+), 28 deletions(-)
diff --git a/README b/README
index b89768f1791..9fd2aee4b04 100644
--- a/README
+++ b/README
@@ -883,13 +883,6 @@ The following options need to be configured:
You should define these to the GPIO value as given directly to
the generic GPIO functions.
- CFG_I2C_MULTI_BUS
-
- This option allows the use of multiple I2C buses, each of which
- must have a controller. At any point in time, only one bus is
- active. To switch to a different bus, use the 'i2c dev' command.
- Note that bus numbering is zero-based.
-
CFG_SYS_I2C_NOPROBES
This option specifies a list of I2C devices that will be skipped
diff --git a/include/configs/omap3_beagle.h b/include/configs/omap3_beagle.h
index af7cb3513f8..b616dd2608c 100644
--- a/include/configs/omap3_beagle.h
+++ b/include/configs/omap3_beagle.h
@@ -28,9 +28,6 @@
/* NAND: SPL falcon mode configs */
#endif /* CONFIG_MTD_RAW_NAND */
-/* Enable Multi Bus support for I2C */
-#define CFG_I2C_MULTI_BUS
-
/* DSS Support */
/* TWL4030 LED Support */
diff --git a/include/configs/sniper.h b/include/configs/sniper.h
index 45a3102aeee..d0ae5e18605 100644
--- a/include/configs/sniper.h
+++ b/include/configs/sniper.h
@@ -34,20 +34,6 @@
#define CFG_SYS_SDRAM_BASE 0x80000000
-/*
- * I2C
- */
-
-#define CFG_I2C_MULTI_BUS
-
-/*
- * Input
- */
-
-/*
- * SPL
- */
-
/*
* Serial
*/
diff --git a/include/configs/tqma6.h b/include/configs/tqma6.h
index 2da76f15431..ceeed174ec5 100644
--- a/include/configs/tqma6.h
+++ b/include/configs/tqma6.h
@@ -26,9 +26,6 @@
#define TQMA6_SPI_FLASH_SECTOR_SIZE SZ_64K
-/* I2C Configs */
-#define CFG_I2C_MULTI_BUS
-
#if !defined(CONFIG_DM_PMIC)
#define CFG_POWER_PFUZE100_I2C_ADDR 0x08
#define TQMA6_PFUZE100_I2C_BUS 2
diff --git a/include/i2c.h b/include/i2c.h
index 1d3be3f6759..622540c8265 100644
--- a/include/i2c.h
+++ b/include/i2c.h
@@ -942,7 +942,7 @@ unsigned int i2c_get_bus_speed(void);
* only for backwardcompatibility, should go away if we switched
* completely to new multibus support.
*/
-#if CONFIG_IS_ENABLED(SYS_I2C_LEGACY) || defined(CFG_I2C_MULTI_BUS)
+#if CONFIG_IS_ENABLED(SYS_I2C_LEGACY)
# if !defined(CFG_SYS_MAX_I2C_BUS)
# define CFG_SYS_MAX_I2C_BUS 2
# endif
--
2.34.1
next prev parent reply other threads:[~2024-07-18 17:37 UTC|newest]
Thread overview: 28+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-07-18 17:35 [PATCH 00/20] i2c: Chip away at some old code Simon Glass
2024-07-18 17:35 ` [PATCH 01/20] arm: Remove pg_wcom boards Simon Glass
2024-07-19 8:50 ` Anatolij Gustschin
2024-07-19 19:20 ` Anatolij Gustschin
2024-07-18 17:35 ` [PATCH 02/20] i2c: Remove board_i2c_init() Simon Glass
2024-07-18 17:35 ` [PATCH 03/20] i2c: Remove IC2_xxx enum Simon Glass
2024-07-18 17:35 ` Simon Glass [this message]
2024-07-18 17:35 ` [PATCH 05/20] mips: malta: Drop CMD_DATE Simon Glass
2024-07-18 17:35 ` [PATCH 06/20] armv8: ls2085a: " Simon Glass
2024-07-18 17:35 ` [PATCH 07/20] mx28 / mx51: " Simon Glass
2024-07-18 17:35 ` [PATCH 08/20] MPC837XERDB: ethernut5: work_92105: " Simon Glass
2024-07-18 17:36 ` [PATCH 09/20] rtc: Drop CFG_SYS_RTC_BUS_NUM Simon Glass
2024-07-18 17:36 ` [PATCH 10/20] date: Drop the legacy I2C code Simon Glass
2024-07-18 17:36 ` [PATCH 11/20] keymile: Remove use of legacy I2C Simon Glass
2024-07-19 23:36 ` Anatolij Gustschin
2024-07-22 4:10 ` Heiko Schocher
2024-07-18 17:36 ` [PATCH 12/20] i2c: mxc: pg_wcom: Drop legacy I2c Simon Glass
2024-07-18 17:36 ` [PATCH 13/20] i2c: Drop reference to SYS_I2C_INIT_BOARD Simon Glass
2024-07-18 17:36 ` [PATCH 14/20] octeon: Drop OCTEON_I2C_FDT dead code Simon Glass
2024-07-18 17:36 ` [PATCH 15/20] i2c: Remove I2C_SET_BUS() Simon Glass
2024-07-18 17:36 ` [PATCH 16/20] i2c: Remove I2C_GET_BUS() Simon Glass
2024-07-18 17:36 ` [PATCH 17/20] i2c: Drop CFG_SYS_MAX_I2C_BUS Simon Glass
2024-07-18 17:36 ` [PATCH 18/20] i2c: Drop i2c_get_bus_num_fdt() and i2c_reset_port_fdt() Simon Glass
2024-07-18 17:36 ` [PATCH 19/20] i2c: Remove CFG_SYS_I2C_MAX_HOPS Simon Glass
2024-07-18 17:36 ` [PATCH 20/20] i2c: Remove CFG_SYS_I2C_DIRECT_BUS Simon Glass
2024-08-09 18:37 ` [PATCH 00/20] i2c: Chip away at some old code Simon Glass
2024-08-09 18:56 ` Tom Rini
2024-08-09 19:58 ` Anatolij Gustschin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20240718173611.4014274-5-sjg@chromium.org \
--to=sjg@chromium.org \
--cc=Markus.Niebel@tq-group.com \
--cc=clamor95@gmail.com \
--cc=contact@paulk.fr \
--cc=hs@denx.de \
--cc=martyn.welch@collabora.com \
--cc=pro@denx.de \
--cc=rasmus.villemoes@prevas.dk \
--cc=seanga2@gmail.com \
--cc=trini@konsulko.com \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.