mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Sascha Hauer <s.hauer@pengutronix.de>
To: Barebox List <barebox@lists.infradead.org>
Subject: [PATCH] ARM: omap: remove unused file
Date: Thu, 20 Mar 2025 13:07:34 +0100	[thread overview]
Message-ID: <20250320120734.203685-1-s.hauer@pengutronix.de> (raw)

omap4-devices.h is not included anywhere. Remove the file.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
---
 include/mach/omap/omap4-devices.h | 93 -------------------------------
 1 file changed, 93 deletions(-)
 delete mode 100644 include/mach/omap/omap4-devices.h

diff --git a/include/mach/omap/omap4-devices.h b/include/mach/omap/omap4-devices.h
deleted file mode 100644
index de73062bc5..0000000000
--- a/include/mach/omap/omap4-devices.h
+++ /dev/null
@@ -1,93 +0,0 @@
-/* SPDX-License-Identifier: GPL-2.0-only */
-
-#ifndef __MACH_OMAP4_DEVICES_H
-#define __MACH_OMAP4_DEVICES_H
-
-#include <driver.h>
-#include <linux/sizes.h>
-#include <mach/omap/devices.h>
-#include <mach/omap/omap4-silicon.h>
-#include <mach/omap/mcspi.h>
-#include <mach/omap/omap_hsmmc.h>
-
-static inline void omap44xx_add_sram0(void)
-{
-	return omap_add_sram0(OMAP44XX_SRAM_BASE, 48 * SZ_1K);
-}
-
-static inline struct device *omap44xx_add_uart1(void)
-{
-	return omap_add_uart(0, OMAP44XX_UART1_BASE);
-}
-
-static inline struct device *omap44xx_add_uart2(void)
-{
-	return omap_add_uart(1, OMAP44XX_UART2_BASE);
-}
-
-static inline struct device *omap44xx_add_uart3(void)
-{
-	return omap_add_uart(2, OMAP44XX_UART3_BASE);
-}
-
-static inline struct device *omap44xx_add_mmc1(struct omap_hsmmc_platform_data *pdata)
-{
-	return add_generic_device("omap4-hsmmc", 0, NULL,
-			OMAP44XX_MMC1_BASE, SZ_4K, IORESOURCE_MEM, pdata);
-}
-
-static inline struct device *omap44xx_add_mmc2(struct omap_hsmmc_platform_data *pdata)
-{
-	return add_generic_device("omap4-hsmmc", 1, NULL,
-			OMAP44XX_MMC2_BASE, SZ_4K, IORESOURCE_MEM, pdata);
-}
-
-static inline struct device *omap44xx_add_mmc3(struct omap_hsmmc_platform_data *pdata)
-{
-	return add_generic_device("omap4-hsmmc", 2, NULL,
-			OMAP44XX_MMC3_BASE, SZ_4K, IORESOURCE_MEM, pdata);
-}
-
-static inline struct device *omap44xx_add_mmc4(struct omap_hsmmc_platform_data *pdata)
-{
-	return add_generic_device("omap4-hsmmc", 3, NULL,
-			OMAP44XX_MMC4_BASE, SZ_4K, IORESOURCE_MEM, pdata);
-}
-
-static inline struct device *omap44xx_add_mmc5(struct omap_hsmmc_platform_data *pdata)
-{
-	return add_generic_device("omap4-hsmmc", 4, NULL,
-			OMAP44XX_MMC5_BASE, SZ_4K, IORESOURCE_MEM, pdata);
-}
-
-static inline struct device *omap44xx_add_i2c1(void *pdata)
-{
-	return add_generic_device("i2c-omap4", 0, NULL, OMAP44XX_I2C1_BASE,
-			SZ_4K, IORESOURCE_MEM, pdata);
-}
-
-static inline struct device *omap44xx_add_i2c2(void *pdata)
-{
-	return add_generic_device("i2c-omap4", 1, NULL, OMAP44XX_I2C2_BASE,
-			SZ_4K, IORESOURCE_MEM, pdata);
-}
-
-static inline struct device *omap44xx_add_i2c3(void *pdata)
-{
-	return add_generic_device("i2c-omap4", 2, NULL, OMAP44XX_I2C3_BASE,
-			SZ_4K, IORESOURCE_MEM, pdata);
-}
-
-static inline struct device *omap44xx_add_i2c4(void *pdata)
-{
-	return add_generic_device("i2c-omap4", 3, NULL, OMAP44XX_I2C4_BASE,
-			SZ_4K, IORESOURCE_MEM, pdata);
-}
-
-static inline struct device *omap44xx_add_ehci(void *pdata)
-{
-	return add_usb_ehci_device(DEVICE_ID_DYNAMIC, OMAP44XX_EHCI_BASE,
-				OMAP44XX_EHCI_BASE + 0x10, pdata);
-}
-
-#endif /* __MACH_OMAP4_DEVICES_H */
-- 
2.39.5




             reply	other threads:[~2025-03-20 12:13 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-03-20 12:07 Sascha Hauer [this message]
2025-03-24  8:21 ` Sascha Hauer

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=20250320120734.203685-1-s.hauer@pengutronix.de \
    --to=s.hauer@pengutronix.de \
    --cc=barebox@lists.infradead.org \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox