From: Bastien Curutchet <bastien.curutchet@bootlin.com>
To: u-boot@lists.denx.de
Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com>,
Tom Rini <trini@konsulko.com>, Lukasz Majewski <lukma@denx.de>,
Peng Fan <peng.fan@nxp.com>,
Jaehoon Chung <jh80.chung@samsung.com>,
Heiko Schocher <hs@nabladev.com>,
Patrice Chotard <patrice.chotard@foss.st.com>,
Anshul Dalal <anshuld@ti.com>,
Heinrich Schuchardt <xypron.glpk@gmx.de>,
Mattijs Korpershoek <mkorpershoek@kernel.org>,
Quentin Schulz <quentin.schulz@cherry.de>,
Andre Przywara <andre.przywara@arm.com>,
Hrushikesh Salunke <h-salunke@ti.com>,
Dario Binacchi <dario.binacchi@amarulasolutions.com>,
Alif Zakuan Yuslaimi <alif.zakuan.yuslaimi@altera.com>,
Casey Connolly <casey.connolly@linaro.org>,
Justin Swartz <justin.swartz@risingedge.co.za>,
Daniel Palmer <daniel@thingy.jp>, Andrew Davis <afd@ti.com>,
Tien Fong Chee <tien.fong.chee@altera.com>,
Rasmus Villemoes <ravi@prevas.dk>,
Neil Armstrong <neil.armstrong@linaro.org>,
Alexey Charkov <alchark@gmail.com>,
Bastien Curutchet <bastien.curutchet@bootlin.com>
Subject: [PATCH 4/6] configs: omap4: remove unused boot target devices
Date: Tue, 19 May 2026 08:45:41 +0200 [thread overview]
Message-ID: <20260519-omap4-support-v1-4-b4a2a7435775@bootlin.com> (raw)
In-Reply-To: <20260519-omap4-support-v1-0-b4a2a7435775@bootlin.com>
This include file isn't used since the omap4 support has been dropped.
Since this support is about to be reintroduced, this file is going to be
used again. The upcoming support is minimal and doesn't include network,
therefore leaving PXE and DHCP in the BOOT_TARGET_DEVICES list would lead
to build errors.
Remove PXE and DHCP from the list of BOOT_TARGET_DEVICES.
Remove the LEGACY_MMC macros and the findfdt script that looks for
no-longer supported boards.
Remove the empty #ifdef XPL_BUILD
Signed-off-by: Bastien Curutchet <bastien.curutchet@bootlin.com>
---
include/configs/ti_omap4_common.h | 40 ---------------------------------------
1 file changed, 40 deletions(-)
diff --git a/include/configs/ti_omap4_common.h b/include/configs/ti_omap4_common.h
index 7a333090b18..e4b84719c86 100644
--- a/include/configs/ti_omap4_common.h
+++ b/include/configs/ti_omap4_common.h
@@ -35,25 +35,9 @@
/*
* Environment setup
*/
-#define BOOTENV_DEV_LEGACY_MMC(devtypeu, devtypel, instance) \
- "bootcmd_" #devtypel #instance "=" \
- "setenv mmcdev " #instance"; "\
- "setenv bootpart " #instance":2 ; "\
- "run mmcboot\0"
-
-#define BOOTENV_DEV_NAME_LEGACY_MMC(devtypeu, devtypel, instance) \
- #devtypel #instance " "
-
-#define BOOTENV_DEV_NAME_NAND(devtypeu, devtypel, instance) \
- #devtypel #instance " "
-
#define BOOT_TARGET_DEVICES(func) \
func(MMC, mmc, 0) \
- func(LEGACY_MMC, legacy_mmc, 0) \
func(MMC, mmc, 1) \
- func(LEGACY_MMC, legacy_mmc, 1) \
- func(PXE, pxe, na) \
- func(DHCP, dhcp, na)
#include <config_distro_bootcmd.h>
#include <env/ti/mmc.h>
@@ -73,30 +57,6 @@
"uimageboot=echo Booting from mmc${mmcdev} ...; " \
"run args_mmc; " \
"bootm ${loadaddr}\0" \
- "findfdt="\
- "if test $board_name = sdp4430; then " \
- "setenv fdtfile omap4-sdp.dtb; fi; " \
- "if test $board_name = panda; then " \
- "setenv fdtfile omap4-panda.dtb; fi;" \
- "if test $board_name = panda-a4; then " \
- "setenv fdtfile omap4-panda-a4.dtb; fi;" \
- "if test $board_name = panda-es; then " \
- "setenv fdtfile omap4-panda-es.dtb; fi;" \
- "if test $board_name = duovero; then " \
- "setenv fdtfile omap4-duovero-parlor.dtb; fi;" \
- "if test $fdtfile = undefined; then " \
- "echo WARNING: Could not determine device tree to use; fi; \0" \
BOOTENV
-/*
- * Defines for SPL
- * It is known that this will break HS devices. Since the current size of
- * SPL is overlapped with public stack and breaking non HS devices to boot.
- * So moving TEXT_BASE down to non-HS limit.
- */
-
-#ifdef CONFIG_XPL_BUILD
-/* No need for i2c in SPL mode as we will use SRI2C for PMIC access on OMAP4 */
-#endif
-
#endif /* __CONFIG_TI_OMAP4_COMMON_H */
--
2.54.0
next prev parent reply other threads:[~2026-05-19 6:46 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-05-19 6:45 [PATCH 0/6] arm: omap: Add back omap4 support Bastien Curutchet
2026-05-19 6:45 ` [PATCH 1/6] arm: omap: Move PRM I2C channel frequency to vc.c Bastien Curutchet
2026-05-19 6:45 ` [PATCH 2/6] arm: ti: omap: Extract common clock definitions Bastien Curutchet
2026-05-19 6:45 ` [PATCH 3/6] clk: ti: Remove AM33xx dependency Bastien Curutchet
2026-05-19 6:45 ` Bastien Curutchet [this message]
2026-05-19 6:45 ` [PATCH 5/6] arm: ti: Introduce back omap4 support Bastien Curutchet
2026-05-19 6:45 ` [PATCH 6/6] board: variscite: add support for the omap4_var_som Bastien Curutchet
2026-05-19 14:03 ` Tom Rini
2026-05-19 14:55 ` Bastien Curutchet
2026-05-19 15:01 ` Tom Rini
2026-05-20 7:03 ` Bastien Curutchet
2026-05-20 14:29 ` Tom Rini
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=20260519-omap4-support-v1-4-b4a2a7435775@bootlin.com \
--to=bastien.curutchet@bootlin.com \
--cc=afd@ti.com \
--cc=alchark@gmail.com \
--cc=alif.zakuan.yuslaimi@altera.com \
--cc=andre.przywara@arm.com \
--cc=anshuld@ti.com \
--cc=casey.connolly@linaro.org \
--cc=daniel@thingy.jp \
--cc=dario.binacchi@amarulasolutions.com \
--cc=h-salunke@ti.com \
--cc=hs@nabladev.com \
--cc=jh80.chung@samsung.com \
--cc=justin.swartz@risingedge.co.za \
--cc=lukma@denx.de \
--cc=mkorpershoek@kernel.org \
--cc=neil.armstrong@linaro.org \
--cc=patrice.chotard@foss.st.com \
--cc=peng.fan@nxp.com \
--cc=quentin.schulz@cherry.de \
--cc=ravi@prevas.dk \
--cc=thomas.petazzoni@bootlin.com \
--cc=tien.fong.chee@altera.com \
--cc=trini@konsulko.com \
--cc=u-boot@lists.denx.de \
--cc=xypron.glpk@gmx.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox