All of lore.kernel.org
 help / color / mirror / Atom feed
From: Zhiqiang Hou <Zhiqiang.Hou@nxp.com>
To: u-boot@lists.denx.de
Subject: [PATCH 05/13] configs: p1_p2_rdb: Add the default address of vsc7385 firmware
Date: Tue,  5 May 2020 19:38:06 +0800	[thread overview]
Message-ID: <20200505113814.39047-6-Zhiqiang.Hou@nxp.com> (raw)
In-Reply-To: <20200505113814.39047-1-Zhiqiang.Hou@nxp.com>

From: Hou Zhiqiang <Zhiqiang.Hou@nxp.com>

Add the environment 'vscfw_addr' to assign a default address for
vsc7385 firmware uploading.

Signed-off-by: Hou Zhiqiang <Zhiqiang.Hou@nxp.com>
---
 include/configs/p1_p2_rdb_pc.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/include/configs/p1_p2_rdb_pc.h b/include/configs/p1_p2_rdb_pc.h
index c42f1a9fce..b2fdf47104 100644
--- a/include/configs/p1_p2_rdb_pc.h
+++ b/include/configs/p1_p2_rdb_pc.h
@@ -460,6 +460,7 @@
 
 /* Vsc7385 switch */
 #ifdef CONFIG_VSC7385_ENET
+#define __VSCFW_ADDR			"vscfw_addr=ef000000"
 #define CONFIG_SYS_VSC7385_BASE		0xffb00000
 
 #ifdef CONFIG_PHYS_64BIT
@@ -813,6 +814,7 @@ i2c mw 18 3 __SW_BOOT_MASK 1; reset
 "ramdisk_size=120000\0"	\
 "map_lowernorbank=i2c dev 1; i2c mw 18 1 02 1; i2c mw 18 3 fd 1\0" \
 "map_uppernorbank=i2c dev 1; i2c mw 18 1 00 1; i2c mw 18 3 fd 1\0" \
+__stringify(__VSCFW_ADDR)"\0" \
 __stringify(__NOR_RST_CMD)"\0" \
 __stringify(__SPI_RST_CMD)"\0" \
 __stringify(__SD_RST_CMD)"\0" \
-- 
2.17.1

  parent reply	other threads:[~2020-05-05 11:38 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-05-05 11:38 [PATCH 00/13] powerpc: covert p1010, p1020 and p2020 RDB board Zhiqiang Hou
2020-05-05 11:38 ` [PATCH 01/13] net: fsl_pq_mdio: Add the compatible "fsl, gianfar-mdio" support Zhiqiang Hou
2020-06-03  6:52   ` Priyanka Jain
2020-06-03  7:02     ` Z.q. Hou
2020-05-05 11:38 ` [PATCH 02/13] net: tsec: Add the compatible string "gianfar" support Zhiqiang Hou
2020-05-05 11:38 ` [PATCH 03/13] powerpc: mpc8xxx: Don't compile cpu_eth_init() when DM_ETH enabled Zhiqiang Hou
2020-05-05 11:38 ` [PATCH 04/13] fsl: p1_p2_rdb: Move vsc7835 firmware uploading to board_early_init_r() Zhiqiang Hou
2020-05-05 11:38 ` Zhiqiang Hou [this message]
2020-05-05 11:38 ` [PATCH 06/13] dts: powerpc: p1020rdb: Add eTSEC DT nodes Zhiqiang Hou
2020-05-05 11:38 ` [PATCH 07/13] powerpc: p1_p2_rdb: Don't compile board_eth_init() when DM_ETH enabled Zhiqiang Hou
2020-05-05 11:38 ` [PATCH 08/13] configs: P1020RDB: Enable DM_ETH config Zhiqiang Hou
2020-05-05 11:38 ` [PATCH 09/13] dts: powerpc: p1010rdb: Add eTSEC DT nodes Zhiqiang Hou
2020-05-05 11:38 ` [PATCH 10/13] powerpc: p1010rdb: Compile legacy ethernet init function when no DM_ETH Zhiqiang Hou
2020-05-05 11:38 ` [PATCH 11/13] configs: P1010RDB: Enable DM_ETH config Zhiqiang Hou
2020-05-05 11:38 ` [PATCH 12/13] dts: powerpc: p2020rdb: Add eTSEC DT nodes Zhiqiang Hou
2020-05-05 11:38 ` [PATCH 13/13] configs: P2020RDB: Enable DM_ETH config Zhiqiang Hou

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=20200505113814.39047-6-Zhiqiang.Hou@nxp.com \
    --to=zhiqiang.hou@nxp.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.