All of lore.kernel.org
 help / color / mirror / Atom feed
From: Christophe Roullier <christophe.roullier@st.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 5/6] stm32mp1: Add Ethernet support for stm32mp1 board
Date: Tue, 5 Mar 2019 11:09:10 +0100	[thread overview]
Message-ID: <1551780552-23339-6-git-send-email-christophe.roullier@st.com> (raw)
In-Reply-To: <1551780552-23339-1-git-send-email-christophe.roullier@st.com>

Add default SERVERIP address
Enable noncached memory region required by ethernet driver
Add PXE support

Signed-off-by: Christophe Roullier <christophe.roullier@st.com>
---

 include/configs/stm32mp1.h | 11 ++++++++++-
 1 file changed, 10 insertions(+), 1 deletion(-)

diff --git a/include/configs/stm32mp1.h b/include/configs/stm32mp1.h
index 701298c..8469529 100644
--- a/include/configs/stm32mp1.h
+++ b/include/configs/stm32mp1.h
@@ -73,12 +73,21 @@
 #define CONFIG_SYS_MMC_MAX_DEVICE	3
 #define CONFIG_SUPPORT_EMMC_BOOT
 
+/* Ethernet need */
+#ifdef CONFIG_DWC_ETH_QOS
+#define CONFIG_SYS_NONCACHED_MEMORY	(1 * SZ_1M)	/* 1M */
+#define CONFIG_SERVERIP                 192.168.1.1
+#define CONFIG_BOOTP_SERVERIP
+#define CONFIG_SYS_AUTOLOAD		"no"
+#endif
+
 #if !defined(CONFIG_SPL) || !defined(CONFIG_SPL_BUILD)
 
 #define BOOT_TARGET_DEVICES(func) \
 	func(MMC, mmc, 1) \
 	func(MMC, mmc, 0) \
-	func(MMC, mmc, 2)
+	func(MMC, mmc, 2) \
+	func(PXE, pxe, na)
 
 #include <config_distro_bootcmd.h>
 
-- 
2.7.4

  parent reply	other threads:[~2019-03-05 10:09 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-03-05 10:09 [U-Boot] [PATCH 0/6] - Add Ethernet support for stm32mpu Christophe Roullier
2019-03-05 10:09 ` [U-Boot] [PATCH 1/6] stm32mp1: clk: use the correct identifier for ethck Christophe Roullier
2019-04-19 15:05   ` Patrick DELAUNAY
2019-03-05 10:09 ` [U-Boot] [PATCH 2/6] board: stm32mp1: Add board_interface_eth_init Christophe Roullier
2019-04-19 15:06   ` Patrick DELAUNAY
2019-03-05 10:09 ` [U-Boot] [PATCH 3/6] net: dwc_eth_qos: add Ethernet stm32mp1 support Christophe Roullier
2019-03-05 10:09 ` [U-Boot] [PATCH 4/6] ARM: dts: stm32: Add Ethernet support on stm32mp1 Christophe Roullier
2019-04-19 15:08   ` Patrick DELAUNAY
2019-03-05 10:09 ` Christophe Roullier [this message]
2019-04-19 15:16   ` [U-Boot] [PATCH 5/6] stm32mp1: Add Ethernet support for stm32mp1 board Patrick DELAUNAY
2019-03-05 10:09 ` [U-Boot] [PATCH 6/6] configs: stm32mp15: Enable Ethernet feature Christophe Roullier
2019-04-19 15:17   ` Patrick DELAUNAY

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=1551780552-23339-6-git-send-email-christophe.roullier@st.com \
    --to=christophe.roullier@st.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.