From: Adam Ford <aford173@gmail.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 2/2] arm: omap3_logic: Migrate SMC911X to Kconfig
Date: Tue, 5 Sep 2017 15:20:45 -0500 [thread overview]
Message-ID: <1504642845-3523-2-git-send-email-aford173@gmail.com> (raw)
In-Reply-To: <1504642845-3523-1-git-send-email-aford173@gmail.com>
With SMC911X supported in Kconfig, let's migrate
the Logic PD OMAP3 board.
Signed-off-by: Adam Ford <aford173@gmail.com>
---
configs/omap3_logic_defconfig | 4 ++++
include/configs/omap3_logic.h | 7 -------
2 files changed, 4 insertions(+), 7 deletions(-)
diff --git a/configs/omap3_logic_defconfig b/configs/omap3_logic_defconfig
index 8d0a4d4..07abc55 100644
--- a/configs/omap3_logic_defconfig
+++ b/configs/omap3_logic_defconfig
@@ -40,6 +40,10 @@ CONFIG_MMC_OMAP36XX_PINS=y
CONFIG_NAND=y
CONFIG_SYS_NAND_U_BOOT_LOCATIONS=y
CONFIG_SYS_NAND_U_BOOT_OFFS=0x80000
+CONFIG_NETDEVICES=y
+CONFIG_SMC911X=y
+CONFIG_SMC911X_BASE=0x08000000
+CONFIG_SMC911X_32_BIT=y
CONFIG_SYS_NS16550=y
CONFIG_OMAP3_SPI=y
CONFIG_USB=y
diff --git a/include/configs/omap3_logic.h b/include/configs/omap3_logic.h
index a4a40f4..6b7a2d6 100644
--- a/include/configs/omap3_logic.h
+++ b/include/configs/omap3_logic.h
@@ -242,13 +242,6 @@
#define CONFIG_ENV_OFFSET SMNAND_ENV_OFFSET
#define CONFIG_ENV_ADDR SMNAND_ENV_OFFSET
-/* SMSC922x Ethernet */
-#if defined(CONFIG_CMD_NET)
-#define CONFIG_SMC911X
-#define CONFIG_SMC911X_32_BIT
-#define CONFIG_SMC911X_BASE 0x08000000
-#endif /* (CONFIG_CMD_NET) */
-
/* Defines for SPL */
/* NAND: SPL falcon mode configs */
--
2.7.4
prev parent reply other threads:[~2017-09-05 20:20 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-09-05 20:20 [U-Boot] [PATCH 1/2] net: Add SMC911X driver to Kconfig Adam Ford
2017-09-05 20:20 ` Adam Ford [this message]
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=1504642845-3523-2-git-send-email-aford173@gmail.com \
--to=aford173@gmail.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox